Skip to content

Commit 7be1f0a

Browse files
authored
Use release tags for Trial images (#1757)
* Update all Trial image tags to latest * Modify tags in Notebooks * Rename script * Script changes * Few changes * Add other images * Modify test script * Finish test script * Modify release script * Finish release script * Few changes
1 parent a2b5dae commit 7be1f0a

37 files changed

+158
-189
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ ifeq ($(and $(BRANCH),$(TAG)),)
7878
endif
7979
bash scripts/v1beta1/release.sh $(BRANCH) $(TAG)
8080

81+
# Update all Katib images.
82+
update-images:
83+
ifeq ($(and $(OLD_PREFIX),$(NEW_PREFIX),$(TAG)),)
84+
$(error OLD_PREFIX, NEW_PREFIX, and TAG must be set. \
85+
Usage: make update-images OLD_PREFIX=<old-prefix> NEW_PREFIX=<new-prefix> TAG=<tag> \
86+
For more information, check this file: scripts/v1beta1/update-images.sh)
87+
endif
88+
bash scripts/v1beta1/update-images.sh $(OLD_PREFIX) $(NEW_PREFIX) $(TAG)
89+
8190
# Prettier UI format check for Katib v1beta1.
8291
prettier-check:
8392
npm run format:check --prefix pkg/new-ui/v1beta1/frontend

docs/images-location.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The following table shows images for the
6666
</tr>
6767
<tr align="center">
6868
<td>
69-
<code>docker.io/kubeflowkatib/katib-cert-generator</code>
69+
<code>docker.io/kubeflowkatib/cert-generator</code>
7070
</td>
7171
<td>
7272
Katib Cert Generator

examples/v1beta1/argo/argo-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ spec:
7575
- name: num-examples
7676
container:
7777
name: model-training
78-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
78+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
7979
command:
8080
- "python3"
8181
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/early-stopping/median-stop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ spec:
5353
spec:
5454
containers:
5555
- name: training-container
56-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
56+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
5757
command:
5858
- "python3"
5959
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/bayesian-optimization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
spec:
5757
containers:
5858
- name: training-container
59-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
59+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
6060
command:
6161
- "python3"
6262
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/cma-es.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
spec:
5757
containers:
5858
- name: training-container
59-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
59+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
6060
command:
6161
- "python3"
6262
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/grid.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
spec:
5555
containers:
5656
- name: training-container
57-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
57+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
5858
command:
5959
- "python3"
6060
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/hyperband.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
spec:
6969
containers:
7070
- name: training-container
71-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
71+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
7272
command:
7373
- "python3"
7474
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/multivariate-tpe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ spec:
5353
spec:
5454
containers:
5555
- name: training-container
56-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
56+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
5757
command:
5858
- "python3"
5959
- "/opt/mxnet-mnist/mnist.py"

examples/v1beta1/hp-tuning/random.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ spec:
5353
spec:
5454
containers:
5555
- name: training-container
56-
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-45c5727
56+
image: docker.io/kubeflowkatib/mxnet-mnist:latest
5757
command:
5858
- "python3"
5959
- "/opt/mxnet-mnist/mnist.py"

0 commit comments

Comments
 (0)