fixtures and refactoring
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-28 10:51:09 +01:00
parent 9dfd8fcbaf
commit bdaf47bce8
2 changed files with 30 additions and 20 deletions

View File

@ -1,6 +1,6 @@
---
kind: pipeline
name: default
name: gce
steps:
- name: dryrun
@ -10,8 +10,9 @@ steps:
dry_run: true
password:
from_secret: docker_password
repo: xoxys/molecule-gce
tags: linux-amd64
repo: xoxys/molecule
dockerfile: docker/Dockerfile.gce
tags: gce
username:
from_secret: docker_username
when:
@ -24,9 +25,11 @@ steps:
image: plugins/docker:linux-amd64
settings:
auto_tag: true
auto_tag_suffix: gce
dockerfile: docker/Dockerfile.gce
password:
from_secret: docker_password
repo: xoxys/molecule-gce
repo: xoxys/molecule
username:
from_secret: docker_username
when:
@ -34,17 +37,24 @@ steps:
- push
- tag
# - name: notify
# image: plugins/matrix
# settings:
# homeserver: https://matrix.rknet.org
# roomid: MtidqQXWWAtQcByBhH:rknet.org
# template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
# username:
# from_secret: matrix_username
# password:
# from_secret: matrix_password
# when:
# status:
# - success
# - failure
# ---
# kind: pipeline
# name: notifications
# steps:
# - name: notify
# image: plugins/matrix
# settings:
# homeserver: https://matrix.rknet.org
# roomid: MtidqQXWWAtQcByBhH:rknet.org
# template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
# username:
# from_secret: matrix_username
# password:
# from_secret: matrix_password
# when:
# status:
# - success
# - failure
# ...

View File

@ -26,10 +26,10 @@ ENV PACKAGES="\
"
ENV PIP_PACKAGES="\
molecule[azure,docker,docs,ec2,gce,lxc,openstack,vagrant,windows] \
molecule[gce] \
virtualenv \
apache-libcloud \
pycrypto
pycrypto \
"
ENV GEM_PACKAGES="\