Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
social
SoMeDi Use Case - Lateral
Commits
f33d3621
Commit
f33d3621
authored
Nov 21, 2019
by
J. Fernando Sánchez
Browse files
Fix makefile and gitlab-ci
parent
cfe77c16
Pipeline
#1772
failed with stages
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f33d3621
...
...
@@ -9,7 +9,7 @@ before_script:
push-web
:
stage
:
push
script
:
-
make -e push-
web
-
make -e push-
docker
only
:
-
tags
-
triggers
...
...
Makefile
View file @
f33d3621
...
...
@@ -4,17 +4,10 @@ IMAGENAME:=registry.gsi.upm.es/social/somedi-lateral/gsicrawler
VERSIONFILE
:=
VERSION
include
.makefiles/base.mk
#include .makefiles/python.mk
include
.makefiles/k8s.mk
build
-web
:
##
Build a specific version (e.g. build-2.7)
docker
build
-t
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
-f
dashboard/Dockerfile dashboard/
;
build
:
docker
-compose build
push-web
:
build-web
##
Push the "latest" tag to dockerhub
docker push
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
build-latest
:
##
Build a specific version (e.g. build-2.7)
docker build
-t
'
$(IMAGENAME)
:
$(VERSION)
'
-f
Dockerfile .
;
push-latest
:
build-latest
##
Push the "latest" tag to dockerhub
docker push
'
$(IMAGENAME)
:
$(VERSION)
'
push-docker
:
docker-compose push
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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