2022-10-27 22:03:16 +05:30
|
|
|
pipeline:
|
|
|
|
build:
|
2022-10-27 22:36:26 +05:30
|
|
|
image: python:3.11.0-bullseye
|
2022-10-27 22:03:16 +05:30
|
|
|
when:
|
|
|
|
event: [push, pull_request, tag, deployment]
|
|
|
|
commands:
|
2022-10-30 14:22:14 +05:30
|
|
|
- pip install python-dateutil
|
2022-10-27 22:15:12 +05:30
|
|
|
- make env
|
|
|
|
- make
|
2022-10-27 22:03:16 +05:30
|
|
|
|
|
|
|
publish:
|
2022-10-27 22:36:26 +05:30
|
|
|
image: python:3.11.0-bullseye
|
2022-10-27 22:03:16 +05:30
|
|
|
when:
|
|
|
|
event: push
|
|
|
|
branch: main
|
|
|
|
commands:
|
2022-10-27 23:02:33 +05:30
|
|
|
- pwd
|
|
|
|
- pwd
|
2022-10-27 22:40:44 +05:30
|
|
|
- make ci-deploy
|
2022-10-27 22:03:16 +05:30
|
|
|
secrets: [repo_write_deploy_key]
|