Refactor CI pipelien and enable molecule testing #1
@ -16,14 +16,14 @@ steps:
|
||||
image: xoxys/molecule:gce
|
||||
commands:
|
||||
- /bin/bash /docker-entrypoint.sh
|
||||
- "echo \"$GCE_CREDENTIALS_JSON\" > $HOME/ansible-testing.json"
|
||||
- "echo \"$GCE_CREDENTIALS_JSON\" > $GCE_CREDENTIALS_FILE"
|
||||
- ls -l
|
||||
- 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
|
||||
environment:
|
||||
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
||||
GCE_CREDENTIALS_FILE: \$HOME/ansible-testing.json
|
||||
GCE_CREDENTIALS_JSON:
|
||||
from_secret: gce_credentials_json
|
||||
GCE_PROJECT_ID:
|
||||
|
Loading…
Reference in New Issue
Block a user