Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/automated-deploy-services-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,15 @@ jobs:
is_deployment: ${{ github.ref == 'refs/heads/main' }}
service_name: transfer-classifier
secrets: inherit

redeploy_step_functions_on_infra:
name: Redeploy step functions on infrastructure
needs: [metrics-calculator, ods-downloader, reports-generator, transfer-classifier]
if: always() && (needs.metrics-calculator.result == 'success' || needs.ods-downloader.result == 'success' || needs.reports-generator.result == 'success' needs.transfer-classifier.result == 'success') && (needs.metrics-calculator.result == 'success' || needs.metrics-calculator.result == 'skipped') && (needs.ods-downloader.result == 'success' || needs.ods-downloader.result == 'skipped') && (needs.reports-generator.result == 'success' || needs.reports-generator.result == 'skipped') && (needs.transfer-classifier.result == 'success' || needs.transfer-classifier.result == 'skipped')
uses: NHSDigital/gp2gp-reporting-infrastructure/.github/workflows/deploy-stack.yml@v4
with:
environment: dev
is_deployment: ${{ github.ref == 'refs/heads/main' }}
terraform_stack: step_function
hyphenated_alias: step-function
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/deploy-service-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
name: Redeploy step functions on infrastructure
needs: [redeploy_image_on_infra]
uses: NHSDigital/gp2gp-reporting-infrastructure/.github/workflows/deploy-stack.yml@v4
if: github.event_name == 'workflow_dispatch'
with:
environment: dev
is_deployment: ${{ inputs.is_deployment }}
Expand Down
4 changes: 4 additions & 0 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM node:24-trixie-slim

# Update the package list and upgrade all installed system packages
RUN apt-get update && apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*

# Copy only required files for building and deploying pipeline
COPY analytics-config.json /tmp/analytics-config.json
COPY custom.d.ts /tmp/custom.d.ts
Expand Down
Loading