Commit 312850d7 authored by szymekc's avatar szymekc

build_image on master

parent 4f261c34
......@@ -2,7 +2,6 @@ build_image:
image: docker:18.09.7
only:
- master
- dev
services:
- 'docker:18.09.7-dind'
script:
......
#!/bin/bash
#if [ ! -f /sent2vec/pretrained_model.bin ]; then
# curl https://minio.clarin-pl.eu/public/models/kgr10.bin --create-dirs -o /sent2vec/pretrained_model.bin
#fi
if [ ! -f /sent2vec/pretrained_model.bin ]; then
curl https://minio.clarin-pl.eu/public/models/kgr10.bin --create-dirs -o /sent2vec/pretrained_model.bin
fi
cd /home/worker
git clone https://${GITLAB_USERNAME}:${GITLAB_PASSWORD}@gitlab.clarin-pl.eu/embedrankgroup/ai-research-keyphrase-extraction.git -b polish-azon-improvement --single-branch repo
mv repo/* .
rm repo
rm -r repo
python3.6 embedrank_worker.py
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment