From 6e1dd52fbffc9f1867fe75bbd4848bd132cd5fc2 Mon Sep 17 00:00:00 2001 From: David Lawes Date: Tue, 22 Aug 2023 12:24:20 +0100 Subject: [PATCH] use actions-riff-raff for event consumer --- .github/workflows/build.yml | 109 +++++++++++++++++++++++++++++++++++- 1 file changed, 107 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc4c28e21..1e5535d66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -88,5 +88,110 @@ jobs: aws-region: eu-west-1 role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} - - name: Upload to riff-raff - run: sbt riffRaffUpload \ No newline at end of file + - name: Upload eventconsumer to riff-raff + uses: guardian/actions-riff-raff@v2 + with: + projectName: mobile-n10n:eventconsumer +# buildNumberOffset: 172 + configPath: eventconsumer/riff-raff.yaml + contentDirectories: | + eventconsumer: + - eventconsumer/target/scala-2.13/eventconsumer.jar + mobile-notifications-eventconsumer-cfn: + - cfn.yaml + +# - name: Upload fakebreakingnewslambda to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload football to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload notification to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload registration to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload report to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload reportextractor to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload schedule to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml +# +# - name: Upload slomonitor to riff-raff +# uses: guardian/actions-riff-raff@v2 +# with: +# projectName: mobile-n10n +## buildNumberOffset: 172 +# configPath: riff-raff.yaml +# contentDirectories: | +# live-app-versions: +# - target/scala-2.12/live-app-versions.jar +# live-app-versions-cfn: +# - cfn.yaml \ No newline at end of file