Skip to content

Commit

Permalink
chore: bump Katib ROCKs version 0.15.0 -> 0.16.0-rc.1 for CKF release…
Browse files Browse the repository at this point in the history
… 1.8 (#33)

Bumped all ROCKs with following exceptions:
- `cert-generator` ROCK is completely removed since corresponding component 
was consolidated into `katib-controller` component. See kubeflow/katib#2185
- `katib-ui-rock` needs to be rewritten since it is now based on wrong Dockerfile. Thus,
no changes were introduced in this ROCK. See #32
- `katib-db-manager`: Diverged from upstream by keeping binary for GRPC 
health checks
  • Loading branch information
orfeas-k committed Sep 29, 2023
1 parent 3c7321f commit b4025fc
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 134 deletions.
40 changes: 0 additions & 40 deletions cert-generator/rockcraft.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions earlystopping-medianstop/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/tree/master/cmd/earlystopping/medianstop/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/earlystopping/medianstop/v1beta1/Dockerfile
name: earlystopping-medianstop
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: Early stopping algorithm for katib.
description: |
The median stopping rule stops a pending trial X at step S if the trial’s best
Expand All @@ -26,7 +26,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/earlystopping/medianstop/v1beta1
Expand All @@ -45,7 +45,7 @@ parts:
earlystopping-medianstop:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand Down
6 changes: 3 additions & 3 deletions file-metrics-collector/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/metricscollector/v1beta1/file-metricscollector
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/metricscollector/v1beta1/file-metricscollector/Dockerfile
name: file-metrics-collector
summary: Metrics collector for file info for Katib.
description: |
Collects metrics from specified file.
version: v0.15.0_22.04_1
version: v0.16.0_22.04_1
license: Apache-2.0
build-base: ubuntu:22.04
base: bare
Expand All @@ -22,7 +22,7 @@ parts:
plugin: go
source: https://github.com/kubeflow/katib
source-type: git
source-tag: v0.15.0
source-tag: v0.16.0-rc.1
build-snaps:
- go
stage-packages:
Expand Down
6 changes: 3 additions & 3 deletions katib-controller/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/katib-controller/v1beta1/Dockerfile
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/katib-controller/v1beta1/Dockerfile
name: katib-controller
summary: Katib AutoML Controller
description: |
Expand All @@ -8,7 +8,7 @@ description: |
Katib can perform training jobs using any Kubernetes Custom Resources with out of the box support for Kubeflow Training Operator, Argo Workflows, Tekton Pipelines and many more.
version: v0.15.0_22.04_1
version: v0.16.0_22.04_1
license: Apache-2.0
build-base: ubuntu:22.04
base: bare
Expand All @@ -27,7 +27,7 @@ parts:
plugin: go
source: https://github.com/kubeflow/katib
source-type: git
source-tag: v0.15.0
source-tag: v0.16.0-rc.1
build-snaps:
- go
stage-packages:
Expand Down
6 changes: 3 additions & 3 deletions katib-db-manager/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/katib-controller/v1beta1/Dockerfile
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/db-manager/v1beta1/Dockerfile
name: katib-db-manager
summary: Katib DB Controller
description: |
Katib database manager.
version: v0.15.0_22.04_1
version: v0.16.0_22.04_1
license: Apache-2.0
build-base: ubuntu:22.04
base: bare
Expand All @@ -23,7 +23,7 @@ parts:
plugin: go
source: https://github.com/kubeflow/katib
source-type: git
source-tag: v0.15.0
source-tag: v0.16.0-rc.1
build-snaps:
- go
stage-packages:
Expand Down
2 changes: 1 addition & 1 deletion katib-ui-rock/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://github.com/kubeflow/katib/blob/v0.15.0/cmd/ui/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/ui/v1beta1
name: katib-ui
summary: Katib UI
description: |
Expand Down
2 changes: 1 addition & 1 deletion suggestion-enas/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Based on https://github.com/kubeflow/katib/blob/v0.16.0/cmd/suggestion/nas/enas/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/nas/enas/v1beta1/Dockerfile
name: suggestion-enas
base: ubuntu:22.04
version: 'v0.16.0_22.04_1'
Expand Down
19 changes: 4 additions & 15 deletions suggestion-hyperband/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/suggestion/hyperband/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/hyperband/v1beta1/Dockerfile
name: suggestion-hyperband
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: "Katib Suggestion Hyperband"
description: |
Katib suggestion Hyperband. Hyperband focuses on early stopping as a strategy for optimizing resource allocation.
Expand All @@ -24,7 +24,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/suggestion/hyperband/v1beta1
Expand All @@ -43,7 +43,7 @@ parts:
suggestion-hyperband:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand All @@ -55,17 +55,6 @@ parts:
- opt/katib/cmd/suggestion/hyperband/v1beta1/main.py
- opt/katib/cmd/suggestion/hyperband/v1beta1/requirements.txt

# health check
grpc-health-check:
plugin: dump
source: https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.15/grpc_health_probe-linux-amd64
source-type: file
organize:
grpc_health_probe-linux-amd64: bin/grpc_health_probe
override-stage: |
craftctl default
chmod +x ${CRAFT_STAGE}/bin/grpc_health_probe
security-team-requirement:
plugin: nil
override-build: |
Expand Down
19 changes: 4 additions & 15 deletions suggestion-hyperopt/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/suggestion/hyperopt/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/hyperopt/v1beta1/Dockerfile
name: suggestion-hyperopt
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: "Katib Suggestion Hyperopt"
description: |
Ktibe Suggetion Hyperopt. Hyperopt is a Python library for serial and parallel optimization over awkward search spaces, which may include real-valued, discrete, and conditional dimensions.
Expand All @@ -24,7 +24,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/suggestion/hyperopt/v1beta1
Expand All @@ -43,7 +43,7 @@ parts:
suggestion-hyperopt:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand All @@ -55,17 +55,6 @@ parts:
- opt/katib/cmd/suggestion/hyperopt/v1beta1/main.py
- opt/katib/cmd/suggestion/hyperopt/v1beta1/requirements.txt

# health check
grpc-health-check:
plugin: dump
source: https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.15/grpc_health_probe-linux-amd64
source-type: file
organize:
grpc_health_probe-linux-amd64: bin/grpc_health_probe
override-stage: |
craftctl default
chmod +x ${CRAFT_STAGE}/bin/grpc_health_probe
security-team-requirement:
plugin: nil
override-build: |
Expand Down
19 changes: 4 additions & 15 deletions suggestion-optuna/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/suggestion/optuna/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/optuna/v1beta1/Dockerfile
name: suggestion-optuna
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: "Katib Suggestion Optuna"
description: |
Katib Suggestion Optuna. Optuna is an automatic hyperparameter optimization software framework, particularly designed for machine learning.
Expand All @@ -24,7 +24,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/suggestion/optuna/v1beta1
Expand All @@ -43,7 +43,7 @@ parts:
suggestion-optuna:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand All @@ -55,17 +55,6 @@ parts:
- opt/katib/cmd/suggestion/optuna/v1beta1/main.py
- opt/katib/cmd/suggestion/optuna/v1beta1/requirements.txt

# health check
grpc-health-check:
plugin: dump
source: https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.15/grpc_health_probe-linux-amd64
source-type: file
organize:
grpc_health_probe-linux-amd64: bin/grpc_health_probe
override-stage: |
craftctl default
chmod +x ${CRAFT_STAGE}/bin/grpc_health_probe
security-team-requirement:
plugin: nil
override-build: |
Expand Down
19 changes: 4 additions & 15 deletions suggestion-pbt/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/suggestion/pbt/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/pbt/v1beta1/Dockerfile
name: suggestion-pbt
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: "Katib Suggestion PBT"
description: |
Katib Suggestion PBT. Population Based Training, a simple asynchronous optimisation algorithm which effectively utilises a fixed computational budget to jointly optimise a population of models and their hyperparameters to maximise performance.
Expand All @@ -24,7 +24,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/suggestion/pbt/v1beta1
Expand All @@ -43,7 +43,7 @@ parts:
suggestion-pbt:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand All @@ -55,17 +55,6 @@ parts:
- opt/katib/cmd/suggestion/pbt/v1beta1/main.py
- opt/katib/cmd/suggestion/pbt/v1beta1/requirements.txt

# health check
grpc-health-check:
plugin: dump
source: https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.15/grpc_health_probe-linux-amd64
source-type: file
organize:
grpc_health_probe-linux-amd64: bin/grpc_health_probe
override-stage: |
craftctl default
chmod +x ${CRAFT_STAGE}/bin/grpc_health_probe
security-team-requirement:
plugin: nil
override-build: |
Expand Down
19 changes: 4 additions & 15 deletions suggestion-skopt/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Based on https://github.com/kubeflow/katib/blob/v0.15.0/cmd/suggestion/skopt/v1beta1
# Based on https://github.com/kubeflow/katib/blob/v0.16.0-rc.1/cmd/suggestion/skopt/v1beta1/Dockerfile
name: suggestion-skopt
base: ubuntu:22.04
version: 'v0.15.0_22.04_1'
version: 'v0.16.0_22.04_1'
summary: "Katib Suggestion skopt"
description: |
Katib Suggestion skopt. Scikit-Optimize, or skopt, is a simple and efficient library to minimize expensive and noisy black-box functions. It implements several methods for sequential model-based optimization.
Expand All @@ -24,7 +24,7 @@ parts:
requirements-and-deps:
plugin: python
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
source-subdir: cmd/suggestion/skopt/v1beta1
Expand All @@ -43,7 +43,7 @@ parts:
suggestion-skopt:
plugin: dump
source: https://github.com/kubeflow/katib.git
source-tag: "v0.15.0"
source-tag: "v0.16.0-rc.1"
source-depth: 1
source-type: git
organize:
Expand All @@ -55,17 +55,6 @@ parts:
- opt/katib/cmd/suggestion/skopt/v1beta1/main.py
- opt/katib/cmd/suggestion/skopt/v1beta1/requirements.txt

# health check
grpc-health-check:
plugin: dump
source: https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.15/grpc_health_probe-linux-amd64
source-type: file
organize:
grpc_health_probe-linux-amd64: bin/grpc_health_probe
override-stage: |
craftctl default
chmod +x ${CRAFT_STAGE}/bin/grpc_health_probe
security-team-requirement:
plugin: nil
override-build: |
Expand Down
Loading

0 comments on commit b4025fc

Please sign in to comment.