Ansible job definitions for Zuul
Go to file
Simon Westphahl f2ccc45c06 Supply missing error message on S3 upload failure
The `fail_json()` method of the Ansible module expects a msg argument.
https://docs.ansible.com/ansible/latest/reference_appendices/module_utils.html

    Traceback (most recent call last):
      File \\"<stdin>\\", line 102, in <module>
      File \\"<stdin>\\", line 94, in _ansiballz_main
      File \\"<stdin>\\", line 40, in invoke_module
      File \\"/usr/local/lib/python3.10/runpy.py\\", line 224, in run_module
        return _run_module_code(code, init_globals, run_name, mod_spec)
      File \\"/usr/local/lib/python3.10/runpy.py\\", line 96, in _run_module_code
        _run_code(code, mod_globals, init_globals,
      File \\"/usr/local/lib/python3.10/runpy.py\\", line 86, in _run_code
        exec(code, run_globals)
      File \\"/var/cache/zuul-executor/jobs/2f077ccd11b844e587a4d220ed22f36c/work/tmp/ansible_zuul_s3_upload_payload_l3h9evxc/ansible_zuul_s3_upload_payload.zip/ansible/modules/zuul_s3_upload.py\\", line 366, in <module>
      File \\"/var/cache/zuul-executor/jobs/2f077ccd11b844e587a4d220ed22f36c/work/tmp/ansible_zuul_s3_upload_payload_l3h9evxc/ansible_zuul_s3_upload_payload.zip/ansible/modules/zuul_s3_upload.py\\", line 313, in ansible_main
      File \\"/var/cache/zuul-executor/jobs/2f077ccd11b844e587a4d220ed22f36c/work/tmp/ansible_zuul_s3_upload_payload_l3h9evxc/ansible_zuul_s3_upload_payload.zip/ansible/module_utils/basic.py\\", line 2183, in fail_json
    AssertionError: implementation error -- msg to explain the error is required

Change-Id: I30a50ebd3c4a2553142a67ecb1bbb1faa2b3c527
2022-08-10 15:24:19 +02:00
doc Merge "Add the post-reboot-tasks role" 2022-06-17 15:46:53 +00:00
playbooks linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
roles Supply missing error message on S3 upload failure 2022-08-10 15:24:19 +02:00
test-playbooks linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Support subsets of platforms in update-test-platforms 2022-07-28 08:39:48 -07:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Test ensure-kubernetes on all Ubuntu platforms 2022-07-28 12:00:11 -07:00
zuul.d upload-pypi: support API token upload 2022-07-13 15:18:08 +10:00
.ansible-lint linters: update to ansible-lint 6 2022-07-27 17:13:39 +10:00
.gitignore Enable progressive mode with ansible-lint 2020-11-07 03:20:19 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
bindep.txt Switch py3.10 testing to Ubuntu Jammy 2022-05-04 16:52:37 -07:00
linters-requirements.txt linters: update to ansible-lint 6 2022-07-27 17:13:39 +10:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py setup.py: override modules to stop auto-detection 2022-07-27 11:14:06 +10:00
test-constraints.txt pin oauthlib version for python2.7 2022-01-27 14:35:06 +01:00
test-requirements.txt Fix two testing problems 2022-06-16 10:30:00 -07:00
tox.ini ansible-lint: disable progressive mode 2022-07-27 17:16:19 +10:00

README.rst

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.