summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2018-07-12 08:55:03 -0700
committerClark Boylan <clark.boylan@gmail.com>2018-07-12 08:55:03 -0700
commit97b42fefb3c1060112bd4ef936e5d77f7246feb8 (patch)
tree6b5ac3f685792e5663a2f17d1b234f65e2ecccae
parent9c15bd8b27b9bf64bdae6610df15d5355c2d8a38 (diff)
Add $GOPATH/bin to kata job's $PATH
Kata need their built binaries to be in the PATH for tests to work properly. Change-Id: I8c05e7a5a02fdeb337c7ba6871dba0a9cebcdf13
Notes
Notes (review): Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 16 Jul 2018 17:53:00 +0000 Reviewed-on: https://review.openstack.org/582289 Project: openstack-infra/openstack-zuul-jobs Branch: refs/heads/master
-rw-r--r--playbooks/kata-runsh/run.yaml1
-rw-r--r--roles/kata-setup/tasks/main.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/kata-runsh/run.yaml b/playbooks/kata-runsh/run.yaml
index 22a88f7..3c5c3ab 100644
--- a/playbooks/kata-runsh/run.yaml
+++ b/playbooks/kata-runsh/run.yaml
@@ -11,4 +11,5 @@
11 fi 11 fi
12 export CI=true 12 export CI=true
13 export GOPATH=$HOME 13 export GOPATH=$HOME
14 export PATH=${GOPATH}/bin:$PATH
14 .ci/run.sh 15 .ci/run.sh
diff --git a/roles/kata-setup/tasks/main.yaml b/roles/kata-setup/tasks/main.yaml
index 834c341..77d2a15 100644
--- a/roles/kata-setup/tasks/main.yaml
+++ b/roles/kata-setup/tasks/main.yaml
@@ -29,4 +29,5 @@
29 fi 29 fi
30 export CI=true 30 export CI=true
31 export GOPATH=$HOME 31 export GOPATH=$HOME
32 export PATH=${GOPATH}/bin:$PATH
32 .ci/setup.sh 33 .ci/setup.sh