Add canary nightly build job
Bug: translateselectedtext:10
Change-Id: I77cfaaa048a1e6a388b1d120b7070f3fa32ae632
diff --git a/playbooks/nightly-build/post.yaml b/playbooks/nightly-build/post.yaml
new file mode 100644
index 0000000..5cb8988
--- /dev/null
+++ b/playbooks/nightly-build/post.yaml
@@ -0,0 +1,4 @@
+- name: Get CWS upload/publish log
+ hosts: all
+ roles:
+ - fetch-cws-log
diff --git a/playbooks/nightly-build/pre.yaml b/playbooks/nightly-build/pre.yaml
new file mode 100644
index 0000000..45db95f
--- /dev/null
+++ b/playbooks/nightly-build/pre.yaml
@@ -0,0 +1,5 @@
+- hosts: all
+ roles:
+ - role: ensure-genmanifest
+ - role: ensure-cws-upload
+ version: "2.1.0"
diff --git a/playbooks/nightly-build/run.yaml b/playbooks/nightly-build/run.yaml
new file mode 100644
index 0000000..85d9c90
--- /dev/null
+++ b/playbooks/nightly-build/run.yaml
@@ -0,0 +1,6 @@
+- hosts: all
+ roles:
+ - role: cws-publish
+ vars:
+ extensionId: "locilfpallcbcbklndiigllcnbmbakgf"
+ dryRun: false
diff --git a/playbooks/nightly-build/test.yaml b/playbooks/nightly-build/test.yaml
new file mode 100644
index 0000000..ec15382
--- /dev/null
+++ b/playbooks/nightly-build/test.yaml
@@ -0,0 +1,6 @@
+- hosts: all
+ roles:
+ - role: cws-publish
+ vars:
+ extensionId: "locilfpallcbcbklndiigllcnbmbakgf"
+ dryRun: true