mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-25 01:22:28 +00:00
Fix 5
This commit is contained in:
parent
e741b565a1
commit
bd984a1437
@ -6,7 +6,6 @@ image: gsiupm/dockermake:latest
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay
|
||||
DOCKERFILE: Dockerfile
|
||||
VERSION: $CI_BUILD_REF
|
||||
IMAGENAME: $CI_REGISTRY_IMAGE
|
||||
|
||||
stages:
|
||||
@ -44,28 +43,18 @@ push-3.5:
|
||||
<<: *image_definition
|
||||
variables:
|
||||
PYTHON_VERSION: "3.5"
|
||||
VERSION: $CI_BUILD_TAG
|
||||
|
||||
push-2.7:
|
||||
<<: *image_definition
|
||||
variables:
|
||||
PYTHON_VERSION: "2.7"
|
||||
VERSION: $CI_BUILD_TAG
|
||||
|
||||
push-main:
|
||||
<<: *image_definition
|
||||
variables:
|
||||
PYTHON_VERSION: main
|
||||
VERSION: $CI_BUILD_TAG
|
||||
|
||||
push-latest:
|
||||
<<: *image_definition
|
||||
variables:
|
||||
PYTHON_VERSION: latest
|
||||
VERSION: $CI_BUILD_TAG
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
- triggers
|
||||
|
||||
clean :
|
||||
|
4
Makefile
4
Makefile
@ -98,12 +98,10 @@ push-latest: build-$(PYMAIN)
|
||||
docker push '$(IMAGENAME)'
|
||||
docker push '$(IMAGEWTAG)'
|
||||
|
||||
push-main: push-$(PYMAIN)
|
||||
|
||||
push-%: build-%
|
||||
docker push $(IMAGENAME):$(VERSION)-python$*
|
||||
|
||||
ci:
|
||||
gitlab-runner exec docker --docker-volumes /var/run/docker.sock:/var/run/docker.sock --env CI_PROJECT_NAME=$(NAME) ${action}
|
||||
|
||||
.PHONY: test test-% test-all build-% build test pip_test run yapf dev ci version .FORCE
|
||||
.PHONY: test test-% test-all build-% build test pip_test run yapf push-main push-% dev ci version .FORCE
|
||||
|
Loading…
Reference in New Issue
Block a user