diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-12-13 12:58:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 11:58:48 -0600 |
commit | 206300d1e4179d2e40b9d2be02eac98aa2ceb13f (patch) | |
tree | 7943314019caffc089be5e7679ee86a42cdab252 | |
parent | 9b4a19ed0e9378f6c89150f25dc8eb0debef5e51 (diff) | |
download | cryptography-206300d1e4179d2e40b9d2be02eac98aa2ceb13f.tar.gz |
Clone wycheproof in a pre-run task (#5644)
this lets zuul automatically retry it, which will help during network flakiness, I hope
-rw-r--r-- | .zuul.d/jobs.yaml | 1 | ||||
-rw-r--r-- | .zuul.playbooks/playbooks/clone-wycheproof/main.yaml | 7 | ||||
-rw-r--r-- | .zuul.playbooks/playbooks/tox/main.yaml | 7 |
3 files changed, 8 insertions, 7 deletions
diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 5a66eece9..213bc5d85 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -2,6 +2,7 @@ name: pyca-cryptography-base abstract: true description: Run pyca/cryptography unit testing + pre-run: .zuul.playbooks/playbooks/clone-wycheproof/main.yaml run: .zuul.playbooks/playbooks/tox/main.yaml - job: diff --git a/.zuul.playbooks/playbooks/clone-wycheproof/main.yaml b/.zuul.playbooks/playbooks/clone-wycheproof/main.yaml new file mode 100644 index 000000000..6f8ffb031 --- /dev/null +++ b/.zuul.playbooks/playbooks/clone-wycheproof/main.yaml @@ -0,0 +1,7 @@ +- hosts: all + tasks: + - name: Clone wycheproof + git: + repo: https://github.com/google/wycheproof + dest: "{{ ansible_facts.env['HOME'] }}/wycheproof" + depth: 1 diff --git a/.zuul.playbooks/playbooks/tox/main.yaml b/.zuul.playbooks/playbooks/tox/main.yaml index fc92398ff..9ad2a78d0 100644 --- a/.zuul.playbooks/playbooks/tox/main.yaml +++ b/.zuul.playbooks/playbooks/tox/main.yaml @@ -27,15 +27,8 @@ become: yes when: ansible_distribution == 'CentOS' - - name: Clone wycheproof - git: - repo: https://github.com/google/wycheproof - dest: "{{ ansible_facts.env['HOME'] }}/wycheproof" - depth: 1 - - name: Run tox include_role: name: tox vars: tox_extra_args: "-- --wycheproof-root={{ ansible_facts.env['HOME'] }}/wycheproof/" - |