Skip to content

Commit

Permalink
Define a v0.8 release
Browse files Browse the repository at this point in the history
* Update applications.yaml with a v0.8 release.

* The purpose of this PR is to check that just by defining the appropriate
  release we can begin building images from release branches and updating
  the release branch of kubeflow/manifests

* Related to kubeflow#450 - Continuous delivery of Kubeflow applications
  • Loading branch information
Jeremy Lewi committed Jan 22, 2020
1 parent 59bdeae commit 4daf2a5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
23 changes: 23 additions & 0 deletions apps-cd/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,28 @@ versions:
params:
- name: revision
value: master
- name: url
value: git@github.com:kubeflow/manifests.git
# Define a v0-8 release
# This is primarily so we can test that the CI/CD infrastructure is workin
# with release branches. We don't plan on actually releasing 0.8
- name: v0-8
# A tag to prefix image names with
tag: "v0.8.0"
repos:
- name: kubeflow
resourceSpec:
type: git
params:
- name: revision
value: v0.8-branch
- name: url
value: git@github.com:kubeflow/kubeflow.git
- name: manifests
resourceSpec:
type: git
params:
- name: revision
value: v0.8-branch
- name: url
value: git@github.com:kubeflow/manifests.git
6 changes: 5 additions & 1 deletion apps-cd/pipelines/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ spec:
- run
# repo_dir is the directory where kubeflow testing should be checked out to
- --repo_dir=/launcher_src/kubeflow/testing
- --repo=https://github.com/kubeflow/testing.git
# repo is the code to check out to get the configuration as well as code for
# launching the applications
#- --repo=https://github.com/kubeflow/testing.git
# TODO(jlewi): Do not submit this is only for debugging
- --repo=https://github.com/jlewi/testing.git?ref=cicd_0.8
# Extra arguments to be passed to update_kf_apps.py
- --namespace=kf-releasing
- --config=/launcher_src/kubeflow/testing/apps-cd/applications.yaml
Expand Down
5 changes: 3 additions & 2 deletions apps-cd/pipelines/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: gcr.io/kubeflow-releasing/update_kf_apps
newName: gcr.io/kubeflow-releasing/update_kf_apps
- digest: sha256:3c9360314639724f4b5e1b675673186b9bad726852b2bc1d5bd14951b6ffd26c
name: gcr.io/kubeflow-releasing/update_kf_apps
newName: gcr.io/kubeflow-releasing/update_kf_apps:043da55-dirty
resources:
- service-account.yaml
- deployment.yaml
Expand Down

0 comments on commit 4daf2a5

Please sign in to comment.