Refactor CI pipelien and enable molecule testing #1
@ -16,6 +16,7 @@ steps:
|
|||||||
image: xoxys/molecule:gce
|
image: xoxys/molecule:gce
|
||||||
commands:
|
commands:
|
||||||
- /bin/bash /docker-entrypoint.sh
|
- /bin/bash /docker-entrypoint.sh
|
||||||
|
- set -x
|
||||||
- "echo \"$GCE_CREDENTIALS_JSON\" > $GCE_CREDENTIALS_FILE"
|
- "echo \"$GCE_CREDENTIALS_JSON\" > $GCE_CREDENTIALS_FILE"
|
||||||
- ls -l
|
- ls -l
|
||||||
- molecule create --scenario-name gce-centos-7
|
- molecule create --scenario-name gce-centos-7
|
||||||
@ -23,7 +24,7 @@ steps:
|
|||||||
- 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: \$HOME/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:
|
||||||
|
Loading…
Reference in New Issue
Block a user