Skip to content

Commit

Permalink
Incorporate Build into Elafros. (knative#36)
Browse files Browse the repository at this point in the history
* Incorporate Build into Elafros.

This copies over the Build type definitions and generates clients for them.

This incorporates BuildSpec into RevisionTemplate and BuildName into Revision.

A RevisionTemplate with a BuildSpec will stamp out a Build during reconciliation, and feed the resulting BuildName to the Revision.

The Revision will reflect the Build's progress in its Status, and stand up resources upon completion.

Fixes: knative#7
  • Loading branch information
mattmoor authored Jan 31, 2018
1 parent 2688340 commit f043be2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build --workspace_status_command=./print-workspace-status.sh
run --workspace_status_command=./print-workspace-status.sh
test --test_output=errors
14 changes: 11 additions & 3 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ k8s_objects(
],
)

# All of our stuff goes here.
k8s_objects(
name = "everything",
name = "elafros",
objects = [
# We depend on Istio.
":istio",
":namespace",
":authz",
":crds",
Expand All @@ -97,3 +96,12 @@ k8s_objects(
":elawebhookservice",
],
)

k8s_objects(
name = "everything",
objects = [
":istio", # We depend on Istio.
# TODO(mattmoor): Add the Build stuff here once we can import it properly.
":elafros",
],
)

0 comments on commit f043be2

Please sign in to comment.