qbit-maid/.drone.yml

59 lines
1.0 KiB
YAML
Raw Normal View History

2023-06-06 14:33:07 -05:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
2023-08-06 23:38:39 -05:00
registry: git.jonb.io
2023-06-06 15:17:31 -05:00
dry_run: false
2023-06-06 14:33:07 -05:00
username: jblu
2023-06-06 14:44:56 -05:00
password:
from_secret: gittea_drone
2023-08-06 23:38:39 -05:00
repo: git.jonb.io/jblu/qbit-maid
2023-06-06 14:33:07 -05:00
tags:
- latest
2023-06-06 14:47:03 -05:00
when:
branch:
2023-06-23 04:02:05 -05:00
- main
2023-06-27 12:43:10 -05:00
event:
- push
- pull_request
2023-06-23 04:02:05 -05:00
- name: docker-test
image: plugins/docker
settings:
2023-08-06 23:38:39 -05:00
registry: git.jonb.io
2023-06-23 04:02:05 -05:00
dry_run: false
username: jblu
password:
from_secret: gittea_drone
2023-08-06 23:38:39 -05:00
repo: git.jonb.io/jblu/qbit-maid
2023-06-23 04:02:05 -05:00
tags:
- dev
when:
branch:
2023-06-27 12:43:10 -05:00
- dev*
event:
- push
- pull_request
- name: test-main
2023-08-06 23:38:39 -05:00
image: git.jonb.io/jblu/qbit-maid:latest
2023-06-27 12:43:10 -05:00
commands:
- python test_qbitmaid.py
2023-09-20 00:18:26 -05:00
- python test_write_csv.py
2023-06-27 12:43:10 -05:00
when:
branch:
- main
event:
- push
- pull_request
- name: test-dev
2023-08-06 23:38:39 -05:00
image: git.jonb.io/jblu/qbit-maid:dev
2023-06-27 12:43:10 -05:00
commands:
- python test_qbitmaid.py
2023-09-20 00:18:26 -05:00
- python test_write_csv.py
2023-06-27 12:43:10 -05:00
when:
branch:
- dev*
event:
- push
- pull_request