molecule/.drone.yml

61 lines
1.3 KiB
YAML
Raw Normal View History

2019-02-28 10:34:14 +01:00
---
kind: pipeline
2019-02-28 10:51:09 +01:00
name: gce
2019-02-28 10:34:14 +01:00
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dry_run: true
password:
from_secret: docker_password
2019-02-28 10:51:09 +01:00
repo: xoxys/molecule
dockerfile: docker/Dockerfile.gce
tags: gce
2019-02-28 10:34:14 +01:00
username:
from_secret: docker_username
when:
event:
- push
- tag
- name: publish
pull: always
image: plugins/docker:linux-amd64
settings:
auto_tag: true
2019-02-28 10:51:09 +01:00
auto_tag_suffix: gce
dockerfile: docker/Dockerfile.gce
2019-02-28 10:34:14 +01:00
password:
from_secret: docker_password
2019-02-28 10:51:09 +01:00
repo: xoxys/molecule
2019-02-28 10:34:14 +01:00
username:
from_secret: docker_username
when:
event:
- push
- tag
2019-02-28 10:51:09 +01:00
# ---
# 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
# ...