- 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 -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 "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: