Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
speller2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
speller2
Merge requests
!2
Model
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Model
model
into
master
Overview
0
Commits
2
Pipelines
1
Changes
2
Merged
Bartosz Walkowiak
requested to merge
model
into
master
2 years ago
Overview
0
Commits
2
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Viewing commit
8efc6040
Prev
Next
Show latest version
2 files
+
17
−
17
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
8efc6040
Change lib version
· 8efc6040
bwalkow
authored
2 years ago
.gitlab-ci.yml
+
15
−
15
Options
@@ -7,6 +7,7 @@ cache:
stages
:
-
check_style
-
build
-
build_develop
before_script
:
-
pip install tox==2.9.1
@@ -21,24 +22,23 @@ docstyle:
script
:
-
tox -v -e docstyle
build_
i
ma
ge
:
build_ma
ster
:
stage
:
build
image
:
'
docker:18.09.7'
only
:
-
master
services
:
-
'
docker:18.09.7-dind'
variables
:
DOCKERHUB_NAME
:
clarinpl/$CI_PROJECT_NAME
before_script
:
-
'
'
script
:
-
docker build -t $DOCKERHUB_NAME .
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push $DOCKERHUB_NAME
-
docker build -t $CI_REGISTRY_IMAGE:latest .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE
-
docker push $CI_REGISTRY_IMAGE:latest
build_develop
:
stage
:
build_develop
image
:
'
docker:18.09.7'
only
:
-
model
script
:
-
docker build -t $CI_REGISTRY_IMAGE:develop .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:develop