Skip to content

Commit 2414ede

Browse files
committed
Merge branch 'develop' into release/v3.8.0
2 parents c5163c5 + f53541f commit 2414ede

File tree

16 files changed

+25
-24
lines changed

16 files changed

+25
-24
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ include:
1919
- local: '/.gitlab-ci/Jobs/test_images.yaml'
2020
- local: '/.gitlab-ci/Jobs/publish.yaml'
2121
- local: '/.gitlab-ci/Jobs/docker-compose-file-upload.yml'
22+
- local: '/.gitlab-ci/Jobs/entrypoint_test.yml'
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
entrypoint-tests:
2+
extends: .rules
23
stage: test
34
image: registry.gitlab.com/passbolt/passbolt-ci-docker-images/debian-bullseye-11-slim:latest
45
before_script:
56
- apt update && apt install curl git -y
67
- curl -fsSL https://git.io/shellspec | sh -s -- --yes
78
script:
8-
- /root/.local/bin/shellspec -c debian/entrypoint -s /bin/bash -f d
9-
rules:
10-
- if: '$CI_PIPELINE_SOURCE == "schedule" || $CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_MESSAGE =~ /test-image/ || $CI_COMMIT_BRANCH == "master"
11-
when: on_success
9+
- /root/.local/bin/shellspec -s /bin/bash -f d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010

1111
## Example: Only specified files/directories
1212
# --kcov-options "--include-pattern=myprog,/lib/"
13+
--execdir @basedir/debian/scripts

debian/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ RUN apt-get update \
4545
COPY conf/supervisor/cron.conf /etc/supervisor/conf.d/cron.conf
4646
COPY conf/supervisor/nginx.conf /etc/supervisor/conf.d/nginx.conf
4747
COPY conf/supervisor/php.conf /etc/supervisor/conf.d/php.conf
48-
COPY debian/entrypoint/docker-entrypoint.sh /docker-entrypoint.sh
49-
COPY debian/entrypoint/passbolt/entrypoint.sh /passbolt/entrypoint.sh
50-
COPY debian/entrypoint/passbolt/env.sh /passbolt/env.sh
51-
COPY debian/entrypoint/passbolt/deprecated_paths.sh /passbolt/deprecated_paths.sh
52-
COPY debian/entrypoint/passbolt/entropy.sh /passbolt/entropy.sh
48+
COPY scripts/entrypoint/docker-entrypoint.sh /docker-entrypoint.sh
49+
COPY scripts/entrypoint/passbolt/entrypoint.sh /passbolt/entrypoint.sh
50+
COPY scripts/entrypoint/passbolt/env.sh /passbolt/env.sh
51+
COPY scripts/entrypoint/passbolt/deprecated_paths.sh /passbolt/deprecated_paths.sh
52+
COPY scripts/entrypoint/passbolt/entropy.sh /passbolt/entropy.sh
5353
COPY scripts/wait-for.sh /usr/bin/wait-for.sh
5454

5555
EXPOSE 80 443

debian/Dockerfile.rootless

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/sites-enabled/nginx-passbolt.
7979

8080
COPY conf/supervisor/nginx.conf /etc/supervisor/conf.d/nginx.conf
8181
COPY conf/supervisor/php.conf /etc/supervisor/conf.d/php.conf
82-
COPY debian/entrypoint/docker-entrypoint.rootless.sh /docker-entrypoint.sh
83-
COPY debian/entrypoint/passbolt/entrypoint-rootless.sh /passbolt/entrypoint-rootless.sh
84-
COPY debian/entrypoint/passbolt/env.sh /passbolt/env.sh
85-
COPY debian/entrypoint/passbolt/deprecated_paths.sh /passbolt/deprecated_paths.sh
86-
COPY debian/entrypoint/passbolt/entropy.sh /passbolt/entropy.sh
82+
COPY scripts/entrypoint/docker-entrypoint.rootless.sh /docker-entrypoint.sh
83+
COPY scripts/entrypoint/passbolt/entrypoint-rootless.sh /passbolt/entrypoint-rootless.sh
84+
COPY scripts/entrypoint/passbolt/env.sh /passbolt/env.sh
85+
COPY scripts/entrypoint/passbolt/deprecated_paths.sh /passbolt/deprecated_paths.sh
86+
COPY scripts/entrypoint/passbolt/entropy.sh /passbolt/entropy.sh
8787
COPY scripts/wait-for.sh /usr/bin/wait-for.sh
8888

8989
EXPOSE 8080 4433

scripts/entrypoint/.shellspec-basedir

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)