Refactor CI pipelien and enable molecule testing #1

Merged
xoxys merged 131 commits from molecule-dev into master 2019-03-25 21:23:40 +00:00
Showing only changes of commit 2a42ab0a31 - Show all commits

View File

@ -16,13 +16,14 @@ steps:
image: xoxys/molecule:gce image: xoxys/molecule:gce
commands: commands:
- /bin/bash /docker-entrypoint.sh - /bin/bash /docker-entrypoint.sh
- ls -l - echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
- ls -l /root/
- molecule create --scenario-name gce-centos-7 - molecule create --scenario-name gce-centos-7
- molecule converge --scenario-name gce-centos-7 - molecule converge --scenario-name gce-centos-7
- molecule verify --scenario-name gce-centos-7 - molecule verify --scenario-name gce-centos-7
- molecule destroy --scenario-name gce-centos-7 - molecule destroy --scenario-name gce-centos-7
environment: environment:
GCE_CREDENTIALS_FILE: ./ansible-testing.json GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
GCE_CREDENTIALS_JSON: GCE_CREDENTIALS_JSON:
from_secret: gce_credentials_json from_secret: gce_credentials_json
GCE_PROJECT_ID: GCE_PROJECT_ID: