Skip to content

Commit

Permalink
define build number offset
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLawes committed Aug 24, 2023
1 parent 98c950f commit c1dda93
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/event-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:eventconsumer
buildNumberOffset: 4147
configPath: eventconsumer/riff-raff.yaml
contentDirectories: |
eventconsumer:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fake-breaking-news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:fakebreakingnewslambda
buildNumberOffset: 4147
configPath: fakebreakingnewslambda/riff-raff.yaml
contentDirectories: |
fakebreakingnewslambda:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/football.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:football
buildNumberOffset: 4147
configPath: football/riff-raff.yaml
contentDirectories: |
football:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/notification-worker-lambdas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:

- name: Publish docker image
run: |
docker tag notificationworkerlambda:DEV $NOTIFICATION_LAMBDA_REPOSITORY_URL:$BUILD_NUMBER
docker push ${NOTIFICATION_LAMBDA_REPOSITORY_URL}:${BUILD_NUMBER}
::set-env name=BUILD_NUMBER_WITH_OFFSET::$(($BUILD_NUMBER+4147))
docker tag notificationworkerlambda:DEV $NOTIFICATION_LAMBDA_REPOSITORY_URL:$BUILD_NUMBER_WITH_OFFSET
docker push ${NOTIFICATION_LAMBDA_REPOSITORY_URL}:${BUILD_NUMBER_WITH_OFFSET}
env:
NOTIFICATION_LAMBDA_REPOSITORY_ID: ${{ secrets.NOTIFICATION_LAMBDA_REPOSITORY_ID }}
NOTIFICATION_LAMBDA_REPOSITORY_URL: ${{ secrets.NOTIFICATION_LAMBDA_REPOSITORY_URL }}
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:notificationworkerlambda
buildNumberOffset: 4147
configPath: notificationworkerlambda/riff-raff.yaml
contentDirectories: |
mobile-notifications-harvester-cfn:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:notification
buildNumberOffset: 4147
configPath: notification/conf/riff-raff.yaml
contentDirectories: |
notification:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/registration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:registration
buildNumberOffset: 4147
configPath: registration/conf/riff-raff.yaml
contentDirectories: |
registration:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/report-extractor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:reportextractor
buildNumberOffset: 4147
configPath: reportextractor/riff-raff.yaml
contentDirectories: |
reportextractor:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:report
buildNumberOffset: 4147
configPath: report/conf/riff-raff.yaml
contentDirectories: |
report:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/schedule-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:schedule
buildNumberOffset: 4147
configPath: schedulelambda/riff-raff.yaml
contentDirectories: |
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/slo-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
uses: guardian/actions-riff-raff@v2
with:
projectName: mobile-n10n:slomonitor
buildNumberOffset: 4147
configPath: slomonitor/riff-raff.yaml
contentDirectories: |
slomonitor:
Expand Down

0 comments on commit c1dda93

Please sign in to comment.