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