From 27bc4916143711635c8e0443e44fd6a8c657adf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Thu, 9 Nov 2023 17:04:44 +0100 Subject: [PATCH] revert removal that checks for stratum1 playbook --- .github/workflows/test-playbook.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-playbook.sh b/.github/workflows/test-playbook.sh index 9e825071..d6db6487 100755 --- a/.github/workflows/test-playbook.sh +++ b/.github/workflows/test-playbook.sh @@ -16,9 +16,12 @@ echo ' - 127.0.0.1' >> inventory/local_site_specific_vars.yml export CVMFS_GEO_DB_FILE=NONE # Only test CI suitable repos on the Stratum 1, as the other ones may be very large. -cat >> inventory/local_site_specific_vars.yml <<-EOF - cvmfs_repositories: "{{ eessi_cvmfs_repositories | selectattr('use_for_ci', 'defined') | selectattr('use_for_ci', 'sameas', true) | list }}" -EOF +if [ $playbook == "stratum1.yml" ] +then + cat >> inventory/local_site_specific_vars.yml <<-EOF + cvmfs_repositories: "{{ eessi_cvmfs_repositories | selectattr('use_for_ci', 'defined') | selectattr('use_for_ci', 'sameas', true) | list }}" + EOF +fi # Install the Ansible dependencies. ansible-galaxy role install -r requirements.yml -p ./roles