Skip to content

Commit

Permalink
debug mnist ci/cd testing problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchihe committed Oct 29, 2019
1 parent 452aa42 commit 05334ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mnist/testing/tfjob_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ def test_train(self):
util.run(['wget', '-O', '/usr/local/bin/kustomize', kusUrl], cwd=self.app_dir)
util.run(['chmod', 'a+x', '/usr/local/bin/kustomize'], cwd=self.app_dir)

# TODO @jinchihe: The kubectl has been upgraded to 1.14.0 in kubeflow/testing/pull/500.
# But the test-worker image is not refreshed, see issue kubeflow/testing/issues/501.
# The below code can be removed once test-worker released.
kusUrl = 'https://storage.googleapis.com/kubernetes-release/' \
'release/v1.14.0/bin/linux/amd64/kubectl'
util.run(['wget', '-O', '/usr/local/bin/kubectl', kusUrl], cwd=self.app_dir)
util.run(['chmod', 'a+x', '/usr/local/bin/kubectl'], cwd=self.app_dir)

# Setup parameters for kustomize
configmap = 'mnist-map-training'
for pair in self.params.split(","):
Expand Down

0 comments on commit 05334ad

Please sign in to comment.