remove deployment phase from CI
PATCH 1/1 remove deployment phase from CI
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.
--- .gitlab-ci.yml | 24 ------------------------ 1 file changed, 24 deletions(-)
.gitlab-ci.yml +0 -24
@@ -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
Signature · 1 line
2.33.1
Quoted 39 lines · Paolo Bonzini
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 <[email protected]>--- .gitlab-ci.yml | 24 ------------------------ 1 file changed, 24 deletions(-).gitlab-ci.yml +0
-14@@ -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'
.gitlab-ci.yml pages: · line 44
Quoted 10 lines
.gitlab-ci.yml +0
-10- 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
Quoted 8 lines · Paolo Bonzini
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 <[email protected]>--- .gitlab-ci.yml | 24 ------------------------ 1 file changed, 24 deletions(-)
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 10 lines · Paolo Bonzini
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 <[email protected]>--- .gitlab-ci.yml | 24 ------------------------ 1 file changed, 24 deletions(-)