Compare commits
11 Commits
6d689bc6f7
...
dbef43e1a8
Author | SHA1 | Date |
---|---|---|
Lukáš Kucharczyk | dbef43e1a8 | |
Lukáš Kucharczyk | 881e76550e | |
Lukáš Kucharczyk | c3b2da840a | |
Lukáš Kucharczyk | 1509695ba3 | |
Lukáš Kucharczyk | e978fc9c1a | |
Lukáš Kucharczyk | c401fbee03 | |
Lukáš Kucharczyk | a0c4b595bb | |
Lukáš Kucharczyk | 417837da00 | |
Lukáš Kucharczyk | 37a2c8851a | |
Lukáš Kucharczyk | 6689b09221 | |
Lukáš Kucharczyk | a80b633d57 |
18
.drone.yml
18
.drone.yml
|
@ -11,17 +11,20 @@ steps:
|
|||
- poetry install
|
||||
- poetry env info
|
||||
- poetry run pytest
|
||||
- name: build container (prod)
|
||||
|
||||
- name: build-prod
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.kucharczyk.xyz/timetracker
|
||||
tags:
|
||||
- latest
|
||||
depends_on:
|
||||
- "test"
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
- name: build container (non-prod)
|
||||
- name: build-non-prod
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.kucharczyk.xyz/timetracker
|
||||
|
@ -32,6 +35,17 @@ steps:
|
|||
branch:
|
||||
exclude:
|
||||
- main
|
||||
depends_on:
|
||||
- "test"
|
||||
|
||||
- name: redeploy on portainer
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: PORTAINER_TIMETRACKER_WEBHOOK_URL
|
||||
# depends_on:
|
||||
# - "build-prod"
|
||||
|
||||
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in New Issue