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

Testinfra fixes for dual distro #5529

Merged
merged 4 commits into from Oct 14, 2020

Conversation

kushaldas
Copy link
Contributor

@kushaldas kushaldas commented Sep 24, 2020

Status

Ready for review

Description of Changes

Towards #5509

  • Adds focal as distribution value for the testinfra tests.
  • Uses dynamic Python version value in the testinfra tests

Testing

  • molecule test -s libvirt-staging-focal now should have only 6 test failures :)

Deployment

Any special considerations for deployment? Consider both:

  1. Upgrading existing production instances.
  2. New installs.

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to securedrop-admin:

  • Linting and tests (make -C admin test) pass in the admin development container

If you made changes to the system configuration:

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

If you made changes to documentation:

  • Doc linting (make docs-lint) passed locally

If you added or updated a code dependency:

Choose one of the following:

  • I have performed a diff review and pasted the contents to the packaging wiki
  • I would like someone else to do the diff review

We are choosing the Python major.minor (3.8/3.5) version based on
Focal or Xenial. We are using `MOLECULE_SCENARIO_NAME` environment
variable to identify the distribution version during testinfra
run.
@emkll emkll added this to In Development in SecureDrop Team Board Sep 24, 2020
@eloquence
Copy link
Member

@kushaldas Can you clarify status of this PR? It's currently sitting in "In Development" but the PR body says "Ready for review".

@kushaldas kushaldas moved this from In Development to Ready for Review in SecureDrop Team Board Oct 14, 2020
@kushaldas
Copy link
Contributor Author

Can I move these changes into the new PR for testinfra updates? Otherwise it will be big conflict there.

@kushaldas
Copy link
Contributor Author

Can I move these changes into the new PR for testinfra updates? Otherwise it will be big conflict there.

On a second thought, we should merge this first. As this can be clearly tested.

@zenmonkeykstop zenmonkeykstop self-assigned this Oct 14, 2020
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

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

Rebased and ran molecule test, looking good.

@zenmonkeykstop zenmonkeykstop merged commit d17c7ff into develop Oct 14, 2020
SecureDrop Team Board automation moved this from Ready for Review to Done Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants