Fix the ksonnet by defining globals. (#354)

* The latest changes to the ksonnet components require certain values
  to be defined as defaults.

* This is part of the move away from using a fake component to define
  parameters that should be reused across different modules.

  see #308

* Verify we can run ks show on a new environment and can evaluate the ksonnet.

Fix #353
This commit is contained in:
Jeremy Lewi 2018-11-24 14:36:43 -08:00 committed by k8s-ci-robot
parent de17011066
commit a32227f371
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
{
global: {},
global: {
workingDir: "gs://YOUR/WORKING_DIR",
dataDir: "gs://YOUR/DATA_DIR",
project: "SET_TO_YOUR_PROJECT",
// Experiment needs to be set to a value that exists
// otherwise ksonnet will be valid.
experiment: "demo-trainer-11-07-dist-sync-gpu",
},
components: {
// TODO(jlewi): t2t-job and t2t-code-search are intended to set values