forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds release for automated GitOps triggered image builds for KFServing (
kubeflow#99) * Adds release for automated GitOps triggered image builds for KFServing * Updates to using latest tag * Updated manager.yaml to include correct image
- Loading branch information
1 parent
f23fad3
commit c2f8229
Showing
3 changed files
with
20 additions
and
1 deletion.
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
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,12 @@ | ||
# Release Process | ||
KFServing's automated release processes run in Google Cloud Build under the project `kfserving`. For permissions to this project, please contact ellisbigelow@google.com. | ||
|
||
Builds are available at https://console.cloud.google.com/cloud-build/builds?project=kfserving. | ||
To view builds, you must be a member of kubeflow-discuss@googlegroups.com. | ||
|
||
## Latest Release | ||
KFServing's release process relies on Github build triggers in Google Cloud Build. This build trigger was configured manually to execute the configurations in cloud-build-configs. For each build config, whenever a change is made to this repository, a Cloud Build is triggered which rebuilds all relevant images with a tag and pushes them to `gcr.io/kfserving`. For example, `kfserving-controller.cloud-build.yaml` will result in an image called `gcr.io/kfserving/kfserving-controller:latest` | ||
|
||
## Versioned Releases | ||
This process is currently TBD, but we will eventually provide releases of the form `gcr.io/kfserving/$IMAGE_NAME:$GIT_BRANCH` | ||
|
7 changes: 7 additions & 0 deletions
7
release/cloud-build-configs/kfserving-controller.cloud-build.yaml
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,7 @@ | ||
steps: | ||
- name: 'gcr.io/cloud-builders/go' | ||
args: ['install', './cmd/manager'] | ||
env: ['PROJECT_ROOT=github.com/kubeflow/kfserving'] | ||
- name: 'gcr.io/cloud-builders/docker' | ||
args: ['build', '-t', 'gcr.io/kfserving/kfserving-controller:latest', '.'] | ||
images: ['gcr.io/kfserving/kfserving-controller:latest'] |