Skip to content
Snippets Groups Projects
Commit 4f261c34 authored by szymekc's avatar szymekc
Browse files

auto git credentials

parent 4a937223
Branches
No related tags found
1 merge request!1Embedrank worker
Pipeline #2410 passed
......@@ -3,8 +3,7 @@
# curl https://minio.clarin-pl.eu/public/models/kgr10.bin --create-dirs -o /sent2vec/pretrained_model.bin
#fi
cd /home/worker
git config credential.helper '!f() { sleep 1; echo "username=${GITLAB_USERNAME}"; echo "password=${GITLAB_PASSWORD}"; }; f'
git clone https://gitlab.clarin-pl.eu/embedrankgroup/ai-research-keyphrase-extraction.git -b polish-azon-improvement --single-branch repo
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
python3.6 embedrank_worker.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment