-
Notifications
You must be signed in to change notification settings - Fork 687
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
Prod vms on focal #5669
Prod vms on focal #5669
Conversation
Tested with the following steps:
If I use |
@zenmonkeykstop I think after #5670 is merged, you will have to rebase, and then with a CI green, we are good to merge. |
dde5349
to
57fe4af
Compare
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.
Tested with the following steps:
-
on dev box:
- check out this branch
- add the
bento/ubuntu-20.04
Vagrant box if not already present - set up prod focal base vms with
USE_FOCAL=1 vagrant up --no-provision /prod/
- build focal debs with
make build-debs-focal
- set up local apt repo with
vagrant up apt-local
-
in admin workstation:
- proceed with prod provisioning as normal as far as
./securedrop-admin sdconfig
- follow instructions in
install_files/ansible-base/securedrop-apt-local.yml
to add local repo on VMs - update
install-fpf-repo
defaults to point to apt-test+test key - do
./securedrop-admin install
- proceed with prod provisioning as normal as far as
-
installation completes successfully on Focal prod VMs
-
apt-cache policy securedrop-app-code
lists the local apt server as the source -
Source and Journalist Interface are accessible and version matches local deb version.
I will wait till standup before merging. Approved.
Status
Ready for review
Description of Changes
Fixes #5668 .
Adds functionality to do a Focal production install using local deb packages and the
focal
dist onapt-test.freedom.press
.Testing
on dev box:
bento/ubuntu-20.04
Vagrant box if not already presentUSE_FOCAL=true vagrant up --no-provision /prod/
make build-debs-focal
vagrant up apt-local
in admin workstation:
./securedrop-admin sdconfig
install_files/ansible-base/securedrop-apt-local.yml
to add local repo on VMsinstall-fpf-repo
defaults to point to apt-test+test key./securedrop-admin install
installation completes successfully on Focal prod VMs
apt-cache policy securedrop-app-code
lists the local apt server as the sourceSource and Journalist Interface are accessible and version matches local deb version.
Deployment
Any special considerations for deployment? Consider both:
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 made non-trivial code changes:
Choose one of the following:
If you added or updated a code dependency:
Choose one of the following: