Skip to content

Commit

Permalink
Migrate katib to new test-infra (#1423)
Browse files Browse the repository at this point in the history
* Migrate katib to new test-infra

* Roll back test worker image

* Roll back all the changes

* Wrap integer

* Remove DDL and TTL configuration and use default

* Migrate to new aws account's configuration

* Clean up comment
  • Loading branch information
Yao Xiao authored Jan 28, 2021
1 parent 26bcfea commit 6219737
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion prow_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ workflows:
- scripts/v1beta1/*
- vendor/*
- prow_config.yaml
- Makefile
params:
registry: 527798164940.dkr.ecr.us-west-2.amazonaws.com
registry: 809251082950.dkr.ecr.us-west-2.amazonaws.com
11 changes: 4 additions & 7 deletions test/workflows/components/workflows-v1beta1.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
local kubeflowTestingPy = srcRootDir + "/kubeflow/testing/py";

// testWorkerImage is the main worker image to execute workflow.
local testWorkerImage = "527798164940.dkr.ecr.us-west-2.amazonaws.com/aws-kubeflow-ci/test-worker:latest";
local testWorkerImage = "public.ecr.aws/j1r0q0g6/kubeflow-testing:latest";
// kanikoExecutorImage is the image for Kaniko to build Katib images.
local kanikoExecutorImage = "gcr.io/kaniko-project/executor:v1.0.0";
// pythonImage is the image to run Katib Python unit test.
Expand Down Expand Up @@ -80,13 +80,12 @@
buildTemplate(step_name, image, command):: {
name: step_name,
// Each container can be alive for 40 minutes.
activeDeadlineSeconds: 2400,
retryStrategy: {
limit: 3,
limit: "3",
retryPolicy: "Always",
backoff: {
duration: 1,
factor: 2,
duration: "1",
factor: "2",
maxDuration: "1m",
},
},
Expand Down Expand Up @@ -178,8 +177,6 @@
},
spec: {
entrypoint: "e2e",
// Cleanup workflow after 5 days.
ttlSecondsAfterFinished: 432000,
volumes: [
{
name: "github-token",
Expand Down

0 comments on commit 6219737

Please sign in to comment.