Ansible job definitions for Zuul
Go to file
James E. Blair 78276a58c5 Fix prepare-workspace-git operating on existing repos
Commit 8003cdc76c causes problems
if the remote repo already exists (e.g., the worker node is static
and not ephemeral) because it unconditionally removes settings
which are only conditionally set if the workspace is newly cloned.

Fix that by remove the Ansible "creates" check from the task and
executing the set calls unconditionally (but also, recreate the
functionality of the create check for the cloning part of the
task, which is what we're really trying to avoid).

This will run a few extra command such as clearing the bare flag
and also resetting the origin remote.  That should be fine in
this role since we expect it to do whatever it takes to make the
remote repo the same as the local one.

Also, resync test-prepare-workspace-git.

Change-Id: Ife12992df9ce2b0ce199b3980a4baa255cb0f28a
2024-07-23 17:18:03 -07:00
doc Add ensure-poetry role 2024-07-02 08:00:55 -07:00
playbooks Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00
roles Fix prepare-workspace-git operating on existing repos 2024-07-23 17:18:03 -07:00
test-playbooks Add ensure-poetry role 2024-07-02 08:00:55 -07:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Drop outdated testing platforms 2024-06-07 11:42:27 +02:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Add ensure-poetry role 2024-07-02 08:00:55 -07:00
zuul.d Merge "Add a job for publishing a site to netlify" 2024-06-11 13:45:21 +00:00
.ansible-lint Update to ansible-lint 6.8.2 2022-11-07 10:37:53 +11: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
bindep.txt Ombibus set of fixups for Ubuntu Noble 2024-05-23 10:54:36 -07: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
linters-requirements.txt Cap ansible-lint <6.13 2023-02-23 18:31:54 +00:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07: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-requirements.txt Update ansible versions used in unittesting 2024-06-07 10:40:33 +00:00
tox.ini Update ansible versions used in unittesting 2024-06-07 10:40:33 +00:00

Zuul Jobs

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