From afd6a00b1a898e747fe75e88f95ef8ea52683f97 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 27 Nov 2023 12:43:26 +0100 Subject: [PATCH] [TASK] Output the job name in the GitLab CI builds (#1013) Some GitLab jobs seem to run commands that do not belong in the the corresponding job. This change outputs the job name in CI in order to help us track this down. Related: #976 --- .gitlab/pipeline/jobs/func-php7.4-v11-highest.yml | 1 + .gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/func-php8.0-v11-highest.yml | 1 + .gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/func-php8.1-v11-highest.yml | 1 + .gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/func-php8.1-v12-highest.yml | 1 + .gitlab/pipeline/jobs/func-php8.1-v12-lowest.yml | 1 + .gitlab/pipeline/jobs/func-php8.2-v11-highest.yml | 1 + .gitlab/pipeline/jobs/func-php8.2-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/func-php8.2-v12-highest.yml | 1 + .gitlab/pipeline/jobs/func-php8.2-v12-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml | 1 + .gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml | 1 + 24 files changed, 24 insertions(+) diff --git a/.gitlab/pipeline/jobs/func-php7.4-v11-highest.yml b/.gitlab/pipeline/jobs/func-php7.4-v11-highest.yml index a0c90e7..140f0fd 100644 --- a/.gitlab/pipeline/jobs/func-php7.4-v11-highest.yml +++ b/.gitlab/pipeline/jobs/func-php7.4-v11-highest.yml @@ -8,6 +8,7 @@ func-php7.4-v11-highest: - build-composer-dependencies - php-lint-php7.4 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml b/.gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml index 0062fb6..e87f7fd 100644 --- a/.gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml @@ -8,6 +8,7 @@ func-php7.4-v11-lowest: - build-composer-dependencies - php-lint-php7.4 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.0-v11-highest.yml b/.gitlab/pipeline/jobs/func-php8.0-v11-highest.yml index b107c90..675c416 100644 --- a/.gitlab/pipeline/jobs/func-php8.0-v11-highest.yml +++ b/.gitlab/pipeline/jobs/func-php8.0-v11-highest.yml @@ -8,6 +8,7 @@ func-php8.0-v11-highest: - build-composer-dependencies - php-lint-php8.0 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml b/.gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml index 1e76d6c..cedb1f3 100644 --- a/.gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml @@ -8,6 +8,7 @@ func-php8.0-v11-lowest: - build-composer-dependencies - php-lint-php8.0 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.1-v11-highest.yml b/.gitlab/pipeline/jobs/func-php8.1-v11-highest.yml index a65dcbc..f2af42d 100644 --- a/.gitlab/pipeline/jobs/func-php8.1-v11-highest.yml +++ b/.gitlab/pipeline/jobs/func-php8.1-v11-highest.yml @@ -8,6 +8,7 @@ func-php8.1-v11-highest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml b/.gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml index 34ac50e..a6d0af7 100644 --- a/.gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml @@ -8,6 +8,7 @@ func-php8.1-v11-lowest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.1-v12-highest.yml b/.gitlab/pipeline/jobs/func-php8.1-v12-highest.yml index aba5428..2a6ecde 100644 --- a/.gitlab/pipeline/jobs/func-php8.1-v12-highest.yml +++ b/.gitlab/pipeline/jobs/func-php8.1-v12-highest.yml @@ -8,6 +8,7 @@ func-php8.1-v11-highest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.1-v12-lowest.yml b/.gitlab/pipeline/jobs/func-php8.1-v12-lowest.yml index d4bd31f..e634f21 100644 --- a/.gitlab/pipeline/jobs/func-php8.1-v12-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php8.1-v12-lowest.yml @@ -8,6 +8,7 @@ func-php8.1-v11-lowest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.2-v11-highest.yml b/.gitlab/pipeline/jobs/func-php8.2-v11-highest.yml index 27a6669..9836c9e 100644 --- a/.gitlab/pipeline/jobs/func-php8.2-v11-highest.yml +++ b/.gitlab/pipeline/jobs/func-php8.2-v11-highest.yml @@ -8,6 +8,7 @@ func-php8.2-v11-highest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.2-v11-lowest.yml b/.gitlab/pipeline/jobs/func-php8.2-v11-lowest.yml index 08ef59e..322b81c 100644 --- a/.gitlab/pipeline/jobs/func-php8.2-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php8.2-v11-lowest.yml @@ -8,6 +8,7 @@ func-php8.2-v11-lowest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.2-v12-highest.yml b/.gitlab/pipeline/jobs/func-php8.2-v12-highest.yml index 6398eed..cd3848a 100644 --- a/.gitlab/pipeline/jobs/func-php8.2-v12-highest.yml +++ b/.gitlab/pipeline/jobs/func-php8.2-v12-highest.yml @@ -8,6 +8,7 @@ func-php8.2-v11-highest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/func-php8.2-v12-lowest.yml b/.gitlab/pipeline/jobs/func-php8.2-v12-lowest.yml index b7be0e4..3bbf8b3 100644 --- a/.gitlab/pipeline/jobs/func-php8.2-v12-lowest.yml +++ b/.gitlab/pipeline/jobs/func-php8.2-v12-lowest.yml @@ -8,6 +8,7 @@ func-php8.2-v11-lowest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional diff --git a/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml b/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml index 9a8b64e..5aaee4a 100644 --- a/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml @@ -6,6 +6,7 @@ unit-php7.4-v11-highest: - build-composer-dependencies - php-lint-php7.4 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml b/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml index c184c34..377fc65 100644 --- a/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml @@ -6,6 +6,7 @@ unit-php7.4-v11-lowest: - build-composer-dependencies - php-lint-php7.4 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml b/.gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml index fcd167d..fb15aa8 100644 --- a/.gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml @@ -6,6 +6,7 @@ unit-php8.0-v11-highest: - build-composer-dependencies - php-lint-php8.0 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml index 4e606b1..5f868d7 100644 --- a/.gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml @@ -6,6 +6,7 @@ unit-php8.0-v11-lowest: - build-composer-dependencies - php-lint-php8.0 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml b/.gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml index 4cdf5c2..f52bc8d 100644 --- a/.gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml @@ -6,6 +6,7 @@ unit-php8.1-v11-highest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml index ac8c4df..a2cc681 100644 --- a/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml @@ -6,6 +6,7 @@ unit-php8.1-v11-lowest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml b/.gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml index a78c302..33c10ce 100644 --- a/.gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml @@ -6,5 +6,6 @@ unit-php8.1-v12-highest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-progress typo3/cms-core:"^12.4" - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml index 72a948f..9490532 100644 --- a/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml @@ -6,6 +6,7 @@ unit-php8.1-v12-lowest: - build-composer-dependencies - php-lint-php8.1 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml b/.gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml index ec03978..acacb27 100644 --- a/.gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml @@ -6,6 +6,7 @@ unit-php8.2-v11-highest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml index 58a1e4e..871c31c 100644 --- a/.gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml @@ -6,6 +6,7 @@ unit-php8.2-v11-lowest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml b/.gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml index 3cb2777..f3acfbd 100644 --- a/.gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml @@ -6,5 +6,6 @@ unit-php8.2-v12-highest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-progress typo3/cms-core:"^12.4" - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml index c36b636..f4d41d3 100644 --- a/.gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml +++ b/.gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml @@ -6,6 +6,7 @@ unit-php8.2-v12-lowest: - build-composer-dependencies - php-lint-php8.2 script: + - echo "Job ${CI_JOB_NAME}" - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest - composer ci:tests:unit