From 3c5e121ec85cd4bcbc6b346834e21f3b2fd97ecd Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 30 Dec 2022 10:07:21 +0100 Subject: [PATCH] Output additional infos about runner instance in gitlab/deploy-template.yaml --- gitlab/deploy-template.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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}"' -- 2.39.5