]> Frank Brehm's Git Trees - pixelpark/python-packaging.git/commitdiff
Output additional infos about runner instance in gitlab/deploy-template.yaml v1.0
authorFrank Brehm <frank@brehm-online.com>
Fri, 30 Dec 2022 09:07:21 +0000 (10:07 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 30 Dec 2022 09:07:21 +0000 (10:07 +0100)
gitlab/deploy-template.yaml

index 4f951559719150bf01e0d5942225c366420e2177..e8bdc20c01b8693a37d0df82291cadbd81cdd6a7 100644 (file)
@@ -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}"'