-
Notifications
You must be signed in to change notification settings - Fork 7
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
2023-04-03 main -> prod #2397
Merged
2023-04-03 main -> prod #2397
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Approach for changing old-format report_ids to new format. * Change data_source. * Configure Terraform's s3 backend endpoint with a URL The old parameter has been deprecated, and there appears to be stronger requirements for a URL, not just a hostname, for the endpoint value. * Second try at giving the Terraform S3 backend a URL endpoint The newer argument referred to in the deprecation warning (`endpoints.s3`) is not being accepted. So we'll go back to just specifying `endpoint`, but give it a URL instead of just a hostname for the endpoint. * Propagate S3 backend endpoint URL change to local config This file populates the necessary Terraform config for local development (an alternative to the GHA workflow, which supplies the backend vars as secrets). This change accounts for the stricter checking on the `endpoint`, which should be a URL rather than a hostname; see the previous commit for more context. * Provide URL for s3 backend endpoint during Terraform apply Similar to previous commits: We have to provide a URL here, since Terraform got stricter about the value it wants for "endpoint". This commit is for the workflow used during the actual deployment. --------- Co-authored-by: Bret Mogilefsky <bret.mogilefsky@gsa.gov>
Terraform plan for production No changes. Your infrastructure matches the configuration.
📝 Plan generated in Pull Request Checks #1227 |
Terraform plan for staging No changes. Your infrastructure matches the configuration.
✅ Plan applied in Deploy to Staging Environment #58 |
tadhg-ohiggins
approved these changes
Oct 4, 2023
Minimum allowed coverage is Generated by 🐒 cobertura-action against 5f6d265 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Approach for changing old-format report_ids to new format.
Change data_source.
Configure Terraform's s3 backend endpoint with a URL
The old parameter has been deprecated, and there appears to be stronger requirements for a URL, not just a hostname, for the endpoint value.
The newer argument referred to in the deprecation warning (
endpoints.s3
) is not being accepted. So we'll go back to just specifyingendpoint
, but give it a URL instead of just a hostname for the endpoint.This file populates the necessary Terraform config for local development (an alternative to the GHA workflow, which supplies the backend vars as secrets). This change accounts for the stricter checking on the
endpoint
, which should be a URL rather than a hostname; see the previous commit for more context.Similar to previous commits: We have to provide a URL here, since Terraform got stricter about the value it wants for "endpoint". This commit is for the workflow used during the actual deployment.
PR checklist: submitters
main
into your branch shortly before creating the PR. (You should also be mergingmain
into your branch regularly during development.)PR checklist: reviewers
make docker-clean; make docker-first-run && docker compose up
; then rundocker compose exec web /bin/bash -c "python manage.py test"
The larger the PR, the stricter we should be about these points.