Skip to content

Commit 00160c7

Browse files
committed
fix(build): correct make lint template paths
The lint target in all three Makefiles pointed at flattened paths (infrastructure/<service>.yaml) that don't exist; the actual templates are at infrastructure/<service>-service/template.yaml. make lint always failed past the domain template. Corrected to the real path in each service.
1 parent d3fd509 commit 00160c7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

unicorn_approvals/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ lint: ## Lint Python code and CloudFormation templates
107107
@uv run ruff check .
108108
@uv run ruff format --check .
109109
@echo "Linting CloudFormation templates..."
110-
@cfn-lint infrastructure/approvals-service.yaml -a cfn_lint_serverless.rules
110+
@cfn-lint infrastructure/approvals-service/template.yaml -a cfn_lint_serverless.rules
111111
@cfn-lint infrastructure/domain.yaml
112112
@cfn-lint infrastructure/schema-registry/PublicationEvaluationCompleted-schema.yaml
113113
@cfn-lint infrastructure/subscriptions/unicorn-contracts-subscriptions.yaml

unicorn_contracts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ lint: ## Lint Python code and CloudFormation templates
6969
@uv run ruff check .
7070
@uv run ruff format --check .
7171
@echo "Linting CloudFormation templates..."
72-
@cfn-lint infrastructure/contracts-service.yaml -a cfn_lint_serverless.rules
72+
@cfn-lint infrastructure/contracts-service/template.yaml -a cfn_lint_serverless.rules
7373
@cfn-lint infrastructure/domain.yaml
7474
@cfn-lint infrastructure/schema-registry/ContractStatusChanged-schema.yaml
7575

unicorn_web/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ lint: ## Lint Python code and CloudFormation templates
8080
@uv run ruff check .
8181
@uv run ruff format --check .
8282
@echo "Linting CloudFormation templates..."
83-
@cfn-lint infrastructure/web-service.yaml -a cfn_lint_serverless.rules
83+
@cfn-lint infrastructure/web-service/template.yaml -a cfn_lint_serverless.rules
8484
@cfn-lint infrastructure/domain.yaml
8585
@cfn-lint infrastructure/schema-registry/PublicationApprovalRequested-schema.yaml
8686
@cfn-lint infrastructure/subscriptions/unicorn-approvals-subscriptions.yaml

0 commit comments

Comments
 (0)