Skip to content
Snippets Groups Projects
Commit 733668e0 authored by Georgiy Eterevskiy's avatar Georgiy Eterevskiy
Browse files

Add pipeline for production

parent 56cdbe43
No related branches found
No related tags found
No related merge requests found
---
kind: pipeline
name: default
name: develop
trigger:
event:
- push
- tag
branch:
- master
refs:
- refs/tags/v*
steps:
- name: upload-python-client
......@@ -21,6 +19,24 @@ steps:
commands:
- apk add bash make gcc g++ linux-headers musl-dev
- make release
when:
branch: [ "master" ]
event: [ "push" ]
---
kind: pipeline
name: production
trigger:
event:
- tag
refs:
- refs/tags/v*
steps:
- name: upload-python-client
image: python:3.8-alpine
environment:
PYPI_REPO:
from_secret: pypi_repo_prod
PYPI_PASSWORD:
from_secret: pypi_password_prod
commands:
- apk add bash make gcc g++ linux-headers musl-dev
- make release
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment