summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-04-07 15:49:38 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2017-04-07 10:46:08 +0000
commit01b0e1ad105c2d1855e2e075b3458c751795d984 (patch)
treeb648575a0f2a98b3e2cc1b7f94c8ffca947ee387
parent60c8e740516ebadb9c1265b54dcba8f84c085a85 (diff)
downloadpost-build-lava-01b0e1ad105c2d1855e2e075b3458c751795d984.tar.gz
Add ARTIFACTORIAL_TOKEN for publishing with LAVA v2
Change-Id: Ibd117b35b6b98de12099cd7833f5ca015acd2148 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xpost-build-lava.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-build-lava.py b/post-build-lava.py
index 649066b..41a5c3d 100755
--- a/post-build-lava.py
+++ b/post-build-lava.py
@@ -305,6 +305,7 @@ def submit_job_from_url():
# Inject credentials after the job dump to avoid to leak
replace("job.json", "%%ART_TOKEN%%", os.environ.get("ART_TOKEN"))
+ replace("job.json", "%%ARTIFACTORIAL_TOKEN%%", os.environ.get("ARTIFACTORIAL_TOKEN"))
with open("job.json") as fd:
config = fd.read().strip()