Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
change e2e test's ksonnet component name to e2e_test.jsonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
everpeace committed Aug 16, 2018
1 parent 444c6e2 commit 40eca0d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
4 changes: 2 additions & 2 deletions prow_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# see kubeflow/testing/py/run_e2e_workflow.py
workflows:
- app_dir: kubeflow/chainer-operator/test/workflows
component: workflows
name: e2e
component: e2e_test
name: chainer-e2e
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
local params = std.extVar("__ksonnet/params").components.e2e_test;
local k = import 'k.libsonnet';
local namespace = params.namespace;
local name = params.name;
local workflows = {
// TODO(https://github.com/ksonnet/ksonnet/issues/222): Taking namespace as an argument is a work around for the fact that ksonnet
// doesn't support automatically piping in the namespace from the environment to prototypes.

Expand Down Expand Up @@ -298,4 +302,8 @@
},
}, // e2e
}, // parts
}
};

local prowEnv = workflows.parseEnv(params.prow_env);
local bucket = params.bucket;
std.prune(k.core.v1.list.new([workflows.parts(namespace, name, params).e2e(prowEnv, bucket)]))
13 changes: 0 additions & 13 deletions test/workflows/components/workflows.jsonnet

This file was deleted.

0 comments on commit 40eca0d

Please sign in to comment.