-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into wip-lambda-tutorial
- Loading branch information
Showing
35 changed files
with
442 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
jobs: | ||
metadata: | ||
name: "Set CI/CD metadata" | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.merged == true | ||
timeout-minutes: 1 | ||
|
@@ -45,6 +46,7 @@ jobs: | |
export VERSION="${{ steps.variables.outputs.version }}" | ||
make list-variables | ||
publish: | ||
name: "Publish packages" | ||
runs-on: ubuntu-latest | ||
needs: [metadata] | ||
if: github.event.pull_request.merged == true | ||
|
@@ -78,13 +80,14 @@ jobs: | |
# asset_name: repository-template-${{ needs.metadata.outputs.version }}.tar.gz | ||
# asset_content_type: "application/gzip" | ||
success: | ||
name: "Success notification" | ||
runs-on: ubuntu-latest | ||
needs: [publish] | ||
steps: | ||
- name: "Check prerequisites for notification" | ||
id: check | ||
run: echo "secret_exist=${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL != '' }}" >> $GITHUB_OUTPUT | ||
- name: "Notify on build completion" | ||
- name: "Notify on publishing packages" | ||
if: steps.check.outputs.secret_exist == 'true' | ||
uses: nhs-england-tools/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ on: | |
|
||
jobs: | ||
metadata: | ||
name: "Set CI/CD metadata" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 1 | ||
outputs: | ||
|
@@ -49,6 +50,7 @@ jobs: | |
export TAG="${{ steps.variables.outputs.tag }}" | ||
make list-variables | ||
deploy: | ||
name: "Deploy to an environment" | ||
runs-on: ubuntu-latest | ||
needs: [metadata] | ||
timeout-minutes: 10 | ||
|
@@ -57,13 +59,14 @@ jobs: | |
uses: actions/checkout@v4 | ||
# TODO: More jobs or/and steps here | ||
# success: | ||
# name: "Success notification" | ||
# runs-on: ubuntu-latest | ||
# needs: [deploy] | ||
# steps: | ||
# - name: "Check prerequisites for notification" | ||
# id: check | ||
# run: echo "secret_exist=${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL != '' }}" >> $GITHUB_OUTPUT | ||
# - name: "Notify on build completion" | ||
# - name: "Notify on deployment to an environment" | ||
# if: steps.check.outputs.secret_exist == 'true' | ||
# uses: nhs-england-tools/[email protected] | ||
# with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.