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
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 083282b117 - Show all commits

View File

@ -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

View File

@ -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)