ci: set umask instead of ARTI_FS_DISABLE_PERMISSION_CHECKS
This commit is contained in:
parent
4b0459d204
commit
4797c120d0
|
@ -7,6 +7,13 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
# We don't need Husky to install the Git hooks for CI.
|
# We don't need Husky to install the Git hooks for CI.
|
||||||
CARGO_HUSKY_DONT_INSTALL_HOOKS: "true"
|
CARGO_HUSKY_DONT_INSTALL_HOOKS: "true"
|
||||||
|
# fs-mistrust doesn't like umask 0
|
||||||
|
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: "true"
|
||||||
|
|
||||||
|
default:
|
||||||
|
before_script:
|
||||||
|
# gitlab fetch strategy doesn't reset permissions
|
||||||
|
- (while [ "$PWD" != / ]; do chmod go-w . && cd ..; done)
|
||||||
|
|
||||||
check-editorconfig:
|
check-editorconfig:
|
||||||
stage: check
|
stage: check
|
||||||
|
@ -134,9 +141,6 @@ build-repro:
|
||||||
integration:
|
integration:
|
||||||
stage: test
|
stage: test
|
||||||
image: debian:stable-slim
|
image: debian:stable-slim
|
||||||
variables:
|
|
||||||
# The build environment here runs as root and seems to have umask 000.
|
|
||||||
ARTI_FS_DISABLE_PERMISSION_CHECKS: "true"
|
|
||||||
script:
|
script:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y tor git python3 curl dnsutils
|
- apt install -y tor git python3 curl dnsutils
|
||||||
|
@ -157,9 +161,6 @@ coverage-aggregated:
|
||||||
stage: test
|
stage: test
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
|
||||||
# The build environment here runs as root and seems to have umask 000.
|
|
||||||
ARTI_FS_DISABLE_PERMISSION_CHECKS: "true"
|
|
||||||
script:
|
script:
|
||||||
- apt update && apt install -y tor python3 python3-pip python3-setuptools curl
|
- apt update && apt install -y tor python3 python3-pip python3-setuptools curl
|
||||||
# install deps for report generation
|
# install deps for report generation
|
||||||
|
|
Loading…
Reference in New Issue