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

Improve testing of static assets in Debian packaging #5644

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

rmol
Copy link
Contributor

@rmol rmol commented Nov 18, 2020

Status

Ready for review

Description of Changes

Add more complete testing of packaging of static assets.

Simplify conftest, eliminate testutils in builder-xenial scenario.

In builder-xenial/test_securedrop_deb_package, eliminate some host calls and inefficient parameterization, to speed things up.

Fixes #5643.

Testing

  • Check out develop.
  • Remove the following lines from securedrop/.rsync-filter:
include static/icons/
include static/icons/**
  • make build-debs -- the missing icons should cause no errors.
  • git checkout -b improve-asset-tests origin/improve-asset-tests
  • make build-debs -- the missing icons should cause test errors.

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 non-trivial code changes:

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

Choose one of the following:

  • I have opened a PR in the docs repo for these changes, or will do so later
  • I would appreciate help with the documentation
  • These changes do not require documentation

Add more complete testing of packaging of static assets.

Simplify conftest, eliminate testutils in builder-xenial scenario.

In builder-xenial/test_securedrop_deb_package, eliminate some host
calls and inefficient parameterization, to speed things up.
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.

Test plan passing, this looks good to go!

@zenmonkeykstop zenmonkeykstop merged commit 9059594 into develop Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debian packages aren't tested for presence of all static assets
2 participants