switch to automatic molecule livecycle
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-05-20 09:01:50 +02:00
parent add0053e12
commit 2bd32cbc2b
2 changed files with 3 additions and 11 deletions

View File

@ -58,12 +58,8 @@ local PipelineDeployment = {
},
commands: [
"/bin/bash /docker-entrypoint.sh",
"molecule create --scenario-name ec2-centos-7",
"molecule converge --scenario-name ec2-centos-7",
"molecule verify --scenario-name ec2-centos-7",
"molecule destroy --scenario-name ec2-centos-7",
"molecule test --scenario-name ec2-centos-7",
],
failure: "ignore",
},
],
depends_on: [

View File

@ -55,10 +55,7 @@ steps:
image: xoxys/molecule:ec2-linux-amd64
commands:
- /bin/bash /docker-entrypoint.sh
- molecule create --scenario-name ec2-centos-7
- molecule converge --scenario-name ec2-centos-7
- molecule verify --scenario-name ec2-centos-7
- molecule destroy --scenario-name ec2-centos-7
- molecule test --scenario-name ec2-centos-7
environment:
ANSIBLE_ROLES_PATH: /drone/src
AWS_ACCESS_KEY_ID:
@ -69,7 +66,6 @@ steps:
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
PY_COLORS: 1
failure: ignore
trigger:
ref:
@ -115,6 +111,6 @@ depends_on:
---
kind: signature
hmac: 2eacb5add9dd0b53bbc8060d7a2cf15fafbd87e3f98fe46ec0ac79e5642b9099
hmac: 173cf4ff8ceaa9f6a3e74e305f091796275df73905000ccfe7d454127294e0da
...