Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
morphodita
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
morphodita
Commits
7dbd6962
Commit
7dbd6962
authored
2 years ago
by
bwalkow
Browse files
Options
Downloads
Patches
Plain Diff
New model source
parent
20ac81f3
1 merge request
!3
Change model source
Pipeline
#7594
failed with stage
in 31 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+14
-12
14 additions, 12 deletions
.gitlab-ci.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
README.TXT
+0
-9
0 additions, 9 deletions
README.TXT
README.md
+13
-0
13 additions, 0 deletions
README.md
entrypoint.sh
+3
-3
3 additions, 3 deletions
entrypoint.sh
with
31 additions
and
25 deletions
.gitlab-ci.yml
+
14
−
12
View file @
7dbd6962
image
:
clarinpl/python:3.6
cache
:
paths
:
-
.tox
stages
:
-
build
-
build_master
-
build_develop
before_script
:
-
pip install tox==2.9.1
build_develop
:
stage
:
build_develop
image
:
'
docker:18.09.7'
except
:
-
master
services
:
-
'
docker:18.09.7-dind'
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
build_image
:
stage
:
build
stage
:
build
_master
image
:
'
docker:18.09.7'
only
:
-
master
...
...
@@ -19,8 +23,6 @@ build_image:
-
'
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
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
7dbd6962
FROM
clarinpl/cpp:16.04
RUN
apt update
&&
apt
install
wsnlp-16-04
RUN
apt update
&&
apt
install
wsnlp-16-04
awscli
WORKDIR
/home/install
COPY
src/ src/
...
...
This diff is collapsed.
Click to expand it.
README.TXT
deleted
100644 → 0
+
0
−
9
View file @
20ac81f3
1. get model
wget -O model/xix http://minio.clarin-pl.eu/public/models/xix
wget -O model/xxi http://minio.clarin-pl.eu/public/models/xxi
2. Build
docker-compose build
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
13
−
0
View file @
7dbd6962
## 1. Get model:
```
aws --no-sign-request --endpoint-url https://s3.clarin-pl.eu s3 sync --delete s3://workers/morphodita/models/xix /home/worker/model/xix
```
```
aws --no-sign-request --endpoint-url https://s3.clarin-pl.eu s3 sync --delete s3://workers/morphodita/models/xxi /home/worker/model/xxi
```
## 2. Build:
```
docker-compose build
```
This diff is collapsed.
Click to expand it.
entrypoint.sh
+
3
−
3
View file @
7dbd6962
#!/bin/sh
cd
/home/worker
wget
-O
model/xix
http://
minio
.clarin-pl.eu
/public/models/xix
wget
-O
model/xxi http://minio.clarin-pl.eu/public/models/xxi
aws
--no-sign-request
--endpoint-url
https://s3.clarin-pl.eu s3
sync
--delete
s3://workers/morphodita/models/xix
/home/worker
/model/xix
aws
--no-sign-request
--endpoint-url
http
s
://
s3
.clarin-pl.eu
s3
sync
--delete
s3://workers/morphodita/models/xxi /home/worker/model/xxi
./morphodita_service
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