-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Split up image cache configuration * Split up build cache configuration * Add registy/image based cache * Remove unused buildCacheName arg * Update documentation * Add basic registry-cache e2e test * Fix duplicate import * Fix unmatched quotes * Add home volume to restore step * Allow build.cache to be nil * Persist cache image in build * Use cache image digest if present * Move changes to buildapi from v1alpha1 to v1alpha2 Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com> Co-authored-by: Johannes Dillmann <j.dillmann@sap.com> Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
- Loading branch information
1 parent
33c4d25
commit 590aba5
Showing
23 changed files
with
586 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
pack build europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/webhook --builder gcr.io/cf-build-service-public/ci/tiny-builder -e BP_GO_TARGETS=./cmd/controller --publish --trust-builder | ||
docker pull europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/webhook | ||
kubectl -n kpack set image deploy/kpack-webhook webhook=`docker inspect --format='{{index .RepoDigests 0}}' europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/webhook` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
pack build europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/controller --builder gcr.io/cf-build-service-public/ci/tiny-builder -e BP_GO_TARGETS=./cmd/controller --publish --trust-builder | ||
docker pull europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/controller | ||
kubectl -n kpack set image deploy/kpack-controller controller=`docker inspect --format='{{index .RepoDigests 0}}' europe-west3-docker.pkg.dev/sap-se-gcp-istio-dev/public/kpack-667/controller` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.