From 08b9c555caa6eedb084787d0e3cb1c5bc3fff333 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Mar 04 2021 23:13:01 +0000 Subject: Add simple-repo-fetch role --- diff --git a/roles/simple-repo-fetch/README.rst b/roles/simple-repo-fetch/README.rst new file mode 100644 index 0000000..eb50b39 --- /dev/null +++ b/roles/simple-repo-fetch/README.rst @@ -0,0 +1,5 @@ +This roles create a zuul artifacts for a repository +created in "{{ zuul_output_dir }}/logs/repo" + +This is similar to the repo-fetch roles, but this doesn't need +to use the synchronize task as it is performed by the base job. diff --git a/roles/simple-repo-fetch/tasks/main.yaml b/roles/simple-repo-fetch/tasks/main.yaml new file mode 100644 index 0000000..3d9d911 --- /dev/null +++ b/roles/simple-repo-fetch/tasks/main.yaml @@ -0,0 +1,7 @@ +- name: Return repo url + zuul_return: + data: + zuul: + artifacts: + - name: repo + url: repo