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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2022-10-29 07:24:52 +0300
committerWill Chandler <wchandler@gitlab.com>2022-10-29 07:24:52 +0300
commit48a87c1ff5afb587c8ee205f1fc9e8ac0bde8ef4 (patch)
treeca09ea5fa08acb6b7972b5a9d2202e43f532994b
parent2a957f0b627f97c13ced197869d570c84f1bda7f (diff)
ci: Set sticky bit on /tmp
Our FIPS builds use RedHat's ubi8 as their base container image, rather Debian like standard builds. ubi8.6-990 introduces a bug where the sticky bit is no longer set on /tmp, breaking bundler. Work around this issue by setting the sticky bit ourselves in the FIPS job.
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8480915bb..e0d40604a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -270,6 +270,7 @@ test:fips:
image: registry.gitlab.com/gitlab-org/gitlab-build-images/ubi-${UBI_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
before_script:
- test "$(cat /proc/sys/crypto/fips_enabled)" = "1" || (echo "System is not running in FIPS mode" && exit 1)
+ - chmod +t /tmp
- *test_before_script
parallel:
matrix: