fixtures and refactoring
continuous-integration/drone/push Build is passing Details

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

View File

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