Commit Graph

51 Commits

Author SHA1 Message Date
Kenneth Kehl
e8d7d91402 switch from pipenv to poetry 2023-09-01 07:56:02 -07:00
Carlo Costino
a44afb0bcc Update cloud.gov org references
quote>
quote> This changeset adjusts our references to the cloud.gov org we are using from gsa-tts-benefits-studio-prototyping to gsa-tts-benefits-studio.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-25 12:25:18 -04:00
Carlo Costino
d79e15c2a1 Clean up state of E2E tests
This changeset takes care of leaving E2E tests in a clean state so that
we can revisit the work later.  The efforts to add authentication
support did not pan out, so we will go a different route in the near
future.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-24 15:31:21 -04:00
Kenneth Kehl
d36c70ed16 notify-api-387 scan projects for unused code 2023-08-08 12:12:15 -07:00
Kenneth Kehl
5afecc2210 undo change to github workflow because I don't have permission 2023-08-08 11:02:33 -07:00
Kenneth Kehl
b92f386290 notify-api-387 scan projects for unused code 2023-08-08 11:00:09 -07:00
Carlo Costino
b5664c3d20 Add support for E2E (end-to-end) tests (#625)
This changeset lays the foundation for supporting E2E (end-to-end) integration tests for US Notify.  It brings in the Playwright testing framework along with the Playwright pytest plugin to make this possible, and includes the following adjustments:

- A new test session fixture for ensuring that Playwright authenticates with the sites that are currently behind HTTP Auth (requies env-var config)
- A new end_to_end test directory specifically for E2E tests
- Updates to the Makefile that make sure E2E tests are not run as a part of the normal test routine but can be run separately
- A new command in the Makefile to run E2E tests that will run in Chromium, Firefox, and Webkit headless browsers

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-07-28 09:31:45 -04:00
Ryan Ahearn
84123c31fb Workflows for enabling production space deploys 2023-05-08 15:41:09 -04:00
Ryan Ahearn
a3ce5e547e Stop setting redis_enabled in secrets 2023-05-08 15:27:55 -04:00
Steven Reilly
3c31bb8c16 bump pip-audit action to 1.0.6 (#498) 2023-05-05 13:20:20 -04:00
Ryan Ahearn
b3e4917b49 Merge pull request #492 from GSA/new-relic-js
New relic JS integration
2023-05-03 08:54:01 -04:00
Andrew Shumway
575c2b7d75 Notify 473: add code coverage for jest (#488) 2023-05-02 16:38:28 -04:00
Ryan Ahearn
c2216d3449 Pass NR_BROWSER_KEY to deploy scripts 2023-05-02 16:08:04 -04:00
Andrew Shumway
948ee68193 Added code coverage test to pipfile/makefile/workflow (#472)
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
2023-04-28 11:17:02 -04:00
Andrew Shumway
ab4d3e356f Tests pinning ubuntu version in Github CI. 2023-04-25 09:54:25 -06:00
Ryan Ahearn
80184a98fd Remove ignore-vulnerability line for remediated redis vuln 2023-03-29 16:55:42 -04:00
Ryan Ahearn
1fe0ad0d83 Ignore known issue with redis 4.5.3 2023-03-28 09:16:09 -04:00
Ryan Ahearn
d4397831fe Run terraform on deploy when shared modules change 2023-03-27 08:52:07 -04:00
Ryan Ahearn
d7b72bd3dc Add terraform drift detector 2023-03-20 14:13:20 -04:00
Ryan Ahearn
67b64f11b9 Use credentials output by terraform/development 2023-03-13 15:30:37 -04:00
Ryan Ahearn
aa3043e8df Remove direct use of aws creds from deployed environments 2023-02-01 11:57:59 -05:00
Ryan Ahearn
fb0c3e99d9 Configure egress proxy for new relic integration 2023-01-23 10:41:26 -05:00
Ryan Ahearn
c622b61bcd Validate new relic config in github actions 2023-01-23 10:02:26 -05:00
Ryan Ahearn
23f6f3c726 Report data to newrelic 2023-01-23 10:00:03 -05:00
Ryan Ahearn
197c17c1a9 Update pip-audit gh action 2023-01-03 09:59:27 -05:00
stvnrlly
a0e4e184a9 pipenv in gh actions 2022-11-08 09:44:41 -05:00
Ryan Ahearn
cd36675be1 Demo deploy should use demo variables 2022-11-03 14:21:55 -04:00
Ryan Ahearn
bdc38b2e72 Setup github workflows for new spaces 2022-11-02 16:04:58 -04:00
Ryan Ahearn
55abdae45d Use stable OWASP image because weekly is hanging 2022-10-27 13:11:46 -04:00
Ryan Ahearn
98b772f959 Separate test and lint steps 2022-10-27 11:10:13 -04:00
Ryan Ahearn
d87d673b85 Consolidate and simplify environment variables and config.py 2022-10-19 20:29:45 +00:00
Ryan Ahearn
773cd99790 Only run pip-audit on runtime dependencies in CI 2022-10-19 10:39:46 -04:00
Ryan Ahearn
442bc39ca0 Merge pull request #61 from GSA/terraform-services
Create admin redis via terraform
2022-09-21 22:38:20 -04:00
Ryan Ahearn
ac89d7f1be Update app name to follow shared terraform module conventions 2022-09-13 14:46:02 -04:00
Ryan Ahearn
5a66634b18 Run terraform within CI/CD pipeline 2022-09-13 14:41:34 -04:00
jimmoffet
c702104421 fix redis mocking for test runner 2022-09-12 17:38:53 -07:00
Ryan Ahearn
251ac133b5 Source nvmsh as part of a11y-scan 2022-09-02 13:29:56 -04:00
Ryan Ahearn
fe7ea73b61 Use prod secrets for deployed environments 2022-09-02 12:12:35 -04:00
Ryan Ahearn
dfea3ac848 Install pa11y-ci 2022-08-30 10:37:33 -04:00
Ryan Ahearn
0213598bf8 Switch some false-positive prone tests to WARN instead of FAIL 2022-08-29 13:01:20 -04:00
Ryan Ahearn
581caa4d14 Add owasp full scan to daily checks 2022-08-26 17:14:08 -04:00
Ryan Ahearn
3341c08245 Add owasp baseline scan with Scanning environment 2022-08-26 17:08:35 -04:00
Ryan Ahearn
8b6210eedb Add python static scan task 2022-08-26 14:12:26 +00:00
Ryan Ahearn
fa7b1a41b8 Add python and npm audits to checks.yml 2022-08-25 16:55:33 -04:00
Ryan Ahearn
180012c573 Pass REDIS_ENABLED from secrets to deploy action 2022-08-24 16:21:09 -04:00
jimmoffet
c449abede7 make redis_enabled a gh secret for ease of debugging redis 2022-08-24 12:49:20 -07:00
Ryan Ahearn
d9ca79a678 Include missing deploy vars in deploy action 2022-08-24 13:48:30 -04:00
Jim Moffet
3851084a9f Update .github/workflows/deploy.yml
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
2022-08-16 11:33:06 -07:00
jimmoffet
cdd7b42f21 add js tests to checks.yml 2022-08-15 16:42:40 -07:00
Ryan Ahearn
02452fada4 Enable flake8 and isort in CI 2022-08-09 14:31:35 +00:00