mirror of https://github.com/kubeflow/examples.git
Move from mlkube-testing to kubeflow-ci for test-infra (#65)
Fixes https://github.com/kubeflow/examples/issues/63
This commit is contained in:
parent
97442684ea
commit
1c72cf942f
|
|
@ -7,7 +7,7 @@
|
||||||
// Component-level parameters, defined initially from 'ks prototype use ...'
|
// Component-level parameters, defined initially from 'ks prototype use ...'
|
||||||
// Each object below should correspond to a component in the components/ directory
|
// Each object below should correspond to a component in the components/ directory
|
||||||
workflows: {
|
workflows: {
|
||||||
bucket: "mlkube-testing_temp",
|
bucket: "kubeflow-ci_temp",
|
||||||
name: "kubeflow-examples-presubmit-test-374-6e32",
|
name: "kubeflow-examples-presubmit-test-374-6e32",
|
||||||
namespace: "kubeflow-test-infra",
|
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",
|
prow: "JOB_NAME=kubeflow-examples-presubmit-test,JOB_TYPE=presubmit,PULL_NUMBER=209,REPO_NAME=examples,REPO_OWNER=kubeflow,BUILD_NUMBER=997a",
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
local srcRootDir = testDir + "/src";
|
local srcRootDir = testDir + "/src";
|
||||||
// The directory containing the kubeflow/examples repo
|
// The directory containing the kubeflow/examples repo
|
||||||
local srcDir = srcRootDir + "/kubeflow/examples";
|
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.
|
// The name of the NFS volume claim to use for test files.
|
||||||
// local nfsVolumeClaim = "kubeflow-testing";
|
// local nfsVolumeClaim = "kubeflow-testing";
|
||||||
local nfsVolumeClaim = "nfs-external";
|
local nfsVolumeClaim = "nfs-external";
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
local kubeflowExamplesPy = srcDir;
|
local kubeflowExamplesPy = srcDir;
|
||||||
local kubeflowTestingPy = srcRootDir + "/kubeflow/testing/py";
|
local kubeflowTestingPy = srcRootDir + "/kubeflow/testing/py";
|
||||||
|
|
||||||
local project = "mlkube-testing";
|
local project = "kubeflow-ci";
|
||||||
// GKE cluster to use
|
// GKE cluster to use
|
||||||
// We need to truncate the cluster to no more than 40 characters because
|
// We need to truncate the cluster to no more than 40 characters because
|
||||||
// cluster names can be a max of 40 characters.
|
// cluster names can be a max of 40 characters.
|
||||||
|
|
@ -56,10 +56,10 @@
|
||||||
// We prepend a z because cluster name must start with an alphanumeric character
|
// 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
|
// and if we cut the prefix we might end up starting with "-" or other invalid
|
||||||
// character for first character.
|
// character for first character.
|
||||||
local cluster =
|
local cluster =
|
||||||
if std.length(name) > 40 then
|
if std.length(name) > 40 then
|
||||||
"z" + std.substr(name, std.length(name) - 39, 39)
|
"z" + std.substr(name, std.length(name) - 39, 39)
|
||||||
else
|
else
|
||||||
name;
|
name;
|
||||||
local zone = "us-east1-d";
|
local zone = "us-east1-d";
|
||||||
local chart = srcDir + "/bin/examples-chart-0.2.1-" + versionTag + ".tgz";
|
local chart = srcDir + "/bin/examples-chart-0.2.1-" + versionTag + ".tgz";
|
||||||
|
|
@ -209,7 +209,7 @@
|
||||||
"kubeflow.testing.py_checks",
|
"kubeflow.testing.py_checks",
|
||||||
"test",
|
"test",
|
||||||
"--src_dir=" + srcDir,
|
"--src_dir=" + srcDir,
|
||||||
"--project=mlkube-testing",
|
"--project=" + project,
|
||||||
"--junit_path=" + artifactsDir + "/junit_pycheckstest.xml",
|
"--junit_path=" + artifactsDir + "/junit_pycheckstest.xml",
|
||||||
]), // py test
|
]), // py test
|
||||||
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("py-lint", [
|
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("py-lint", [
|
||||||
|
|
@ -218,7 +218,7 @@
|
||||||
"kubeflow.testing.py_checks",
|
"kubeflow.testing.py_checks",
|
||||||
"lint",
|
"lint",
|
||||||
"--src_dir=" + srcDir,
|
"--src_dir=" + srcDir,
|
||||||
"--project=mlkube-testing",
|
"--project=" + project,
|
||||||
"--junit_path=" + artifactsDir + "/junit_pycheckslint.xml",
|
"--junit_path=" + artifactsDir + "/junit_pycheckslint.xml",
|
||||||
]), // py lint
|
]), // py lint
|
||||||
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("create-pr-symlink", [
|
$.parts(namespace, name).e2e(prow_env, bucket).buildTemplate("create-pr-symlink", [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue