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
Commits
41d06d37
Commit
41d06d37
authored
2 years ago
by
Bartosz Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
Model
parent
a8163416
Branches
Branches containing commit
1 merge request
!2
Model
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+19
-18
19 additions, 18 deletions
.gitlab-ci.yml
requirements.txt
+2
-2
2 additions, 2 deletions
requirements.txt
with
21 additions
and
20 deletions
.gitlab-ci.yml
+
19
−
18
View file @
41d06d37
...
...
@@ -7,38 +7,39 @@ cache:
stages
:
-
check_style
-
build
before_script
:
-
pip install tox==2.9.1
-
build_develop
pep8
:
before_script
:
-
pip install tox==2.9.1
stage
:
check_style
script
:
-
tox -v -e pep8
docstyle
:
before_script
:
-
pip install tox==2.9.1
stage
:
check_style
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 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 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:develop
This diff is collapsed.
Click to expand it.
requirements.txt
+
2
−
2
View file @
41d06d37
autocorrect
==2.1.0
nlp-ws
autocorrect
nlp-ws
<=0.8
numpy
==1.17.4
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment