qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [qemu-web PATCH] remove deployment phase from CI
@ 2021-11-18  7:47 Paolo Bonzini
  2021-11-18  7:51 ` Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paolo Bonzini @ 2021-11-18  7:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: thuth

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



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [qemu-web PATCH] remove deployment phase from CI
@ 2021-11-03  8:14 Paolo Bonzini
  2021-11-03  9:02 ` Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paolo Bonzini @ 2021-11-03  8:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: thuth

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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-18 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-18  7:47 [qemu-web PATCH] remove deployment phase from CI Paolo Bonzini
2021-11-18  7:51 ` Thomas Huth
2021-11-18 10:44 ` Daniel P. Berrangé
2021-11-18 18:02 ` Willian Rampazzo
  -- strict thread matches above, loose matches on Subject: below --
2021-11-03  8:14 Paolo Bonzini
2021-11-03  9:02 ` Thomas Huth
2021-11-03  9:53 ` Andrea Bolognani
2021-11-03 17:03 ` Willian Rampazzo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).