Set up Zuul check pipeline
Fixed: translateselectedtext:3
Change-Id: Ifcb104b3f4985240a89b3e59e919fa2e950ce497
diff --git a/roles/build-extension/defaults/main.yaml b/roles/build-extension/defaults/main.yaml
new file mode 100644
index 0000000..2774de6
--- /dev/null
+++ b/roles/build-extension/defaults/main.yaml
@@ -0,0 +1 @@
+make_target: chromium_stable
diff --git a/roles/build-extension/tasks/main.yaml b/roles/build-extension/tasks/main.yaml
new file mode 100644
index 0000000..6ca0225
--- /dev/null
+++ b/roles/build-extension/tasks/main.yaml
@@ -0,0 +1,6 @@
+- name: Build extension
+ make:
+ chdir: "{{ zuul.project.src_dir }}"
+ target: "{{ make_target }}"
+ environment:
+ PATH: "{{ ansible_env.HOME }}/go/bin:/usr/local/go/bin:{{ ansible_env.PATH }}"