Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-07-02 05:18:39 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-07-12 06:33:45 +0300
commit4d1dcf7933442c4b062b85fe26a2aa6cc75a078d (patch)
treed666b9d1ed7b452a439e9c8761701acae694ffc0 /.gitlab/ci/test.yml
parent98303e171b4e7ce5152cadb71afaded07944f92c (diff)
Disable chroot and add daemon-enable-jail flag
- Disable chroot mechanism by default. - Adds the daemon-enable-jail flag which will allow users to enable the legacy chroot mechanism if anything goes wrong. This flag won't be available via Omnibus, instead users will need to define the environment variable and pass to Pages. - Simplify chroot logic from http_fs - Update jail documentation - Enable chroot when domain-config-source=disk Changelog: changed
Diffstat (limited to '.gitlab/ci/test.yml')
-rw-r--r--.gitlab/ci/test.yml25
1 files changed, 21 insertions, 4 deletions
diff --git a/.gitlab/ci/test.yml b/.gitlab/ci/test.yml
index f0e484b9..7377d993 100644
--- a/.gitlab/ci/test.yml
+++ b/.gitlab/ci/test.yml
@@ -15,11 +15,16 @@
- make test ARGS='-short'
- make junit-report
-.tests-acceptance-deamon:
+.tests-acceptance-tmpdir:
extends: .tests-common
script:
- echo "Running just the acceptance tests daemonized (tmpdir)...."
- TEST_DAEMONIZE=tmpdir make acceptance
+ - make junit-report
+
+.tests-acceptance-inplace:
+ extends: .tests-common
+ script:
- echo "Running just the acceptance tests daemonized (inplace)...."
- TEST_DAEMONIZE=inplace make acceptance
- make junit-report
@@ -29,7 +34,11 @@ test:1.14:
image: golang:1.14
test-acceptance:1.14:
- extends: .tests-acceptance-deamon
+ extends: .tests-acceptance-tmpdir
+ image: golang:1.14
+
+test-acceptance-inplace:1.14:
+ extends: .tests-acceptance-inplace
image: golang:1.14
test:1.15:
@@ -37,7 +46,11 @@ test:1.15:
image: golang:1.15
test-acceptance:1.15:
- extends: .tests-acceptance-deamon
+ extends: .tests-acceptance-tmpdir
+ image: golang:1.15
+
+test-acceptance-inplace:1.15:
+ extends: .tests-acceptance-inplace
image: golang:1.15
test:1.16:
@@ -45,7 +58,11 @@ test:1.16:
image: golang:1.16
test-acceptance:1.16:
- extends: .tests-acceptance-deamon
+ extends: .tests-acceptance-tmpdir
+ image: golang:1.16
+
+test-acceptance-inplace:1.16:
+ extends: .tests-acceptance-inplace
image: golang:1.16
race: