Compare commits

...

11 Commits

Author SHA1 Message Date
Lukáš Kucharczyk dbef43e1a8 test7
continuous-integration/drone/push Build was killed Details
2023-10-04 20:17:42 +02:00
Lukáš Kucharczyk 881e76550e test6
continuous-integration/drone/push Build was killed Details
2023-10-04 20:15:28 +02:00
Lukáš Kucharczyk c3b2da840a test5
continuous-integration/drone/push Build was killed Details
2023-10-04 20:14:23 +02:00
Lukáš Kucharczyk 1509695ba3 test4
continuous-integration/drone/push Build was killed Details
2023-10-04 20:12:31 +02:00
Lukáš Kucharczyk e978fc9c1a test3
continuous-integration/drone/push Build was killed Details
2023-10-04 20:11:46 +02:00
Lukáš Kucharczyk c401fbee03 test2
continuous-integration/drone/push Build encountered an error Details
2023-10-04 20:11:22 +02:00
Lukáš Kucharczyk a0c4b595bb test
continuous-integration/drone/push Build encountered an error Details
2023-10-04 20:10:40 +02:00
Lukáš Kucharczyk 417837da00 MOAR FIXES
continuous-integration/drone/push Build is passing Details
2023-10-04 19:58:07 +02:00
Lukáš Kucharczyk 37a2c8851a ci: more fixes
continuous-integration/drone/push Build was killed Details
2023-10-04 19:55:07 +02:00
Lukáš Kucharczyk 6689b09221 ci: fix variable
continuous-integration/drone/push Build was killed Details
2023-10-04 19:54:06 +02:00
Lukáš Kucharczyk a80b633d57 ci: automatically redeploy container
continuous-integration/drone/push Build was killed Details
2023-10-04 19:53:25 +02:00
1 changed files with 17 additions and 3 deletions

View File

@ -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,9 +35,20 @@ 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:
event:
- push
- cron
- cron