Fix GitLab CI

This commit is contained in:
ErickSkrauch 2024-12-02 12:35:21 +01:00
parent 57d492da8a
commit f43eafb2f3
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -10,6 +10,8 @@ variables:
APP_IMAGE_NAME: "$CI_REGISTRY_IMAGE/app" APP_IMAGE_NAME: "$CI_REGISTRY_IMAGE/app"
WEB_IMAGE_NAME: "$CI_REGISTRY_IMAGE/web" WEB_IMAGE_NAME: "$CI_REGISTRY_IMAGE/web"
DB_IMAGE_NAME: "$CI_REGISTRY_IMAGE/db" DB_IMAGE_NAME: "$CI_REGISTRY_IMAGE/db"
PHP_EXTENSION_INTL: 1
PHP_EXTENSION_IMAGICK: 1
####################### #######################
# Shared script steps # # Shared script steps #
@ -33,7 +35,6 @@ variables:
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
.installSentry: &installSentry |- .installSentry: &installSentry |-
apk add --update-cache --upgrade curl bash
curl -sL https://sentry.io/get-cli/ | bash curl -sL https://sentry.io/get-cli/ | bash
.setupSSH: &setupSSH |- .setupSSH: &setupSSH |-
@ -62,9 +63,7 @@ Composer:
<<: *vendorCache <<: *vendorCache
policy: pull-push policy: pull-push
before_script: before_script:
- sudo composer self-update --2
- composer config github-oauth.github.com "$GITHUB_TOKEN" - composer config github-oauth.github.com "$GITHUB_TOKEN"
- sudo apk add --update --no-cache patch # necessary to make cweagans/composer-patches work
script: script:
- composer install --ignore-platform-reqs - composer install --ignore-platform-reqs