qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-web PATCH] remove deployment phase from CI


From: Thomas Huth
Subject: Re: [qemu-web PATCH] remove deployment phase from CI
Date: Thu, 18 Nov 2021 08:51:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 18/11/2021 08.47, Paolo Bonzini wrote:
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


Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]