summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-10-03 22:51:03 +0200
committerKali Kaneko <kali@leap.se>2017-10-03 22:51:03 +0200
commit916e7539cd0e86fbd639c514036296829b26606e (patch)
tree3908bc83cbc24a7927bbc6943b01e72773b74a8d /Makefile
parent8d3afc5600ee365ac3c2309114d1917fb46ce81e (diff)
[docs] add a package_in_docker target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b3cba97d..032c28c2 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,13 @@ doc:
bundle_in_virtualenv:
pkg/build_bundle_with_venv.sh
+docker_container:
+ cd pkg/docker_bundle && docker build -t mybundle .
+
+package_in_docker:
+ # needs docker_ce and gitlab-runner from upstream
+ gitlab-runner exec docker package:amd64_stretch
+
bundle_in_docker:
# needs a docker container called 'mybundle', created with 'make docker_container'
rm -rf $(DIST_VERSION) bitmaskbuild
@@ -84,9 +91,6 @@ bundle_in_docker:
cp -r bitmaskbuild/$(DIST_VERSION) dist/
rm -rf bitmaskbuild
-docker_container:
- cd pkg/docker_bundle && docker build -t mybundle .
-
upload:
python setup.py sdist bdist_wheel --universal upload --sign -i kali@leap.se -r pypi