Celery provides a more robust set of queueing options for both tasks and
worker processes. Updates include:
- infrastructure necessary to run Celery, including celery entrypoint
- backgrounded functions are now imported directly from atst.jobs
- update tests as-needed
- update kubernetes worker pod command
This adds the following:
- A detect-secrets dependency and a related script
(`script/detect_secrets`) to find and alert developers to secrets
added to the code. By default, the script will search staged and new,
unstaged files. It can optionally search only staged files.
- A whitelist, `.secrets.baseline`, that tracks instances of secrets or
false positives already in the repo.
- Modifies `script/test` to detect secrets as part of the test suite.
- Updates to the README regarding the use of detect-secrets.
We should try and track mainline Python as much as possible.
PyYAML was a sub-dependency of a dev dependency but was being included
in the translations utility. Bundling only the production Python
dependencies was not working because of this.
Previously tests would fail when `pipenv run pytest` was run because the
`FLASK_ENV` was not set. Rather than having to remember to run
`FLAKS_ENV=test pipenv run pytest`, we can use `pytest-env` to set the
env variable. The `D:` prefix tells `pytest-env` to not override an
existing value for the variable.
* Implement OrganizationInfo form, add it to the template
* Format request_new
* Update "Details of Use" section
* Refactor request_new
* Added some new fields, but form is still WIP
* Add details of use fields
* Add org info fields
* Add some comments
* Add Financial Verification and more Details of Use fields
* Update some textarea fields to single text field
* WIP
* Implement OrganizationInfo form, add it to the template
* Format request_new
* Update "Details of Use" section
* Refactor request_new
* Added some new fields, but form is still WIP
* Add details of use fields
* Add org info fields
* Add some comments
* Add Financial Verification and more Details of Use fields
* Update some textarea fields to single text field
* Format
* Update fields with the correct fieldtypes
* Begin updating sidenav changes
* Split form into each section
* adjust and skip some outdated form validation tests
* break request form into multiple form objects
* need to send user ID to requests-queue
* use DateForm for start date in request
* alter request_new handler to pass raw form data to template
* change review form
* Add KO and COR section titles
* Update date input class name
* Add a special case for the summary form. We should refactor this
* Add read-only fields for review and submit section
* Add minimum number validators to request form
* Fix formatting
* Use html5 datepicker for dates
* Fix request form validators
* Finish org info form
* Finish POC form
* Finish financial verification form
* Move PE and UII to financial form
* Un-skip form validation test