Skip to content

Commit

Permalink
Move from mlkube-testing to kubeflow-ci for test-infra (#65)
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
Ankush Agarwal authored and k8s-ci-robot committed Mar 29, 2018
1 parent 9744268 commit 1c72cf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/workflows/components/params.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
workflows: {
bucket: "mlkube-testing_temp",
bucket: "kubeflow-ci_temp",
name: "kubeflow-examples-presubmit-test-374-6e32",
namespace: "kubeflow-test-infra",
prow: "JOB_NAME=kubeflow-examples-presubmit-test,JOB_TYPE=presubmit,PULL_NUMBER=209,REPO_NAME=examples,REPO_OWNER=kubeflow,BUILD_NUMBER=997a",
Expand Down
12 changes: 6 additions & 6 deletions test/workflows/components/workflows.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
local srcRootDir = testDir + "/src";
// The directory containing the kubeflow/examples repo
local srcDir = srcRootDir + "/kubeflow/examples";
local image = "gcr.io/mlkube-testing/test-worker";
local image = "gcr.io/kubeflow-ci/test-worker";
// The name of the NFS volume claim to use for test files.
// local nfsVolumeClaim = "kubeflow-testing";
local nfsVolumeClaim = "nfs-external";
Expand All @@ -48,18 +48,18 @@
local kubeflowExamplesPy = srcDir;
local kubeflowTestingPy = srcRootDir + "/kubeflow/testing/py";

local project = "mlkube-testing";
local project = "kubeflow-ci";
// GKE cluster to use
// We need to truncate the cluster to no more than 40 characters because
// cluster names can be a max of 40 characters.
// We expect the suffix of the cluster name to be unique salt.
// We prepend a z because cluster name must start with an alphanumeric character
// and if we cut the prefix we might end up starting with "-" or other invalid
// character for first character.
local cluster =
local cluster =
if std.length(name) > 40 then
"z" + std.substr(name, std.length(name) - 39, 39)
else
else
name;
local zone = "us-east1-d";
local chart = srcDir + "/bin/examples-chart-0.2.1-" + versionTag + ".tgz";
Expand Down Expand Up @@ -209,7 +209,7 @@
"kubeflow.testing.py_checks",
"test",
"--src_dir=" + srcDir,
"--project=mlkube-testing",
"--project=" + project,
"--junit_path=" + artifactsDir + "/junit_pycheckstest.xml",
]), // py test
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("py-lint", [
Expand All @@ -218,7 +218,7 @@
"kubeflow.testing.py_checks",
"lint",
"--src_dir=" + srcDir,
"--project=mlkube-testing",
"--project=" + project,
"--junit_path=" + artifactsDir + "/junit_pycheckslint.xml",
]), // py lint
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("create-pr-symlink", [
Expand Down

0 comments on commit 1c72cf9

Please sign in to comment.