chore: disable deploy for now
This commit is contained in:
parent
c7c4f50f5b
commit
3212be01ec
@ -28,7 +28,7 @@ stages:
|
|||||||
- yesod:build
|
- yesod:build
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
- deploy
|
# - deploy
|
||||||
|
|
||||||
npm install:
|
npm install:
|
||||||
stage: setup
|
stage: setup
|
||||||
@ -170,28 +170,28 @@ frontend:test:
|
|||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
deploy:uniworx3:
|
# deploy:uniworx3:
|
||||||
cache: {}
|
# cache: {}
|
||||||
stage: deploy
|
# stage: deploy
|
||||||
variables:
|
# variables:
|
||||||
GIT_STRATEGY: none
|
# 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:
|
||||||
- yesod:build
|
# - yesod:build
|
||||||
- frontend:test # For sanity
|
# - frontend:test # For sanity
|
||||||
before_script:
|
# before_script:
|
||||||
- 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 openssh-client
|
# - apt-get install -y --no-install-recommends openssh-client
|
||||||
- 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_PRIVATE_KEY_UNIWORX3} ~/.ssh/uniworx3; echo "IdentityFile ~/.ssh/uniworx3" >> ~/.ssh/config;
|
# - install -v -T -m 0400 ${SSH_PRIVATE_KEY_UNIWORX3} ~/.ssh/uniworx3; echo "IdentityFile ~/.ssh/uniworx3" >> ~/.ssh/config;
|
||||||
dependencies:
|
# dependencies:
|
||||||
- yesod:build
|
# - yesod:build
|
||||||
|
|
||||||
only:
|
# only:
|
||||||
variables:
|
# variables:
|
||||||
- $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
|
# - $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
|
||||||
resource_group: uniworx3
|
# resource_group: uniworx3
|
||||||
|
|||||||
Reference in New Issue
Block a user