diff --git a/.github/workflows/bash_formatter.yaml b/.github/workflows/bash_formatter.yaml new file mode 100644 index 0000000000..fd1d254bf6 --- /dev/null +++ b/.github/workflows/bash_formatter.yaml @@ -0,0 +1,40 @@ +name: Proper Formatting on bash files + +on: [push, pull_request] + +jobs: + format_bash_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install ShellCheck + run: sudo apt install -y shellcheck + + - name: Bash Formatting Guidelines + run: | + echo "### Bash Files Formatting Guidelines ### + If there are errors and warnings regarding your bash files, + You can check that error code definitions in https://www.shellcheck.net/wiki/ site. + You can correct them using the https://www.shellcheck.net/ site. + You have to ignore disable errors in .shellcheckrc file. + " + + - name: Fetch master branch + run: git fetch origin master + + - name: Set up changed files + run: | + git diff --name-only origin/master...HEAD | grep -E '^.*\.sh$' | grep -v '^apps/' > changed_files_in_PR.txt || true + + - name: Display changed files + run: cat changed_files_in_PR.txt + + - name: Run ShellCheck on changed files + run: | + cat changed_files_in_PR.txt | xargs -I {} shellcheck {} + shell: bash + + diff --git a/.github/workflows/python_formatter.yaml b/.github/workflows/python_formatter.yaml new file mode 100644 index 0000000000..ba470cad84 --- /dev/null +++ b/.github/workflows/python_formatter.yaml @@ -0,0 +1,32 @@ +name: Proper Formatting on Python files + +on: [push, pull_request] + +jobs: + format_python_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Python Files Formatting Guidelines + run: | + echo "### Python Files Formatting Guidelines ### + If there is a formatting errors in your python files, + 1. First install black + It requires Python 3.8+ to run. + Install with "pip install black" and if you use pipx, install Black with "pipx install black" + If you want to format Jupyter Notebooks, install with pip install "black[jupyter]" + + 2. Run the command + "python -m black {source_file_or_directory}" or + "black {source_file_or_directory}" + to format python files. + " + + - uses: psf/black@stable + with: + src: | + ./common + ./example + + \ No newline at end of file diff --git a/.github/workflows/yaml_formatter.yaml b/.github/workflows/yaml_formatter.yaml new file mode 100644 index 0000000000..dca73409d4 --- /dev/null +++ b/.github/workflows/yaml_formatter.yaml @@ -0,0 +1,59 @@ +name: Proper Formatting on YAML files + +on: [push, pull_request] + +jobs: + format_YAML_files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install yamllint + run: pip install yamllint + + - name: YAML Formatting Guidelines + run: | + echo "### YAML Formatting Guidelines ### + If there is a formatting error in your YAML file, you will see errors like the one below: + 'Error: 6:4 [indentation] wrong indentation: expected 2 but found 3' + + To fix these errors, refer to the YAML formatting rules at: + https://yamllint.readthedocs.io/en/stable/rules.html# + + Search for the keyword inside the brackets [] in the error message. In this example, it's 'indentation'. + + Note: Some rules have been customized in the '.yamllint.yaml' file. Below is the content of that file: + + extends: default + + rules: + document-start: + present: false + document-end: + present: false + indentation: + indent-sequences: false + line-length: + max: 400 + " + + - name: Fetch master branch + run: git fetch origin master + + - name: Set up changed files + run: | + git diff --name-only origin/master...HEAD | grep -E '^common/.*\.ya?ml$|^example/.*\.ya?ml$' > changed_files_in_PR.txt || true + + - name: Display changed files + run: cat changed_files_in_PR.txt + + - name: Run yamllint on changed files + run: | + chmod +x ./run_yamllint.sh + ./run_yamllint.sh + shell: bash + + + diff --git a/apps/admission-webhook/upstream/base/kustomization.yaml b/apps/admission-webhook/upstream/base/kustomization.yaml index 2b70cdaeb4..04fe85de8c 100644 --- a/apps/admission-webhook/upstream/base/kustomization.yaml +++ b/apps/admission-webhook/upstream/base/kustomization.yaml @@ -16,7 +16,7 @@ commonLabels: images: - name: docker.io/kubeflownotebookswg/poddefaults-webhook newName: docker.io/kubeflownotebookswg/poddefaults-webhook - newTag: v1.9.0-rc.2 + newTag: v1.9.0 namespace: kubeflow generatorOptions: disableNameSuffixHash: true diff --git a/apps/centraldashboard/upstream/base/kustomization.yaml b/apps/centraldashboard/upstream/base/kustomization.yaml index 99cdab21b1..08f70ab264 100644 --- a/apps/centraldashboard/upstream/base/kustomization.yaml +++ b/apps/centraldashboard/upstream/base/kustomization.yaml @@ -13,7 +13,7 @@ resources: images: - name: docker.io/kubeflownotebookswg/centraldashboard newName: docker.io/kubeflownotebookswg/centraldashboard - newTag: v1.9.0-rc.2 + newTag: v1.9.0 configMapGenerator: - envs: - params.env diff --git a/apps/jupyter/jupyter-web-app/upstream/base/kustomization.yaml b/apps/jupyter/jupyter-web-app/upstream/base/kustomization.yaml index c03654976b..ec62bdd747 100644 --- a/apps/jupyter/jupyter-web-app/upstream/base/kustomization.yaml +++ b/apps/jupyter/jupyter-web-app/upstream/base/kustomization.yaml @@ -23,7 +23,7 @@ commonLabels: images: - name: docker.io/kubeflownotebookswg/jupyter-web-app newName: docker.io/kubeflownotebookswg/jupyter-web-app - newTag: v1.9.0-rc.2 + newTag: v1.9.0 # We need the name to be unique without the suffix because the original name is what # gets used with patches configMapGenerator: diff --git a/apps/jupyter/notebook-controller/upstream/base/kustomization.yaml b/apps/jupyter/notebook-controller/upstream/base/kustomization.yaml index a6b02fd248..435cd898cc 100644 --- a/apps/jupyter/notebook-controller/upstream/base/kustomization.yaml +++ b/apps/jupyter/notebook-controller/upstream/base/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: docker.io/kubeflownotebookswg/notebook-controller newName: docker.io/kubeflownotebookswg/notebook-controller - newTag: v1.9.0 + newTag: v1.9.0 \ No newline at end of file diff --git a/apps/katib/upstream/components/controller/trial-templates.yaml b/apps/katib/upstream/components/controller/trial-templates.yaml index 371d63849e..13193d2149 100644 --- a/apps/katib/upstream/components/controller/trial-templates.yaml +++ b/apps/katib/upstream/components/controller/trial-templates.yaml @@ -15,7 +15,7 @@ data: spec: containers: - name: training-container - image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0 command: - "python3" - "/opt/pytorch-mnist/mnist.py" @@ -33,7 +33,7 @@ data: spec: containers: - name: training-container - image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.17.0 command: - python3 - -u @@ -54,7 +54,7 @@ data: spec: containers: - name: pytorch - image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0 command: - "python3" - "/opt/pytorch-mnist/mnist.py" @@ -68,7 +68,7 @@ data: spec: containers: - name: pytorch - image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/pytorch-mnist-cpu:v0.17.0 command: - "python3" - "/opt/pytorch-mnist/mnist.py" diff --git a/apps/katib/upstream/installs/katib-cert-manager/katib-config.yaml b/apps/katib/upstream/installs/katib-cert-manager/katib-config.yaml index 419dc60ab6..08464d17ed 100644 --- a/apps/katib/upstream/installs/katib-cert-manager/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-cert-manager/katib-config.yaml @@ -14,40 +14,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -56,4 +56,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-cert-manager/kustomization.yaml b/apps/katib/upstream/installs/katib-cert-manager/kustomization.yaml index 87d217ffe9..670b72d0b6 100644 --- a/apps/katib/upstream/installs/katib-cert-manager/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-cert-manager/kustomization.yaml @@ -22,13 +22,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 patchesStrategicMerge: - patches/katib-cert-injection.yaml diff --git a/apps/katib/upstream/installs/katib-external-db/katib-config.yaml b/apps/katib/upstream/installs/katib-external-db/katib-config.yaml index 7fc6860950..1773b0123f 100644 --- a/apps/katib/upstream/installs/katib-external-db/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-external-db/katib-config.yaml @@ -16,40 +16,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -58,4 +58,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-external-db/kustomization.yaml b/apps/katib/upstream/installs/katib-external-db/kustomization.yaml index 05e239a78b..e8f9a95cdd 100644 --- a/apps/katib/upstream/installs/katib-external-db/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-external-db/kustomization.yaml @@ -18,13 +18,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 patchesStrategicMerge: - patches/db-manager.yaml # Modify katib-mysql-secrets with parameters for the DB. diff --git a/apps/katib/upstream/installs/katib-leader-election/katib-config.yaml b/apps/katib/upstream/installs/katib-leader-election/katib-config.yaml index 901e633adc..31d51bbf64 100644 --- a/apps/katib/upstream/installs/katib-leader-election/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-leader-election/katib-config.yaml @@ -17,40 +17,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -59,4 +59,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-openshift/katib-config.yaml b/apps/katib/upstream/installs/katib-openshift/katib-config.yaml index 419dc60ab6..08464d17ed 100644 --- a/apps/katib/upstream/installs/katib-openshift/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-openshift/katib-config.yaml @@ -14,40 +14,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -56,4 +56,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-openshift/kustomization.yaml b/apps/katib/upstream/installs/katib-openshift/kustomization.yaml index af40e9ac51..f98c9638a2 100644 --- a/apps/katib/upstream/installs/katib-openshift/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-openshift/kustomization.yaml @@ -30,13 +30,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 patchesJson6902: # Annotate Service to delegate TLS-secret generation to OpenShift service controller diff --git a/apps/katib/upstream/installs/katib-standalone-postgres/katib-config.yaml b/apps/katib/upstream/installs/katib-standalone-postgres/katib-config.yaml index 7fc6860950..1773b0123f 100644 --- a/apps/katib/upstream/installs/katib-standalone-postgres/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-standalone-postgres/katib-config.yaml @@ -16,40 +16,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -58,4 +58,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-standalone-postgres/kustomization.yaml b/apps/katib/upstream/installs/katib-standalone-postgres/kustomization.yaml index 48054c5f44..fa70306aff 100644 --- a/apps/katib/upstream/installs/katib-standalone-postgres/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-standalone-postgres/kustomization.yaml @@ -20,13 +20,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 patchesJson6902: - target: group: apps diff --git a/apps/katib/upstream/installs/katib-standalone/katib-config.yaml b/apps/katib/upstream/installs/katib-standalone/katib-config.yaml index 7fc6860950..1773b0123f 100644 --- a/apps/katib/upstream/installs/katib-standalone/katib-config.yaml +++ b/apps/katib/upstream/installs/katib-standalone/katib-config.yaml @@ -16,40 +16,40 @@ init: runtime: metricsCollectors: - kind: StdOut - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: File - image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/file-metrics-collector:v0.17.0 - kind: TensorFlowEvent - image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/tfevent-metrics-collector:v0.17.0 resources: limits: memory: 1Gi suggestions: - algorithmName: random - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: tpe - image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperopt:v0.17.0 - algorithmName: grid - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: hyperband - image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-hyperband:v0.17.0 - algorithmName: bayesianoptimization - image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-skopt:v0.17.0 - algorithmName: cmaes - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: sobol - image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-goptuna:v0.17.0 - algorithmName: multivariate-tpe - image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-optuna:v0.17.0 - algorithmName: enas - image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-enas:v0.17.0 resources: limits: memory: 400Mi - algorithmName: darts - image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-darts:v0.17.0 - algorithmName: pbt - image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/suggestion-pbt:v0.17.0 persistentVolumeClaimSpec: accessModes: - ReadWriteMany @@ -58,4 +58,4 @@ runtime: storage: 5Gi earlyStoppings: - algorithmName: medianstop - image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0-rc.1 + image: docker.io/kubeflowkatib/earlystopping-medianstop:v0.17.0 diff --git a/apps/katib/upstream/installs/katib-standalone/kustomization.yaml b/apps/katib/upstream/installs/katib-standalone/kustomization.yaml index 24857c5733..146a5e6877 100644 --- a/apps/katib/upstream/installs/katib-standalone/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-standalone/kustomization.yaml @@ -20,13 +20,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 configMapGenerator: - name: katib-config behavior: create diff --git a/apps/katib/upstream/installs/katib-with-kubeflow/kustomization.yaml b/apps/katib/upstream/installs/katib-with-kubeflow/kustomization.yaml index 018c9ef43e..621651b15d 100644 --- a/apps/katib/upstream/installs/katib-with-kubeflow/kustomization.yaml +++ b/apps/katib/upstream/installs/katib-with-kubeflow/kustomization.yaml @@ -11,13 +11,13 @@ resources: images: - name: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager - newTag: v0.17.0-rc.1 + newTag: v0.17.0 - name: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui - newTag: v0.17.0-rc.1 + newTag: v0.17.0 patchesStrategicMerge: - patches/remove-namespace.yaml diff --git a/apps/profiles/upstream/base/kustomization.yaml b/apps/profiles/upstream/base/kustomization.yaml index 0d29098f03..c6a15a0bf9 100644 --- a/apps/profiles/upstream/base/kustomization.yaml +++ b/apps/profiles/upstream/base/kustomization.yaml @@ -12,7 +12,7 @@ patchesStrategicMerge: images: - name: docker.io/kubeflownotebookswg/profile-controller newName: docker.io/kubeflownotebookswg/profile-controller - newTag: v1.9.0-rc.2 + newTag: v1.9.0 configMapGenerator: - name: namespace-labels-data diff --git a/apps/profiles/upstream/overlays/kubeflow/kustomization.yaml b/apps/profiles/upstream/overlays/kubeflow/kustomization.yaml index e68ee70492..1b8fba691c 100644 --- a/apps/profiles/upstream/overlays/kubeflow/kustomization.yaml +++ b/apps/profiles/upstream/overlays/kubeflow/kustomization.yaml @@ -29,4 +29,4 @@ vars: images: - name: docker.io/kubeflownotebookswg/kfam newName: docker.io/kubeflownotebookswg/kfam - newTag: v1.9.0-rc.2 + newTag: v1.9.0 diff --git a/apps/pvcviewer-controller/upstream/base/kustomization.yaml b/apps/pvcviewer-controller/upstream/base/kustomization.yaml index 4eb0ae99ac..259b701ef7 100644 --- a/apps/pvcviewer-controller/upstream/base/kustomization.yaml +++ b/apps/pvcviewer-controller/upstream/base/kustomization.yaml @@ -6,4 +6,4 @@ resources: images: - name: docker.io/kubeflownotebookswg/pvcviewer-controller newName: docker.io/kubeflownotebookswg/pvcviewer-controller - newTag: v1.9.0-rc.2 + newTag: v1.9.0 diff --git a/apps/tensorboard/tensorboard-controller/upstream/base/kustomization.yaml b/apps/tensorboard/tensorboard-controller/upstream/base/kustomization.yaml index c16af71f59..0a651adf84 100644 --- a/apps/tensorboard/tensorboard-controller/upstream/base/kustomization.yaml +++ b/apps/tensorboard/tensorboard-controller/upstream/base/kustomization.yaml @@ -14,4 +14,4 @@ patchesStrategicMerge: images: - name: docker.io/kubeflownotebookswg/tensorboard-controller newName: docker.io/kubeflownotebookswg/tensorboard-controller - newTag: v1.9.0-rc.2 + newTag: v1.9.0 diff --git a/apps/tensorboard/tensorboards-web-app/upstream/base/kustomization.yaml b/apps/tensorboard/tensorboards-web-app/upstream/base/kustomization.yaml index 3d6596f1f3..366638beec 100644 --- a/apps/tensorboard/tensorboards-web-app/upstream/base/kustomization.yaml +++ b/apps/tensorboard/tensorboards-web-app/upstream/base/kustomization.yaml @@ -14,7 +14,7 @@ commonLabels: images: - name: docker.io/kubeflownotebookswg/tensorboards-web-app newName: docker.io/kubeflownotebookswg/tensorboards-web-app - newTag: v1.9.0-rc.2 + newTag: v1.9.0 # We need the name to be unique without the suffix because the original name is what # gets used with patches configMapGenerator: diff --git a/apps/training-operator/upstream/overlays/kubeflow/kustomization.yaml b/apps/training-operator/upstream/overlays/kubeflow/kustomization.yaml index 71ce5ef7b5..f4dabc273e 100644 --- a/apps/training-operator/upstream/overlays/kubeflow/kustomization.yaml +++ b/apps/training-operator/upstream/overlays/kubeflow/kustomization.yaml @@ -6,7 +6,7 @@ resources: - kubeflow-training-roles.yaml images: - name: kubeflow/training-operator - newTag: "v1-4485b0a" + newTag: "v1-9e52eb7" # TODO (tenzen-y): Once we support cert-manager, we need to remove this secret generation. # REF: https://github.com/kubeflow/training-operator/issues/2049 secretGenerator: diff --git a/apps/training-operator/upstream/overlays/standalone/kustomization.yaml b/apps/training-operator/upstream/overlays/standalone/kustomization.yaml index 0ecb165a23..0a6eb6ffbe 100644 --- a/apps/training-operator/upstream/overlays/standalone/kustomization.yaml +++ b/apps/training-operator/upstream/overlays/standalone/kustomization.yaml @@ -6,7 +6,7 @@ resources: - namespace.yaml images: - name: kubeflow/training-operator - newTag: "v1-4485b0a" + newTag: "v1-9e52eb7" secretGenerator: - name: training-operator-webhook-cert options: diff --git a/apps/volumes-web-app/upstream/base/kustomization.yaml b/apps/volumes-web-app/upstream/base/kustomization.yaml index c2343baa1c..e81cdf755a 100644 --- a/apps/volumes-web-app/upstream/base/kustomization.yaml +++ b/apps/volumes-web-app/upstream/base/kustomization.yaml @@ -14,7 +14,7 @@ commonLabels: images: - name: docker.io/kubeflownotebookswg/volumes-web-app newName: docker.io/kubeflownotebookswg/volumes-web-app - newTag: v1.9.0-rc.2 + newTag: v1.9.0 # We need the name to be unique without the suffix because the original name is what # gets used with patches configMapGenerator: diff --git a/hack/synchronize-katib-manifests.sh b/hack/synchronize-katib-manifests.sh index d1cd5409c8..1edcdbaaa1 100644 --- a/hack/synchronize-katib-manifests.sh +++ b/hack/synchronize-katib-manifests.sh @@ -15,7 +15,7 @@ set -euxo pipefail IFS=$'\n\t' -COMMIT="v0.17.0-rc.0" # You can use tags as well +COMMIT="v0.17.0" # You can use tags as well SRC_DIR=${SRC_DIR:=/tmp/kubeflow-katib} BRANCH=${BRANCH:=synchronize-kubeflow-katib-manifests-${COMMIT?}} @@ -69,8 +69,8 @@ cp $SRC_DIR/katib/manifests/v1beta1 $DST_DIR -r echo "Successfully copied all manifests." echo "Updating README..." -SRC_TXT="\[.*\](https://github.com/kubeflow/katib/tree/.*/manifests/kustomize)" -DST_TXT="\[$COMMIT\](https://github.com/kubeflow/katib/tree/$COMMIT/manifests/kustomize)" +SRC_TXT="\[.*\](https://github.com/kubeflow/katib/tree/.*/manifests/v1beta1)" +DST_TXT="\[$COMMIT\](https://github.com/kubeflow/katib/tree/$COMMIT/manifests/v1beta1)" sed -i "s|$SRC_TXT|$DST_TXT|g" ${MANIFESTS_DIR}/README.md diff --git a/hack/synchronize-kserve-web-app-manifests.sh b/hack/synchronize-kserve-web-app-manifests.sh index beabded784..20954bd3cb 100644 --- a/hack/synchronize-kserve-web-app-manifests.sh +++ b/hack/synchronize-kserve-web-app-manifests.sh @@ -11,7 +11,7 @@ # repository, based on that local branch -COMMIT="0.13.0-rc.0" # You can use tags as well +COMMIT="0.13.0" # You can use tags as well SRC_DIR=${SRC_DIR:=/tmp/kserve-models-web-app} BRANCH=${BRANCH:=synchronize-kserve-web-app-manifests-${COMMIT?}} diff --git a/hack/synchronize-kubeflow-manifests.sh b/hack/synchronize-kubeflow-manifests.sh index 96c5154f47..71bbe3e4a8 100644 --- a/hack/synchronize-kubeflow-manifests.sh +++ b/hack/synchronize-kubeflow-manifests.sh @@ -14,7 +14,7 @@ set -euo pipefail IFS=$'\n\t' -COMMIT="v1.9.0-rc.2" # You can use tags as well +COMMIT="v1.9.0" # You can use tags as well SRC_DIR=${SRC_DIR:=/tmp/kubeflow-kubeflow} BRANCH=${BRANCH:=synchronize-kubeflow-kubeflow-manifests-${COMMIT?}} diff --git a/hack/synchronize-training-operator-manifests.sh b/hack/synchronize-training-operator-manifests.sh index 49f69080fb..4ea9aafb48 100644 --- a/hack/synchronize-training-operator-manifests.sh +++ b/hack/synchronize-training-operator-manifests.sh @@ -15,7 +15,7 @@ set -euxo pipefail IFS=$'\n\t' -COMMIT="v1.8.0-rc.1" # You can use tags as well +COMMIT="v1.8.0" # You can use tags as well SRC_DIR=${SRC_DIR:=/tmp/kubeflow-training-operator} BRANCH=${BRANCH:=synchronize-kubeflow-training-operator-manifests-${COMMIT?}}