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
Compare revisions
20ac81f31ac225d3b2a4e3220c217e68ae00ff7b to 366ae4c763cc7ad18f26fcc991fd31dba8fb4d88
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
nlpworkers/morphodita
Select target project
No results found
366ae4c763cc7ad18f26fcc991fd31dba8fb4d88
Select Git revision
Branches
master
sgjp
Swap
Target
nlpworkers/morphodita
Select target project
nlpworkers/morphodita
1 result
20ac81f31ac225d3b2a4e3220c217e68ae00ff7b
Select Git revision
Branches
master
sgjp
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (5)
New model source
· 7dbd6962
bwalkow
authored
2 years ago
7dbd6962
Fix Dockerfile
· 8e5e420f
bwalkow
authored
2 years ago
8e5e420f
Build test image
· a0fe484f
bwalkow
authored
2 years ago
a0fe484f
Change file sync
· 84ff64bc
bwalkow
authored
2 years ago
84ff64bc
Merge branch 'change_model_source' into 'master'
· 366ae4c7
Tomasz Walkowiak
authored
2 years ago
Change model source See merge request
!3
366ae4c7
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
+2
-3
2 additions, 3 deletions
entrypoint.sh
with
30 additions
and
25 deletions
.gitlab-ci.yml
View file @
366ae4c7
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
View file @
366ae4c7
FROM
clarinpl/cpp:16.04
RUN
apt update
&&
apt
install
wsnlp-16-04
RUN
apt update
-y
&&
apt
install
-y
wsnlp-16-04
awscli
WORKDIR
/home/install
COPY
src/ src/
...
...
This diff is collapsed.
Click to expand it.
README.TXT
deleted
100644 → 0
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
View file @
366ae4c7
## 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
View file @
366ae4c7
#!/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/"
"/home/worker/model/"
./morphodita_service
This diff is collapsed.
Click to expand it.