Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anonymizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
anonymizer
Commits
03f597a3
Commit
03f597a3
authored
Jun 19, 2023
by
bwalkow
Browse files
Options
Downloads
Patches
Plain Diff
Fix nlp-ws version, refactor CI
parent
049e4402
No related branches found
No related tags found
No related merge requests found
Pipeline
#11131
passed
Jun 19, 2023
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-27
7 additions, 27 deletions
.gitlab-ci.yml
requirements.txt
+1
-1
1 addition, 1 deletion
requirements.txt
with
8 additions
and
28 deletions
.gitlab-ci.yml
+
7
−
27
View file @
03f597a3
image
:
'
clarinpl/python:3.6'
cache
:
paths
:
-
.tox
stages
:
# - check_style
-
build
before_script
:
-
pip install tox==2.9.1
# pep8:
# stage: check_style
# script:
# - tox -v -e pep8
# docstyle:
# stage: check_style
# script:
# - tox -v -e docstyle
build_image
:
stage
:
build
image
:
'
docker:18.09
.7'
image
:
docker:18.09
only
:
-
v1
services
:
-
'
docker:18.09.7-dind'
variables
:
DOCKERHUB_NAME
:
clarinpl/anonymizer
before_script
:
-
'
'
-
docker
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:v1 .
-
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 push $CI_REGISTRY_IMAGE
-
docker
push
$CI_REGISTRY_IMAGE:
v1
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
1
View file @
03f597a3
nlp-ws
nlp-ws
<=0.8
regex
==2020.10.28
Babel
==2.8.0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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