Skip to content

Update aws-java-sdk-athena to 1.12.774 #337

Update aws-java-sdk-athena to 1.12.774

Update aws-java-sdk-athena to 1.12.774 #337

Workflow file for this run

name: Registration
on:
push:
paths:
- registration/**
- common/**
- commoneventconsumer/**
- commontest/**
- cdk/**
- project/**
- build.sbt
- .github/workflows/registration.yml
workflow_dispatch:
# allow queued workflows to interrupt previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
checks: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK and sbt
uses: guardian/setup-scala@v1
- uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: cdk/package-lock.json
node-version-file: .nvmrc
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: eu-west-1
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
- name: CDK synth
run: |
cd cdk
npm install
npm run lint
npm test
npm run synth
- name: Compile, test and package
run: sbt "project common" "compile" "test" "project registration" "compile" "test" "debian:packageBin"
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Tests
path: registration/target/test-reports/TEST-*.xml
reporter: java-junit
only-summary: 'false'
fail-on-error: 'true'
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v4
with:
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:registration
buildNumberOffset: 4147
configPath: registration/conf/riff-raff.yaml
contentDirectories: |
registration:
- registration/target/registration_1.0-latest_all.deb
registration-cfn:
- cdk/cdk.out/Registration-CODE.template.json
- cdk/cdk.out/Registration-PROD.template.json