Skip to content

Update config, localstack to reflect removed queue #435

Update config, localstack to reflect removed queue

Update config, localstack to reflect removed queue #435

Workflow file for this run

name: 'CI'
on:
workflow_dispatch:
push:
jobs:
ci:
permissions:
id-token: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: guardian/actions-read-private-repos@v0.1.1
with:
private-ssh-keys: ${{ secrets.PRIVATE_INFRASTRUCTURE_CONFIG_DEPLOY_KEY }}
- name: Install dependencies
run: |
npm install
- name: build API
run: |
npm run api::build
- name: build Client
run: |
npm run client::build
- name: Build output-handler
run: |
npm run output-handler::build
- name: Build worker-capacity-manager
run: |
npm run worker-capacity-manager::build
- name: Package API/Client/Update
run: |
npm run package
- name: Package Worker
run: |
npm run worker::build
npm run worker::package
- name: CDK synth
run: |
npm run cdk::build
npm run cdk::lint
npm run cdk::synth
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v4
with:
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
configPath: packages/cdk/riff-raff.yaml
buildNumberOffset: 120
projectName: investigations::transcription-service
contentDirectories: |
cdk.out:
- packages/cdk/cdk.out/TranscriptionService-CODE.template.json
- packages/cdk/cdk.out/TranscriptionService-PROD.template.json
transcription-service-api:
- target/api.zip
transcription-service-output-handler:
- target/output-handler.zip
transcription-service-worker-capacity-manager:
- target/worker-capacity-manager.zip
transcription-service-worker:
- packages/worker/dist/transcription-service-worker_1.0.0_all.deb
- name: Upload repository project to riff-raff
uses: guardian/actions-riff-raff@v4
with:
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
configPath: packages/cdk/riff-raff-repository.yaml
projectName: investigations::transcription-service-repository
contentDirectories: |
cdk.out:
- packages/cdk/cdk.out/TranscriptionServiceRepository.template.json