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

adds playbook to switch a production instance to use the staging apt repo #5452

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

zenmonkeykstop
Copy link
Contributor

Status

Ready for review

Description of Changes

Towards #3792 .

Updates and adds the playbook formerly available at https://gist.githubusercontent.com/conorsch/e7556624df59b2a0f8b81f7c0c4f9b7d/raw/294294cc4fb243569e121d93350fdee2b2e0920d/securedrop-qa.yml, allowing devs and testers to test the upgrade scenario with release candidate versions..

Testing

  • set up a production instance (VMs or HW) using the current release version.
  • check out this branch
  • follow the instructions in ~/Persistent/securedrop/install_files/ansible-base/securedrop-qa.yml to run the playbook
  • log on to app and mon and verify that
    • the testing apt key has been added, with the command sudo apt-key list 2211B03C
    • the files /etc/apt/security.list and /etc/apt/sources.list.d/apt_freedom_press.list reference apt-test.freedom.press, not apt.freedom.press
    • the command apt-cache policy securedrop-keyring includes apt-test.freedom.press versions in the version table

Deployment

No special requirements

@zenmonkeykstop zenmonkeykstop changed the title adds playbook to switch a production instance to use the staging apt rep adds playbook to switch a production instance to use the staging apt repo Aug 19, 2020
Copy link
Contributor

@rmol rmol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

  • set up a production instance (VMs or HW) using the current release version.
  • check out this branch
  • follow the instructions in ~/Persistent/securedrop/install_files/ansible-base/securedrop-qa.yml to run the playbook
  • log on to app and mon and verify that
    • the testing apt key has been added, with the command sudo apt-key list 2211B03C
    • the files /etc/apt/security.list and /etc/apt/sources.list.d/apt_freedom_press.list reference apt-test.freedom.press, not apt.freedom.press
    • the command apt-cache policy securedrop-keyring includes apt-test.freedom.press versions in the version table

@rmol rmol merged commit 193d352 into develop Aug 19, 2020
@rmol rmol deleted the 3792-add-QA-playbook branch August 19, 2020 20:46
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