Skip to content

Commit d528a62

Browse files
andreyvelichsperlingxx
authored andcommitted
Modify new algorithm service doc (kubeflow#1198)
* Add step to new algorithm service doc to modify check Katib ready script * Add link to script
1 parent ac2681d commit d528a62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/new-algorithm-service.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,13 @@ To add a e2e test for the new algorithm, in [test/scripts/v1alpha3](../test/scri
149149

150150
2. Create a new script `build-suggestion-xxx.sh` to build new suggestion. Here is an example [test/scripts/v1alpha3/build-suggestion-hyperopt.sh](../test/scripts/v1alpha3/build-suggestion-hyperopt.sh).
151151

152-
3. Create a new script `run-suggestion-xxx.sh` to run new suggestion. Below is an example (Replace `<name>` with the new algorithm name):
152+
3. Update [`check-katib-ready.sh`](../test/scripts/v1alpha3/check-katib-ready.sh) script to modify `katib-config.yaml` with the new test suggestion image name. We use `gcr.io/kubeflow-ci` registry to run presubmit tests. For example (Replace `<name>` with the new suggestion name):
153+
154+
```
155+
sed -i -e "s@gcr.io\/kubeflow-images-public\/katib\/v1alpha3\/suggestion-<name>@${REGISTRY}\/${REPO_NAME}\/v1alpha3\/suggestion-<name>@" manifests/v1alpha3/katib-controller/katib-config.yaml
156+
```
157+
158+
4. Create a new script `run-suggestion-xxx.sh` to run new suggestion. Below is an example (Replace `<name>` with the new algorithm name):
153159

154160
```bash
155161
#!/bin/bash

0 commit comments

Comments
 (0)