Skip to content

Commit d466692

Browse files
Merge branch 'main' into jgavin/OSCER-408-staff-case-income-attribution
Resolve conflicts: application.scss (USWDS overrides + compliance styles), income compliance service + specs, certification case views/specs, external hourly/income naming alignment with main. Co-authored-by: Cursor <cursoragent@cursor.com>
2 parents b109a45 + 1598ca9 commit d466692

173 files changed

Lines changed: 3178 additions & 700 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/send-system-notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Send Slack message
6565
if: ${{ steps.get-channel-type.outputs.channel_type == 'slack' }}
66-
uses: slackapi/slack-github-action@v3.0.2
66+
uses: slackapi/slack-github-action@v3.0.3
6767
with:
6868
method: chat.postMessage
6969
token: ${{ secrets[env.SLACK_TOKEN_SECRET_NAME] }}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v1.0.0
2+
_commit: v1.0.0-3-gc7f7e95
33
_src_path: https://github.com/navapbc/template-application-rails
44
app_local_port: 3000
55
app_name: reporting-app
6-
postgres_version: '16'

.template-infra/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.15.7-1-g4ebae27
2+
_commit: v0.17.0-1-gad00fcf
33
_src_path: https://github.com/navapbc/template-infra
44
base_code_repository_url: https://github.com/navapbc/oscer
55
base_default_region: us-east-1

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ PROJECT_ROOT ?= $(notdir $(PWD))
22

33
# Use `=` instead of `:=` so that we only execute `./bin/current-account-alias` when needed
44
# See https://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors
5-
CURRENT_ACCOUNT_ALIAS = `./bin/current-account-alias`
6-
7-
CURRENT_ACCOUNT_ID = $(./bin/current-account-id)
5+
CURRENT_ACCOUNT_ALIAS = $(shell ./bin/current-account-alias)
6+
CURRENT_ACCOUNT_ID = $(shell ./bin/current-account-id)
87

98
# Get the list of reusable terraform modules by getting out all the modules
109
# in infra/modules and then stripping out the "infra/modules/" prefix
@@ -193,7 +192,7 @@ infra-configure-app-service: ## Configure infra/$APP_NAME/service module's tfbac
193192
./bin/create-tfbackend "infra/$(APP_NAME)/service" "$(ENVIRONMENT)"
194193

195194
infra-update-current-account: ## Update infra resources for current AWS profile
196-
./bin/terraform-init-and-apply infra/accounts `./bin/current-account-config-name`
195+
./bin/terraform-init-and-apply infra/accounts $$(./bin/current-account-config-name)
197196

198197
infra-update-network: ## Update network
199198
@:$(call check_defined, NETWORK_NAME, the name of the network in /infra/networks)
@@ -272,7 +271,7 @@ infra-format: ## Format infra code
272271

273272
infra-test-service: ## Run service layer infra test suite
274273
@:$(call check_defined, APP_NAME, "the name of subdirectory of /infra that holds the application's infrastructure code")
275-
cd infra/test && APP_NAME=$(APP_NAME) go test -run TestService -v -timeout 30m
274+
cd infra/test && APP_NAME=$(APP_NAME) IMAGE_TAG=$(IMAGE_TAG) go test -run TestService -v -timeout 30m
276275

277276
#############
278277
## Linting ##

bin/account-ids-by-name

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Prints a JSON dictionary that maps account names to account ids for the list
33
# of accounts given by the terraform backend files of the form
44
# <ACCOUNT_NAME>.<ACCOUNT_ID>.s3.tfbackend in the infra/accounts directory.

bin/check-database-roles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -----------------------------------------------------------------------------
33
# Script that invokes the database role-manager AWS Lambda function to check
44
# that the Postgres users were configured properly.

bin/check-github-actions-auth

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -----------------------------------------------------------------------------
33
# This script configures the database module for the specified application
44
# and environment by creating the .tfvars file and .tfbackend file for the module.

bin/configure-monitoring-secret

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -----------------------------------------------------------------------------
33
# This script creates SSM parameter for storing integration URL for incident management
44
# services. Script creates new SSM attribute or updates existing.

bin/create-or-update-database-roles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -----------------------------------------------------------------------------
33
# Script that invokes the database role-manager AWS Lambda function to create
44
# or update the Postgres user roles for a particular environment.

bin/create-tfbackend

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -----------------------------------------------------------------------------
33
# This script creates a terraform backend config file for a terraform module.
44
# It is not meant to be used directly. Instead, it is called by other scripts
@@ -23,11 +23,9 @@ tf_state_key="${3:-${module_dir}/${backend_config_name}.tfstate}"
2323
backend_config_file="${module_dir}/${backend_config_name}.s3.tfbackend"
2424

2525
# Get the name of the S3 bucket that was created to store the tf state
26-
# and the name of the DynamoDB table that was created for tf state locks.
2726
# This will be used to configure the S3 backends in all the application
2827
# modules
2928
tf_state_bucket_name=$(terraform -chdir="infra/accounts" output --raw tf_state_bucket_name)
30-
tf_locks_table_name=$(terraform -chdir="infra/accounts" output --raw tf_locks_table_name)
3129
region=$(terraform -chdir="infra/accounts" output --raw region)
3230

3331
echo "===================================="
@@ -44,7 +42,6 @@ cp infra/example.s3.tfbackend "${backend_config_file}"
4442
# Replace the placeholder values
4543
sed -i.bak "s/<TF_STATE_BUCKET_NAME>/${tf_state_bucket_name}/g" "${backend_config_file}"
4644
sed -i.bak "s|<TF_STATE_KEY>|${tf_state_key}|g" "${backend_config_file}"
47-
sed -i.bak "s/<TF_LOCKS_TABLE_NAME>/${tf_locks_table_name}/g" "${backend_config_file}"
4845
sed -i.bak "s/<REGION>/${region}/g" "${backend_config_file}"
4946

5047
# Remove the backup file created by sed

0 commit comments

Comments
 (0)