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