Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
9daae8dd
Commit
9daae8dd
authored
Feb 27, 2017
by
J. Fernando Sánchez
Browse files
Please, please, please let it pass!
Am I a complete moron?
parent
c72094b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9daae8dd
...
...
@@ -37,7 +37,6 @@ test-2.7:
-
make -e push-$PYTHON_VERSION
only
:
-
tags
-
master
-
triggers
push-3.5
:
...
...
@@ -54,19 +53,27 @@ push-2.7:
VERSION
:
$CI_BUILD_TAG
IMAGENAME
:
$CI_REGISTRY_IMAGE
push-main
:
<<
:
*image_definition
variables
:
PYTHON_VERSION
:
main
VERSION
:
$CI_BUILD_TAG
IMAGENAME
:
$CI_REGISTRY_IMAGE
push-latest
:
stage
:
push
<<
:
*image_definition
variables
:
PYTHON_VERSION
:
latest
VERSION
:
$CI_BUILD_TAG
IMAGENAME
:
$CI_REGISTRY_IMAGE
before_script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
script
:
-
make -e push-latest
only
:
-
master
-
tags
-
triggers
clean
:
stage
:
clean
script
:
-
make -e clean
\ No newline at end of file
-
make -e clean
only
:
-
master
\ No newline at end of file
Makefile
View file @
9daae8dd
...
...
@@ -99,7 +99,9 @@ push-latest: build-$(PYMAIN)
docker push
'
$(IMAGEWTAG)
'
push-%
:
build-%
docker push
$(IMAGEWTAG)
-python
$*
docker push
$(IMAGE)
:
$(VERSION)
-python
$*
push-main
:
push-$(PYMAIN)
ci
:
gitlab-runner
exec
docker
--docker-volumes
/var/run/docker.sock:/var/run/docker.sock
--env
CI_PROJECT_NAME
=
$(NAME)
${action}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment