Commit Graph

10 Commits

Author SHA1 Message Date
Benedikt Loeffler 258add7bb4 Use zuul_workspace_root for prepare/mirror workspace test roles
Use zuul_workspace_root as the destination folder for preparing and
mirroring the workspace, which points to ansible_user_dir by default.
(As is currently the case).
The override of this variable can be useful when using a static node
with multiple slots to use a separate workspace for each slot.

Change-Id: I2014b9c876907cfc17a0ec7fa2b6d4e67cb2331c
2023-06-27 14:21:38 +02:00
James E. Blair 423a7d6044 Correct git config item name in mirror-workspace-git-repos
It appears this setting inadvertently had an extra word "ignore"
included in the key name, and later versions of the git module in
Ansible (5) throw an error in that case.  Remove it so that this
role will work in all versions.

Change-Id: If008cc5b12efb23f731f99806ddfb69ce9bb5d15
2022-05-19 09:33:00 -07:00
James E. Blair 2cc836a320 Re-sync test-mirror-workspace-git-repos
This brings it in-line with mirror-workspace-git-repos in preparation
for further changes.

Change-Id: Ia7d07f84c5bf48dc11e195738edbce7acece8fee
2022-05-19 09:32:15 -07:00
Albin Vass 9062289151 Check for loop_control in with_ type loops
Change-Id: I191265df7709a6262b44a428d78fe28ffaeb4b75
2020-05-01 13:45:34 +02:00
Jeremy Stanley 2711d10186 Be consistent about spaces before and after vars
With the arrival of ansible-lint 4, Jinja2 variable expansions must
include spaces before and after the variable name inside the
brackets.

Adjust the new violations accordingly and remove the rule
206 exclusion.

Change-Id: Ib3ff7b0233a5d5cf99772f9c2adc81861cf34ffa
2019-08-07 20:17:41 +01:00
Ian Wienand a8f1afb5ed Update test-mirror-workspace-git-repos, add test
This updates the test-mirror-workspace-git-repos to be the same as
mirror-workspace-git-repos, and adds the change proposed in
I84d9a8a460e99d3bc558b3a7584d787b22f2ed33 for testing.

Change-Id: If0792190c75c7716e94f1f5ae0f2d4fc37e0b306
2018-12-12 16:02:59 +11:00
Clark Boylan 43868ae828 Add test workspace setup role
This will allow us to test changes to this role which is used in base
and base-test.

Change-Id: I072eea647313aac5c5f1024db193b603ad91e010
2018-10-05 12:31:42 -07:00
James E. Blair bd1ab3e8bf Revert "Test Use item.checkout from zuul.projects when mirroring"
This reverts commit c185af7449.

Change-Id: I070a295cfe418604040e8d9a5174bc88644b8972
Depends-On: https://review.openstack.org/540949
2018-02-05 12:58:51 -08:00
James E. Blair 64048189a4 Fix error in test-mirror-workspace-git-repos
Change-Id: I32fe15c1e62a9e4800457af80e25758afa988803
2018-02-05 11:16:45 -08:00
James E. Blair c185af7449 Test Use item.checkout from zuul.projects when mirroring
This creates a test role for change https://review.openstack.org/540934
that we can use in base-test.

Change-Id: I23b468b9440c6a4ec7e4c34f351b1934e0f63be0
2018-02-05 09:31:45 -08:00