From 22077e1e152906e27036f9c98bdad513c0566bc5 Mon Sep 17 00:00:00 2001
From: Patrick Weyck
Date: Mon, 4 Oct 2021 11:28:38 +0200
Subject: [PATCH] NEXT-17690 - Add missing php module php-session
---
.gitlab-ci/release_jobs.yml | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci/release_jobs.yml b/.gitlab-ci/release_jobs.yml
index 50ee43781a..64d8e18b09 100644
--- a/.gitlab-ci/release_jobs.yml
+++ b/.gitlab-ci/release_jobs.yml
@@ -4,6 +4,26 @@
# - prepare-release
# - release
+
+.install_alpine_deps: &install_alpine_deps
+ - apk --no-cache add npm openssh-client git bash jq composer php-ctype php-curl php-dom php-fileinfo php-gd php-iconv php-intl php-json php-mbstring php-pdo php-pdo_mysql php-simplexml php-xml php-zip php-xmlwriter php-tokenizer php-sodium php-session
+
+Test alpine image install:
+ stage: test
+ image: alpine:3.13
+ only:
+ refs:
+ - schedules
+ - merge_requests
+ before_script: []
+ script:
+ - *install_alpine_deps
+ - composer install
+
+Test docker image install:
+ extends: Test alpine image install
+ image: docker:19
+
Prepare release:
stage: prepare-release
image: debian:bullseye-slim
@@ -46,7 +66,7 @@ Release tags:
PLATFORM_REPO_URL: "git@gitlab.shopware.com:shopware/6/product/platform"
CI_REPOSITORY_URL: "git@gitlab.shopware.com:/shopware/6/product/production"
before_script:
- - apk --no-cache add openssh-client git bash jq composer php-ctype php-curl php-dom php-fileinfo php-gd php-iconv php-intl php-json php-mbstring php-pdo php-pdo_mysql php-simplexml php-xml php-zip php-xmlwriter php-tokenizer php-sodium
+ - *install_alpine_deps
- mkdir -p ~/.ssh/
- echo -e "$SHOPWAREBOT_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
@@ -99,7 +119,7 @@ Build package:
SHOPWARE_SKIP_ASSET_COPY: 1
SHOPWARE_SKIP_THEME_COMPILE: 1
before_script:
- - apk --no-cache add git bash jq composer npm openssh-client php-ctype php-curl php-dom php-fileinfo php-gd php-iconv php-intl php-json php-mbstring php-pdo php-pdo_mysql php-simplexml php-xml php-zip php-xmlwriter php-tokenizer php-sodium
+ - *install_alpine_deps
- umask 0022
- git init .
- git remote add origin ${CI_REPOSITORY_URL}