This commit is contained in:
parent
692d388003
commit
b2dd062e6f
@ -15,5 +15,6 @@ steps:
|
||||
commands:
|
||||
- echo "$SSH_KEY" > $PWD/id_rsa
|
||||
- chmod 0600 $PWD/id_rsa
|
||||
- ansible-galaxy collection install -r requirements.yaml
|
||||
- ansible-playbook -i inventory.yaml nightly.yaml
|
||||
...
|
||||
|
6
requirements.yaml
Normal file
6
requirements.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
collections:
|
||||
- ansible.posix
|
||||
- community.general
|
||||
- community.docker.docker_prune
|
||||
...
|
@ -13,4 +13,12 @@
|
||||
command: docker-compose up -d
|
||||
args:
|
||||
chdir: /home/service-user
|
||||
|
||||
- name: Prune everything
|
||||
community.docker.docker_prune:
|
||||
containers: true
|
||||
images: true
|
||||
networks: true
|
||||
volumes: true
|
||||
builder_cache: true
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user