Update nightly build job
- (Reland) Update CWS credentials: the OAuth OOB flow will be deprecated
on October 3, 2022, so this CL adds regenerated credentials which use
another flow to avoid the deprecation.
- (Reland) It also adds a suffix to the name of the secret to avoid name
collision, since Zuul requires credential names to be unique
throughout each tenant.
- The chrome-webstore-upload-cli package is bumped from 2.0.1 to 2.1.0.
- The job now uses the cws-upload and fetch-cws-upload-log roles in the
common zuul/jobs repo (which have moved from this project to there so
they can be used by other projects as well).
Change-Id: I93101f453999262a43f1a5d0f39e41548b0feb9c
diff --git a/playbooks/nightly-build/post.yaml b/playbooks/nightly-build/post.yaml
index 5cb8988..ae09c36 100644
--- a/playbooks/nightly-build/post.yaml
+++ b/playbooks/nightly-build/post.yaml
@@ -1,4 +1,6 @@
- name: Get CWS upload/publish log
hosts: all
roles:
- - fetch-cws-log
+ - fetch-cws-upload-log
+ vars:
+ workingDirectory: "{{ zuul.project.src_dir }}/out"