Skip to content

Commit

Permalink
fix(cd): Ensures that existing file permissions are respected when Gi…
Browse files Browse the repository at this point in the history
…tLab Runner clones the project

This allows ansible-galaxy to load the Ansible configuration file in the project directory.

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
  • Loading branch information
brlin-tw committed Sep 25, 2024
1 parent 508e00e commit 6e8f0af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ generate-build-artifacts:
- ./continuous-integration/generate-build-artifacts.install-system-deps.sh
- ./continuous-integration/generate-build-artifacts.sh

variables:
# Ensures that existing file permissions are respected when GitLab Runner clones the project.
# This allows ansible-galaxy to load the Ansible configuration file in the project directory.
# https://gitlab.com/gitlab-org/gitlab-runner/-/issues/1736
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: "true"

upload-release-assets:
stage: deploy
rules:
Expand Down

0 comments on commit 6e8f0af

Please sign in to comment.