Refactor CI pipelien and enable molecule testing #1
@ -33,6 +33,8 @@ steps:
|
|||||||
from_secret: gce_project_id
|
from_secret: gce_project_id
|
||||||
GCE_CREDENTIALS_JSON:
|
GCE_CREDENTIALS_JSON:
|
||||||
from_secret: gce_credentials_json
|
from_secret: gce_credentials_json
|
||||||
|
GCE_SSH_USER:
|
||||||
|
from_secret: gce_ssh_user
|
||||||
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.ssh
|
- mkdir $HOME/.ssh
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#no_log: "{{ not (lookup('env', 'MOLECULE_DEBUG') | bool or molecule_yml.provisioner.log|default(false) | bool) }}"
|
#no_log: "{{ not (lookup('env', 'MOLECULE_DEBUG') | bool or molecule_yml.provisioner.log|default(false) | bool) }}"
|
||||||
vars:
|
vars:
|
||||||
ssh_port: 22
|
ssh_port: 22
|
||||||
ssh_user: "{{ lookup('env', 'USER') }}"
|
ssh_user: "{{ lookup('env', 'GCE_SSH_USER') }}"
|
||||||
ssh_identity_file: "{{ lookup('env', 'HOME') }}/.ssh/google_compute_engine"
|
ssh_identity_file: "{{ lookup('env', 'HOME') }}/.ssh/google_compute_engine"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create molecule instance(s)
|
- name: Create molecule instance(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user