Skip to content

Commit

Permalink
revert removal that checks for stratum1 playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Nov 9, 2023
1 parent d32ecba commit 27bc491
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-playbook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27bc491

Please sign in to comment.