chore: try to speed up gitlab build

This commit is contained in:
Gregor Kleen 2020-12-10 03:37:45 +01:00
parent c41bbaa4be
commit 50ac356248

View File

@ -104,10 +104,11 @@ yesod:build:dev:
- rm -rvf /etc/apt/sources.list /etc/apt/sources.list.d - rm -rvf /etc/apt/sources.list /etc/apt/sources.list.d
- install -v -T -m 0644 ${APT_SOURCES_LIST} /etc/apt/sources.list - install -v -T -m 0644 ${APT_SOURCES_LIST} /etc/apt/sources.list
- apt-get update -y - apt-get update -y
- apt-get install -y --no-install-recommends locales-all openssh-client - apt-get install -y --no-install-recommends locales-all openssh-client git-restore-time
- install -v -m 0700 -d ~/.ssh - install -v -m 0700 -d ~/.ssh
- install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts - install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
- install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config; - install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config;
- git-restore-time
artifacts: artifacts:
paths: paths:
- bin/ - bin/
@ -172,6 +173,8 @@ frontend:test:
deploy:uniworx3: deploy:uniworx3:
cache: {} cache: {}
stage: deploy stage: deploy
variables:
GIT_STRATEGY: none
script: script:
- zip -qj - bin/uniworx bin/uniworxdb | ssh root@uniworx3.ifi.lmu.de /root/bin/accept_uni2work - zip -qj - bin/uniworx bin/uniworxdb | ssh root@uniworx3.ifi.lmu.de /root/bin/accept_uni2work
needs: needs: