diff --git a/.gitlab/pipeline/.gitlab-ci.yml b/.gitlab/pipeline/.gitlab-ci.yml index c6c5c4b..711eebe 100644 --- a/.gitlab/pipeline/.gitlab-ci.yml +++ b/.gitlab/pipeline/.gitlab-ci.yml @@ -7,6 +7,7 @@ stages: - test include: + - '/.gitlab/pipeline/jobs/.composer-update.yml' - '/.gitlab/pipeline/jobs/.default.yml' - '/.gitlab/pipeline/jobs/.default-frontend.yml' - '/.gitlab/pipeline/jobs/.variables.yml' diff --git a/.gitlab/pipeline/jobs/.composer-update.yml b/.gitlab/pipeline/jobs/.composer-update.yml new file mode 100644 index 0000000..63bee39 --- /dev/null +++ b/.gitlab/pipeline/jobs/.composer-update.yml @@ -0,0 +1,3 @@ +.composer-update: + before_script: + - composer update --no-progress diff --git a/.gitlab/pipeline/jobs/php-lint-php7.4.yml b/.gitlab/pipeline/jobs/php-lint-php7.4.yml index 27af32b..3de2ee3 100644 --- a/.gitlab/pipeline/jobs/php-lint-php7.4.yml +++ b/.gitlab/pipeline/jobs/php-lint-php7.4.yml @@ -1,4 +1,5 @@ php-lint-php7.4: + extends: .composer-update image: ghcr.io/sbuerk/demo-core-testing-php74:latest stage: lint needs: [ ] diff --git a/.gitlab/pipeline/jobs/php-lint-php8.0.yml b/.gitlab/pipeline/jobs/php-lint-php8.0.yml index 9e6d043..0485908 100644 --- a/.gitlab/pipeline/jobs/php-lint-php8.0.yml +++ b/.gitlab/pipeline/jobs/php-lint-php8.0.yml @@ -1,4 +1,5 @@ php-lint-php8.0: + extends: .composer-update image: ghcr.io/sbuerk/demo-core-testing-php80:latest stage: lint needs: [ ] diff --git a/.gitlab/pipeline/jobs/php-lint-php8.1.yml b/.gitlab/pipeline/jobs/php-lint-php8.1.yml index 127f9f7..1c70cef 100644 --- a/.gitlab/pipeline/jobs/php-lint-php8.1.yml +++ b/.gitlab/pipeline/jobs/php-lint-php8.1.yml @@ -1,4 +1,5 @@ php-lint-php8.1: + extends: .composer-update image: ghcr.io/sbuerk/demo-core-testing-php81:latest stage: lint needs: [ ] diff --git a/.gitlab/pipeline/jobs/php-lint-php8.2.yml b/.gitlab/pipeline/jobs/php-lint-php8.2.yml index c3c8fb0..dec469e 100644 --- a/.gitlab/pipeline/jobs/php-lint-php8.2.yml +++ b/.gitlab/pipeline/jobs/php-lint-php8.2.yml @@ -1,4 +1,5 @@ php-lint-php8.2: + extends: .composer-update image: ghcr.io/sbuerk/demo-core-testing-php82:latest stage: lint needs: [ ] diff --git a/.gitlab/pipeline/jobs/php-lint-php8.3.yml b/.gitlab/pipeline/jobs/php-lint-php8.3.yml index 5e59289..537fbb5 100644 --- a/.gitlab/pipeline/jobs/php-lint-php8.3.yml +++ b/.gitlab/pipeline/jobs/php-lint-php8.3.yml @@ -1,4 +1,5 @@ php-lint-php8.3: + extends: .composer-update image: ghcr.io/sbuerk/demo-core-testing-php83:latest stage: lint needs: [ ]