xoxys.nginx/.drone.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

2019-01-12 13:49:56 +01:00
---
kind: pipeline
name: default
steps:
2019-02-26 15:13:50 +01:00
# - name: ansible-latest
# image: python:2.7
# pull: always
# commands:
# - pip install ansible ansible-later -q
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
# depends_on: [ clone ]
# - name: ansible-master
# image: python:2.7
# pull: always
# commands:
# - pip install ansible ansible-later -q
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
# depends_on: [ clone ]
2019-01-09 20:57:15 +01:00
2019-02-26 15:13:50 +01:00
- name: molecule
2019-02-27 11:22:43 +01:00
image: quay.io/ansible/molecule
2019-02-27 11:23:20 +01:00
#image: alpine
2019-01-12 13:49:56 +01:00
pull: always
2019-02-27 11:21:12 +01:00
environment:
MY_SECRET:
from_secret: my_secret
2019-01-09 20:57:15 +01:00
commands:
2019-02-27 11:29:13 +01:00
- mkdir $HOME/.ssh
2019-02-27 11:28:22 +01:00
- echo $MY_SECRET > $HOME/.ssh/google_compute_engine
- cat $HOME/.ssh/google_compute_engine
2019-02-27 11:11:23 +01:00
# - molecule create --scenario-name gce-centos-7
# - molecule converge --scenario-name gce-centos-7
# - molecule verify --scenario-name gce-centos-7
# - molecule destroy --scenario-name gce-centos-7