2019-01-12 12:49:56 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2019-02-26 14:13:50 +00: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 19:57:15 +00:00
|
|
|
|
2019-02-26 14:13:50 +00:00
|
|
|
- name: molecule
|
2019-02-27 10:16:04 +00:00
|
|
|
#image: quay.io/ansible/molecule
|
|
|
|
image: alpine
|
2019-01-12 12:49:56 +00:00
|
|
|
pull: always
|
2019-01-09 19:57:15 +00:00
|
|
|
commands:
|
2019-02-27 10:18:17 +00:00
|
|
|
- echo ${MY_SECRET} > test
|
2019-02-27 10:15:12 +00:00
|
|
|
- cat test
|
2019-02-27 10:11:23 +00: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
|