[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-web PATCH] remove deployment phase from CI
From: |
Paolo Bonzini |
Subject: |
[qemu-web PATCH] remove deployment phase from CI |
Date: |
Thu, 18 Nov 2021 08:47:01 +0100 |
qemu.org is now served via a reverse proxy from qemu-project.gitlab.io; it does
not need anymore the rsync step to the QEMU project's shell server.
Remove it from the CI.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
.gitlab-ci.yml | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 129b2ff..dde0ef3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,6 @@
stages:
- build
- - update
pages:
image: centos:8
@@ -19,26 +18,3 @@ pages:
artifacts:
paths:
- public
-
-deploy:
- image: centos:8
- stage: update
- needs:
- - job: pages
- artifacts: true
- before_script:
- - dnf install -y openssh-clients rsync
- - eval $(ssh-agent -s)
- - cat "$SSH_PRIVATE_KEY_FILE" | tr -d '\r' | ssh-add -
- - mkdir -m700 -p ~/.ssh
- - - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking
no\n\n" >> ~/.ssh/config'
- script:
- - ssh $SSH_DEPLOY_DESTINATION "cd /var/www/qemu-project.org && mkdir new
&& rsync -az root/ new"
- - rsync -avz --delete public/
$SSH_DEPLOY_DESTINATION:/var/www/qemu-project.org/new
- - ssh $SSH_DEPLOY_DESTINATION "cd /var/www/qemu-project.org && rm -rf old
&& mv root old && mv new root"
- only:
- refs:
- - master
- variables:
- - $SSH_PRIVATE_KEY_FILE
- - $SSH_DEPLOY_DESTINATION
--
2.33.1