From: Frank Brehm Date: Mon, 20 Dec 2021 16:51:36 +0000 (+0100) Subject: Trying to fix .gitlab-ci.yml X-Git-Tag: 0.4.1~4^2~6 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=167fd7bd5d897ef4bbb59ae28f4dd1f9da9e5988;p=pixelpark%2Fpp-admin-tools.git Trying to fix .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0243baa..cceb69e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -381,16 +381,21 @@ Sign EL 8 packages: - pwd - ls -lA --color=always - find rpmdir/*RPMS -type f -print0 | xargs --null --no-run-if-empty ls -l -d --color=always - - 'echo -e "YUM_REPO_USER: ${YUM_REPO_USER}"' - - 'echo -e "YUM_REPO_HOST: ${YUM_REPO_HOST}"' - - 'echo -e "YUM_REPO_DIR: ${YUM_REPO_DIR}"' - - | - 'echo "Ensuring ${HOME}/.ssh/authorized_keys ..."' - 'mkdir -pv "${HOME}/.ssh"' - 'chmod -v 0700 "${HOME}/.ssh"' - 'echo "${SSH_PRIV_KEY_YUM_REPO}" > "${HOME}/.ssh/authorized_keys"' - 'chmod -v 0600 "${HOME}/.ssh/authorized_keys"' - 'ls -lA "${HOME}/.ssh"' + - echo -e "YUM_REPO_USER: ${YUM_REPO_USER}" + - echo -e "YUM_REPO_HOST: ${YUM_REPO_HOST}" + - echo -e "YUM_REPO_DIR: ${YUM_REPO_DIR}" + - mkdir -pv "${HOME}/.ssh" + - chmod -v 0700 "${HOME}/.ssh" + - echo "${SSH_PRIV_KEY_YUM_REPO}" > "${HOME}/.ssh/authorized_keys" + - chmod -v 0600 "${HOME}/.ssh/authorized_keys" + - ls -lA --color=always "${HOME}/.ssh" +# - | +# 'echo "Ensuring ${HOME}/.ssh/authorized_keys ..."' +# 'mkdir -pv "${HOME}/.ssh"' +# 'chmod -v 0700 "${HOME}/.ssh"' +# 'echo "${SSH_PRIV_KEY_YUM_REPO}" > "${HOME}/.ssh/authorized_keys"' +# 'chmod -v 0600 "${HOME}/.ssh/authorized_keys"' +# 'ls -lA "${HOME}/.ssh"' after_script: - rm -rf rpmdir environment: