-
Notifications
You must be signed in to change notification settings - Fork 690
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
Hotfix for missing config attribute issue. #5760
Conversation
Bring back the try/except blocks needed to support long-running instance configurations that may lack newer attributes. (cherry picked from commit accad09)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good based on visual review.
Associated docs PR is here: freedomofpress/securedrop-docs#142 |
@@ -1,3 +1,9 @@ | |||
securedrop-app-code (1.7.1+focal) focal; urgency=medium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to clean this up in 1.8.0, as we didn't release 1.7.1 for focal
The test failures in admin-tests here: https://app.circleci.com/pipelines/github/freedomofpress/securedrop/1760/workflows/46441d05-f6f1-45f4-8b90-24a72c05a54a/jobs/49540 appear to be related to the fact that we're bumping the version and creating a tag in a single pass, as part of this release. @zenmonkeykstop Does that sound right to you? If so, I suggest we disregard that particular failure and press on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to merge in the 1.7.1 release branch, these changes have been already tagged and released. Only deb-tests-focal is failing (deb-tests-focal and out of date builder)
Agreed. The Focal-only test failures are consistent with what we saw in #5753 (comment), so proceeding with merge. |
Status
Ready for review
Description of Changes
Fixes #5757.
Hotfix PR for missing config attribute issue - contains both the backported fix from #5759 and version/changelog updates (to save CI wall time).
Testing
release/1.7.1
Deployment
Checklist
If you made changes to the server application code:
make lint
) and tests (make test
) pass in the development containerIf you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development containerIf you made changes to the system configuration:
If you added or removed a file deployed with the application:
If you made non-trivial code changes:
Choose one of the following:
If you added or updated a code dependency:
Choose one of the following: