Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL] Remove envdir #439

Merged
merged 5 commits into from
Sep 25, 2023
Merged

[INTERNAL] Remove envdir #439

merged 5 commits into from
Sep 25, 2023

Conversation

kfdm
Copy link
Collaborator

@kfdm kfdm commented Sep 25, 2023

Since we have django-environ and we have been moving to a docker deployment, it doesn't make sense to keep envdir around anymore. This PR cleans up the initial bits, though we'll also have a future PR to cleanup the promgen bootstrap command more.

Now that we're deploying Promgen more often with a docker container, it
is better to just rely on django-environ and remove the old dependency
on envdir.
Ensure that we're reading the actual path we want, instead of the
current directory we happen to be in.
Ultimately we will retire this command, but for now we will remove the
settings manipulation since that is now handled via a .env file instead
of envdir. We will remove the bootstrap command (or revisit it) at the
same time we update first-install/development instructions.
@kfdm kfdm requested a review from a team as a code owner September 25, 2023 05:37
Since we're no longer setting a random secret key, we need to ensure
that our docker build step sets something to prevent throwing an error.
@kfdm kfdm merged commit 1630dac into line:master Sep 25, 2023
3 checks passed
@kfdm kfdm deleted the remove-envdir branch September 25, 2023 05:56
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