Skip to content

Commit

Permalink
Adds release for automated GitOps triggered image builds for KFServing (
Browse files Browse the repository at this point in the history
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
ellistarn authored and k8s-ci-robot committed May 22, 2019
1 parent f23fad3 commit c2f8229
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: kfserving-controller:latest
- image: gcr.io/kfserving/kfserving-controller:latest
name: manager
12 changes: 12 additions & 0 deletions release/README.md
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`

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']

0 comments on commit c2f8229

Please sign in to comment.