Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions environments/.caas/hooks/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,14 @@
- dnf_repos
loop: "{{ groups['cluster'] }}"
when: dnf_repos_enabled | default(false) | bool

# Workaround for setup-env.sh not running in CaaS environment, so:
# https://github.com/stackhpc/ansible-slurm-appliance/blob/ba9699267449fba58cd9c04c451759a914fd7144/ansible/validate.yml#L16
# doesn't break CaaS platforms
- hosts: localhost
gather_facts: no
tasks:
- name: Prepare requirements.yml.last for galaxy validation
copy:
src: "{{ appliances_repository_root }}/requirements.yml"
dest: "{{ appliances_repository_root }}/requirements.yml.last"
Loading