Commit e2cb07f6 authored by Chris Croome's avatar Chris Croome

added clean task to delete gpg private keys

parent ab8a93ee
Pipeline #3485 canceled with stages
in 15 seconds
......@@ -2,6 +2,7 @@ stages:
- build
- test
- deploy
- clean
before_script:
- apt-get update
......@@ -37,3 +38,10 @@ deploy:
script:
- ansible-playbook --extra-vars "hostname=localhost" -i "localhost," -c local deploy.yml -v
when: manual
clean:
stage: clean
script:
- rm -rf /root/.gnupg/
- rm -f /dev/shm/sec.gpg
when: always
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment