Skip to content

add terraform/packages dir to initialize_datadir()#2501

Merged
sachilles merged 1 commit intosameersbn:masterfrom
kkimurak:add-terraform-and-packages-to-datadir-initialization
Jan 29, 2022
Merged

add terraform/packages dir to initialize_datadir()#2501
sachilles merged 1 commit intosameersbn:masterfrom
kkimurak:add-terraform-and-packages-to-datadir-initialization

Conversation

@kkimurak
Copy link
Contributor

Also add them to sanitize_datadir()

In GitLab 14.7.0, backup now contains terraform state and package registry files.
The backup task will fail if these directories do not exist with each feature enabled. Currently terraform_state is enabled by default, user cannot change this from environment variables like GITLAB_TERRAFORM_STATE_ENABLED.

Note: path for terraform state is not parameterized. PR is on #2438 so we have to replace the path with parameterized one if the PR is accepted.

Also add them to sanitize_datadir()

Note that the backup will fail if these directories do not exist
with each feature enabled.
@sachilles sachilles merged commit d7d5eba into sameersbn:master Jan 29, 2022
@kkimurak kkimurak deleted the add-terraform-and-packages-to-datadir-initialization branch January 30, 2022 02:52
peter-jozsa added a commit to peter-jozsa/docker-gitlab that referenced this pull request Apr 11, 2022
peter-jozsa added a commit to peter-jozsa/docker-gitlab that referenced this pull request Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants