59 lines
1.0 KiB
YAML
59 lines
1.0 KiB
YAML
kind: pipeline
|
|
name: default
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.jonb.io
|
|
dry_run: false
|
|
username: jblu
|
|
password:
|
|
from_secret: gittea_drone
|
|
repo: git.jonb.io/jblu/qbit-maid
|
|
tags:
|
|
- latest
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- pull_request
|
|
- name: docker-test
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.jonb.io
|
|
dry_run: false
|
|
username: jblu
|
|
password:
|
|
from_secret: gittea_drone
|
|
repo: git.jonb.io/jblu/qbit-maid
|
|
tags:
|
|
- dev
|
|
when:
|
|
branch:
|
|
- dev*
|
|
event:
|
|
- push
|
|
- pull_request
|
|
- name: test-main
|
|
image: git.jonb.io/jblu/qbit-maid:latest
|
|
commands:
|
|
- python test_qbitmaid.py
|
|
- python test_write_csv.py
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- pull_request
|
|
- name: test-dev
|
|
image: git.jonb.io/jblu/qbit-maid:dev
|
|
commands:
|
|
- python test_qbitmaid.py
|
|
- python test_write_csv.py
|
|
when:
|
|
branch:
|
|
- dev*
|
|
event:
|
|
- push
|
|
- pull_request |