From: Frank Brehm Date: Fri, 30 Dec 2022 09:07:21 +0000 (+0100) Subject: Output additional infos about runner instance in gitlab/deploy-template.yaml X-Git-Tag: v1.0^0 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=3c5e121ec85cd4bcbc6b346834e21f3b2fd97ecd;p=pixelpark%2Fpython-packaging.git Output additional infos about runner instance in gitlab/deploy-template.yaml --- diff --git a/gitlab/deploy-template.yaml b/gitlab/deploy-template.yaml index 4f95155..e8bdc20 100644 --- a/gitlab/deploy-template.yaml +++ b/gitlab/deploy-template.yaml @@ -23,7 +23,18 @@ variables: before_script: - hostname -f - whoami - - pwd + - printf 'Uname '; uname -a + - | + echo + echo 'OS-Release:' + if [[ -f /etc/os-release ]] ; then + cat /etc/os-release + else + echo 'File /etc/os-release not found.' >&2 + fi + - printf 'PWD '; pwd + - printf 'Which sendmail '; which sendmail || true + - printf 'Which mailx '; which mailx || true - 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}"'