Skip to content

Commit

Permalink
add latest tag for katib images (kubeflow#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
hougangliu authored and k8s-ci-robot committed Feb 25, 2019
1 parent 46d2dc7 commit 6b75138
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/scripts/build-earlystopping-median.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/earlystopping/medianstopping/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/earlystopping-medianstopping:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/earlystopping-medianstopping:${VERSION} ${REGISTRY}/${REPO_NAME}/earlystopping-medianstopping:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-manager-rest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ cp -r vendor ${GO_DIR}/vendor
cd ${GO_DIR}
cp cmd/manager-rest/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/vizier-core-rest:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/vizier-core-rest:${VERSION} ${REGISTRY}/${REPO_NAME}/vizier-core-rest:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ cp -r vendor ${GO_DIR}/vendor
cd ${GO_DIR}
cp cmd/manager/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/vizier-core:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/vizier-core:${VERSION} ${REGISTRY}/${REPO_NAME}/vizier-core:latest --verbosity=info
3 changes: 3 additions & 0 deletions test/scripts/build-studyjobctr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ cp -r vendor ${GO_DIR}/vendor
cd ${GO_DIR}
cp cmd/studyjobcontroller/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/studyjob-controller:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/studyjob-controller:${VERSION} ${REGISTRY}/${REPO_NAME}/studyjob-controller:latest --verbosity=info

cd ${GO_DIR}
cp cmd/metricscollector/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/metrics-collector:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/metrics-collector:${VERSION} ${REGISTRY}/${REPO_NAME}/metrics-collector:latest --verbosity=info

cd ${GO_DIR}
cp cmd/tfevent-metricscollector/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/tfevent-metrics-collector:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/tfevent-metrics-collector:${VERSION} ${REGISTRY}/${REPO_NAME}/tfevent-metrics-collector:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-suggestion-bo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/suggestion/bayesianoptimization/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/suggestion-bayesianoptimization:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/suggestion-bayesianoptimization:${VERSION} ${REGISTRY}/${REPO_NAME}/suggestion-bayesianoptimization:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-suggestion-grid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/suggestion/grid/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/suggestion-grid:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/suggestion-grid:${VERSION} ${REGISTRY}/${REPO_NAME}/suggestion-grid:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-suggestion-hyperband.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/suggestion/hyperband/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/suggestion-hyperband:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/suggestion-hyperband:${VERSION} ${REGISTRY}/${REPO_NAME}/suggestion-hyperband:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-suggestion-nasrl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/suggestion/nasrl/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/suggestion-nasrl:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/suggestion-nasrl:${VERSION} ${REGISTRY}/${REPO_NAME}/suggestion-nasrl:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-suggestion-random.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cd ${GO_DIR}

cp cmd/suggestion/random/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/suggestion-random:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/suggestion-random:${VERSION} ${REGISTRY}/${REPO_NAME}/suggestion-random:latest --verbosity=info
1 change: 1 addition & 0 deletions test/scripts/build-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ cp -r vendor ${GO_DIR}/vendor
cd ${GO_DIR}
cp cmd/ui/Dockerfile .
gcloud builds submit . --tag=${REGISTRY}/${REPO_NAME}/katib-ui:${VERSION} --project=${PROJECT}
gcloud container images add-tag --quiet ${REGISTRY}/${REPO_NAME}/katib-ui:${VERSION} ${REGISTRY}/${REPO_NAME}/katib-ui:latest --verbosity=info

0 comments on commit 6b75138

Please sign in to comment.