We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e81615 commit c0add0eCopy full SHA for c0add0e
.gitlab-ci.yml
@@ -0,0 +1,30 @@
1
+image: $ARTIFACTORY_DOCKER_REGISTRY/infrastructure/docker-libpy-test:0.10
2
+
3
+stages:
4
+ - build
5
+ - publish
6
7
+build-package:
8
+ stage: build
9
+ script:
10
+ - pip3.6 install wheel
11
+ - python3.6 setup.py sdist bdist_wheel
12
+ artifacts:
13
+ paths:
14
+ - dist
15
+ tags:
16
+ - docker
17
+ only:
18
+ - branches
19
+ - tags
20
21
+publish-package:
22
+ stage: publish
23
+ script: twine upload --repository-url=$ARTIFACTORY_PYPI_REPOSITORY --username=$ARTIFACTORY_USERNAME --password=$ARTIFACTORY_PASSWORD dist/*
24
+ dependencies:
25
+ - build-package
26
27
28
29
+ - master
30
0 commit comments