@@ -10,7 +10,6 @@ install: install-python install-hooks install-node
1010
1111install-python :
1212 poetry install
13- cd packages/createIndexFunction && pip install -r requirements.txt && pip install -r requirements-test.txt
1413 cd packages/slackBotFunction && pip install -r requirements.txt && pip install -r requirements-test.txt
1514 cd packages/syncKnowledgeBaseFunction && pip install -r requirements.txt && pip install -r requirements-test.txt
1615
@@ -30,7 +29,10 @@ git-secrets-docker-setup:
3029 export LOCAL_WORKSPACE_FOLDER=$(pwd )
3130 docker build -f https://raw.githubusercontent.com/NHSDigital/eps-workflow-quality-checks/refs/tags/v4.0.4/dockerfiles/nhsd-git-secrets.dockerfile -t git-secrets .
3231
33- lint : lint-githubactions lint-githubaction-scripts lint-black lint-flake8
32+ lint : lint-githubactions lint-githubaction-scripts lint-black lint-flake8 lint-node
33+
34+ lint-node :
35+ npm run lint --workspace packages/cdk
3436
3537lint-githubactions :
3638 actionlint
@@ -46,15 +48,12 @@ lint-flake8:
4648 poetry run flake8 .
4749
4850test :
49- cd packages/createIndexFunction && PYTHONPATH=. COVERAGE_FILE=coverage/.coverage python -m pytest
5051 cd packages/slackBotFunction && PYTHONPATH=. COVERAGE_FILE=coverage/.coverage python -m pytest
5152 cd packages/syncKnowledgeBaseFunction && PYTHONPATH=. COVERAGE_FILE=coverage/.coverage python -m pytest
5253
5354clean :
5455 rm -rf packages/cdk/coverage
5556 rm -rf packages/cdk/lib
56- rm -rf packages/createIndexFunction/coverage
57- rm -rf packages/createIndexFunction/.coverage
5857 rm -rf packages/slackBotFunction/coverage
5958 rm -rf packages/slackBotFunction/.coverage
6059 rm -rf packages/syncKnowledgeBaseFunction/coverage
@@ -99,19 +98,18 @@ cdk-deploy: guard-STACK_NAME
9998 --context logRetentionInDays=$$ LOG_RETENTION_IN_DAYS \
10099 --context slackBotToken=$$ SLACK_BOT_TOKEN \
101100 --context slackSigningSecret=$$ SLACK_SIGNING_SECRET
102-
103101cdk-synth :
104102 npx cdk synth \
105103 --quiet \
106104 --app " npx ts-node --prefer-ts-exts packages/cdk/bin/EpsAssistMeApp.ts" \
107- --context accountId=undefined \
105+ --context accountId=123456789012 \
108106 --context stackName=epsam \
109107 --context versionNumber=undefined \
110108 --context commitId=undefined \
111109 --context logRetentionInDays=30 \
112110 --context slackBotToken=dummy \
113- --context slackSigningSecret=dummy
114- ./scripts/fix_cfn_guard.sh
111+ --context slackSigningSecret=dummy \
112+ --context cfnDriftDetectionGroup=dummy
115113
116114cdk-diff :
117115 npx cdk diff \
0 commit comments