diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00ef5cab66509d82a2fe058becc82e823c716f34..cbc777b532aa674d173c582ac1735c4c1df9dd7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ build_image: image: docker:18.09.7 only: - master - - dev services: - 'docker:18.09.7-dind' script: diff --git a/entrypoint.sh b/entrypoint.sh index c15928986ecd5b420070892b35b3530dd390b73c..183b92bbf481849ebcd0b8319b6d2b87f3175fe5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,9 +1,9 @@ #!/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