1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00
This commit is contained in:
J. Fernando Sánchez 2017-02-27 21:22:10 +01:00
parent e741b565a1
commit bd984a1437
2 changed files with 1 additions and 14 deletions

View File

@ -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 :

View File

@ -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