Commit Graph

213 Commits

Author SHA1 Message Date
Kenneth Kehl
aede24b14d initial 2025-03-12 12:26:35 -07:00
Carlo Costino
00e6e560fa Fix up Terraform installation and get back to latest changed file check
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-02-19 21:36:51 -05:00
Carlo Costino
76ff8c11e9 Try installing Terraform directly per GitHub Action issue
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-02-19 21:26:45 -05:00
Carlo Costino
1de2c8081b Update Terraform config and revert staging deploy change
This changeset updates the Terraform user configuration in several environments to factor in team member changes, and reverts the previous change to the staging deploy to see if there was an issue with the last update which is preventing the workflow from running now.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-02-19 18:21:57 -05:00
Carlo Costino
87c4429055 Update GitHub Action References
This changeset updates many of our GitHub Action references to point to the latest versions to ensure they are kept up-to-date.  This helps address any improvements and security patches that have been made to them.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-02-19 16:42:34 -05:00
Carlo Costino
0e3e305bfe Update daily checks reference as well.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-01-31 11:07:26 -05:00
Carlo Costino
b119457a47 Update zaproxy-api-scan reference
This changeset updates our GitHub Action for dynamic scans to use the latest release of the zaproxy-api-scan.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-01-31 10:55:33 -05:00
Kenneth Kehl
49f4129e5b add tada to makefile 2025-01-23 13:41:13 -08:00
Kenneth Kehl
a5a9522056 automate formatting and import sorting 2025-01-23 10:26:11 -08:00
Carlo Costino
1c67478d5e Update daily_check GitHub Action
This changeset updates the reference of the upload_artifacts action from GitHub to be v4 instead of v3. v3 is being deprecated at the end of January 2025.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-01-07 15:27:05 -05:00
Kenneth Kehl
a4d8e4fd4c pin poetry version to 1.8.5 2025-01-06 07:29:41 -08:00
Carlo Costino
55f538b10f Update Restage workflow to use latest cg-cli-tools
This changeset updates our restage workflow and GitHub action to use the latest version of the cg-cli-tools to help prevent future issues with performing restage actions for our apps.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-12-03 17:28:36 -05:00
Carlo Costino
8aa19807f1 Add redis ID to ignore vulnerability list in pip-audit
This changeset adds a Python vulnerability that we need to ignore because it was incorrectly applied to the Python Redis module.  This is a vulnerability with an older version of Redis itself, not the Python module.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-22 10:51:14 -05:00
Kenneth Kehl
93ea9058ea raise code coverage to 94% 2024-10-23 14:03:37 -07:00
Kenneth Kehl
f4f6312206 Merge pull request #1355 from GSA/notify-api-1351
increase code coverage to 93 percent
2024-10-17 11:49:12 -07:00
Carlo Costino
430318ed58 Fix reference to prod space
This changeset fixes the name of the prod space (notify-production).

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-16 14:19:57 -04:00
Carlo Costino
c255eb4493 Fix egress proxy space references
This changeset fixes the references to the egress proxy spaces in the demo and prod environments.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-16 12:35:56 -04:00
Carlo Costino
3f6c362f15 Finalize updates for cg-cli-tools
This changeset finalizes our updates for the cg-cli-tools across all environments and restores the check for updates to the egress proxy before deploying.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-10 18:34:52 -04:00
Carlo Costino
f644f5250c Fix environment name references for CF
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-10 13:10:01 -04:00
Carlo Costino
22bb1d0b8c Swap config vars for env vars
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-09 14:23:25 -06:00
Carlo Costino
a1b6047292 Merge branch 'main' into update-egress-proxy 2024-10-09 13:52:30 -06:00
Carlo Costino
c2f2e36262 Added missing egress proxy deploy action inputs
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-09 13:52:01 -06:00
Carlo Costino
f81785c9b4 Update egress proxy deployment steps
This changeset updates the egress proxy deployment steps to match the admin repo, based on lessons learned there.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-04 22:53:23 -04:00
Andrew Shumway
497f91af4d Fix deploy config references 2024-10-04 11:20:57 -06:00
Andrew Shumway
584f24390c Switch back repo reference and update deploy tool for demo/prod scripts 2024-10-04 11:17:34 -06:00
Andrew Shumway
0c100dd7cc Change references name in deploy tool 2024-10-04 10:26:23 -06:00
Kenneth Kehl
ff5d405a15 raise coverage to 93 2024-10-03 10:30:30 -07:00
Carlo Costino
aba9132f5f Merge pull request #1353 from GSA/fix-login-gov-url-var-name-with-quotes
Attempt quoting the Login.gov URL with var-name
2024-10-01 17:46:11 -04:00
Carlo Costino
182572a6b7 Forgot to add the push command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 17:39:20 -04:00
Carlo Costino
05838f964f Revert back to our original formatting, but include the --strategy rolling
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 17:37:03 -04:00
Kenneth Kehl
bda8b75812 Merge pull request #1349 from GSA/fix_personalization_bug
fix personalization_bug for one-offs
2024-10-01 14:36:35 -07:00
Carlo Costino
f8410a27fd Attempt quoting the Login.gov URL with var-name
This changeset tries to wrap the Login.gov registration URL with quotes to get it to be properly handled in the shell environment using the same pattern as the secret variables.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 17:29:05 -04:00
Carlo Costino
b70d47fa38 Attempt quoting the Login.gov URL
This changeset tries to wrap the Login.gov registration URL with quotes to get it to be properly handled in the shell environment.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 17:09:10 -04:00
Kenneth Kehl
37e5de331a don't run coverage on tests 2024-10-01 13:31:04 -07:00
Kenneth Kehl
ab7e57597a don't run coverage on tests 2024-10-01 13:21:05 -07:00
Carlo Costino
05bac16376 One more attempt at fixing the Login.gov registration URL
This changeset attempts another fix by referencing the environment variable in a different fashion, according to the GitHub docs:

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#example-usage-of-the-env-context
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 16:08:48 -04:00
Carlo Costino
1f4905efa0 Refer to GitHub Action container environment variable
This changeset attempts to fix another issue with the deploy command by setting and referring to an environment variable directly.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-10-01 09:50:14 -04:00
Carlo Costino
1c231b1bbe Adjust LOGIN_DOT_GOV_REGISTRATION_URL env var in staging deploy
This changeset will hopefully fix the reference to the LOGIN_DOT_GOV_REGISTRATION_URL env var in the new cf_command.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-09-30 17:27:05 -04:00
Andrew Shumway
70dc52be81 Go back to brackets with secrets. in command 2024-09-30 14:38:01 -06:00
Andrew Shumway
f4a07621ef Fix syntax on cf command 2024-09-30 13:36:05 -06:00
Andrew Shumway
db7cc32e12 Merge branch 'main' of https://github.com/GSA/notifications-api into fix-cfcommand-deploytool 2024-09-30 09:25:05 -06:00
Andrew Shumway
e0dab07300 Fix env var syntax 2024-09-30 09:24:50 -06:00
Kenneth Kehl
1569de2afd revert coverage changes 2024-09-26 14:59:18 -07:00
Kenneth Kehl
b4db1b0b2d revert coverage changes 2024-09-26 14:49:53 -07:00
Kenneth Kehl
67467bbedc dont do coverage of test directory 2024-09-26 14:39:19 -07:00
Kenneth Kehl
b656ad84b7 dont do coverage of test directory 2024-09-26 14:23:19 -07:00
Kenneth Kehl
3259717061 dont do coverage of test directory 2024-09-26 14:15:51 -07:00
Andrew Shumway
ec4e522dc9 Modify input to accepted argument 2024-09-26 10:33:46 -06:00
Andrew Shumway
ada2c3ec45 Change 18f deploy tool to CG deploy tool 2024-09-18 10:37:43 -06:00
Kenneth Kehl
861d604a58 add generate-salt task and remove deploy rotate-secret 2024-08-23 07:23:35 -07:00