aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d97565e..2a95a53 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: studip/studip:tests-php8.2
+image: studip/studip:tests-php8.1
variables:
FF_NETWORK_PER_BUILD: 1
@@ -17,7 +17,7 @@ variables:
# Use faster docker driver
DOCKER_DRIVER: overlay2
# Images
- NODE_IMAGE: node:16-slim
+ NODE_IMAGE: node:18-slim
# Directories
CACHE_DIR: .caches
REPORT_DIR: .reports
@@ -107,7 +107,7 @@ lint-php:
- COMPOSER_MEMORY_LIMIT=-1
composer exec phplint
--
- --json $PHPLINT_JSON_REPORT
+ --log-json=$PHPLINT_JSON_REPORT
--cache=$CACHE_LOCATION
after_script:
- ./.gitlab/scripts/convert-phplint-report $PHPLINT_JSON_REPORT > $PHPLINT_CODE_QUALITY_REPORT
@@ -115,14 +115,14 @@ lint-php:
reports:
codequality: $PHPLINT_CODE_QUALITY_REPORT
-lint-php-7.4:
- image: studip/studip:tests-php8.2
+lint-php-8.3:
+ image: studip/studip:tests-php8.3
stage: checks
needs: [build-composer]
variables:
CACHE_LOCATION: $CACHE_DIR/phplint-cache
- PHPLINT_JSON_REPORT: $REPORT_DIR/phplint-report-7.4.json
- PHPLINT_CODE_QUALITY_REPORT: $REPORT_DIR/phplint-codequality-7.4.json
+ PHPLINT_JSON_REPORT: $REPORT_DIR/phplint-report-8.3.json
+ PHPLINT_CODE_QUALITY_REPORT: $REPORT_DIR/phplint-codequality-8.3.json
interruptible: true
cache:
- *composer-cache
@@ -137,7 +137,7 @@ lint-php-7.4:
- COMPOSER_MEMORY_LIMIT=-1
composer exec phplint
--
- --json $PHPLINT_JSON_REPORT
+ --log-json=$PHPLINT_JSON_REPORT
--cache=$CACHE_LOCATION
after_script:
- ./.gitlab/scripts/convert-phplint-report $PHPLINT_JSON_REPORT > $PHPLINT_CODE_QUALITY_REPORT
@@ -419,6 +419,7 @@ build_image:
entrypoint: [""]
stage: build
when: manual
+ interruptible: true
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
script: