🦑 Build SquidNAT Artefacts - dvsa/des-workflow-actions GitHub Wiki

Description

This workflow builds either a certificate or a config file for a SquidNAT EC2 instance based on the provided input. It also determines if a certificate or config build is required when a change is pushed to the base branch.

Workflow Triggers

On Workflow Call

This workflow is called from the des-squidnat repository when the workflow is manually run or on push to the base branch.

Environment Variables

Name Description
ARTEFACT_S3 The S3 artefact bucket in the MGMT AWS account

Inputs

Name Description Options
branch The branch to build an artefact/s against N/A
desired-artefact The type of artefact to build config | certificate
github-event-name The event that triggered the workflow workflow_dispatch | push

Artefacts

  • The certificate and config file is uploaded to S3 once built.

Notes

  • Requires the secrets: AWS_ACCOUNT_ID & DVSA_AWS_REGION