Skip to content

Commit 98e3bf0

Browse files
committed
Merge branch 'release/2.1.0'
2 parents d597f03 + 0949371 commit 98e3bf0

File tree

4 files changed

+32
-29
lines changed

4 files changed

+32
-29
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
default:
2+
retry:
3+
max: 2
4+
when:
5+
- runner_system_failure
6+
- stuck_or_timeout_failure
7+
- api_failure
8+
- stale_schedule
9+
110
stages:
211
- Quality
312
- Test CE
413
- Test PRO
514
- Publish
615

7-
include: '.gitlab-ci/**.yml'
16+
include: ".gitlab-ci/**.yml"

.gitlab-ci/test.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,26 +135,26 @@ openSUSE 15 PRO:
135135
ZYPPER_OPTIONS: "-n --no-gpg-checks"
136136
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/opensuse-leap-15
137137

138-
Fedora 34 CE:
138+
Fedora 36 CE:
139139
extends: .test-rpm-ce
140-
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-34
141-
142-
Fedora 34 PRO:
143-
extends: .test-rpm-pro
144-
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-34
140+
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-36
145141

146-
Fedora 35 CE:
142+
Fedora 37 CE:
147143
extends: .test-rpm-ce
148-
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-35
149-
150-
Fedora 35 PRO:
151-
extends: .test-rpm-pro
152-
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-35
144+
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-37
153145

154-
Fedora 36 CE:
146+
Fedora 38 CE:
155147
extends: .test-rpm-ce
156-
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-36
148+
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-38
157149

158150
Fedora 36 PRO:
159151
extends: .test-rpm-pro
160152
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-36
153+
154+
Fedora 37 PRO:
155+
extends: .test-rpm-pro
156+
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-37
157+
158+
Fedora 38 PRO:
159+
extends: .test-rpm-pro
160+
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/fedora-38

passbolt-repo-setup.ce.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ function is_supported_distro() {
6666
"ol9"
6767
"almalinux8"
6868
"almalinux9"
69-
"fedora34"
70-
"fedora35"
7169
"fedora36"
70+
"fedora37"
71+
"fedora38"
7272
"opensuse-leap15"
7373
)
7474
for DISTRO in "${DISTROS[@]}"
@@ -105,7 +105,7 @@ compliance_check () {
105105
then
106106
_error_exit "${PHP_ERROR}"
107107
fi
108-
if rpm -qa | grep remi-release > /dev/null
108+
if rpm -qa | grep remi-release > /dev/null
109109
then
110110
_error_exit "remi-release is already installed, please remove it before executing this script"
111111
fi
@@ -192,7 +192,7 @@ enabled=1
192192
autorefresh=0
193193
baseurl=http://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_${OS_VERSION}/
194194
EOF
195-
PHP_EXTENSION_REPO_VERSION="openSUSE_Leap_${OS_VERSION}"
195+
PHP_EXTENSION_REPO_VERSION="${OS_VERSION}"
196196
if [ "${OS_VERSION}" = "15.4" ]
197197
then
198198
PHP_EXTENSION_REPO_VERSION="15.4"
@@ -317,13 +317,7 @@ EOF
317317
}
318318

319319
install_passbolt () {
320-
if [ "${PACKAGE_MANAGER}" = "apt" ]
321-
then
322320
${PACKAGE_MANAGER} install -y passbolt-${PASSBOLT_FLAVOUR}-server
323-
elif [ "${PACKAGE_MANAGER}" = "yum" ] || [ "${PACKAGE_MANAGER}" = "dnf" ] || [ "${PACKAGE_MANAGER}" = "zypper" ]
324-
then
325-
${PACKAGE_MANAGER} install -y passbolt-${PASSBOLT_FLAVOUR}-server
326-
fi
327321
}
328322

329323
setup_complete () {

passbolt-repo-setup.pro.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ function is_supported_distro() {
6666
"ol9"
6767
"almalinux8"
6868
"almalinux9"
69-
"fedora34"
70-
"fedora35"
7169
"fedora36"
70+
"fedora37"
71+
"fedora38"
7272
"opensuse-leap15"
7373
)
7474
for DISTRO in "${DISTROS[@]}"
@@ -105,7 +105,7 @@ compliance_check () {
105105
then
106106
_error_exit "${PHP_ERROR}"
107107
fi
108-
if rpm -qa | grep remi-release > /dev/null
108+
if rpm -qa | grep remi-release > /dev/null
109109
then
110110
_error_exit "remi-release is already installed, please remove it before executing this script"
111111
fi
@@ -192,7 +192,7 @@ enabled=1
192192
autorefresh=0
193193
baseurl=http://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_${OS_VERSION}/
194194
EOF
195-
PHP_EXTENSION_REPO_VERSION="openSUSE_Leap_${OS_VERSION}"
195+
PHP_EXTENSION_REPO_VERSION="${OS_VERSION}"
196196
if [ "${OS_VERSION}" = "15.4" ]
197197
then
198198
PHP_EXTENSION_REPO_VERSION="15.4"

0 commit comments

Comments
 (0)