Skip to content

Commit a7a6b11

Browse files
authored
Chore: [AEA-0000] - tag release in jira as part of tag release workflow (#477)
## Summary - Routine Change ### Details - tag release in jira as part of tag release workflow - remove updates to confluence/jira from this repo
1 parent 0b9f35c commit a7a6b11

File tree

11 files changed

+17
-248
lines changed

11 files changed

+17
-248
lines changed

.github/actions/mark_jira_released/action.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/actions/update_confluence_jira/action.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.github/scripts/call_mark_jira_released.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/scripts/create_env_release_notes.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/scripts/create_int_rc_release_notes.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/scripts/get_current_dev_tag.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/scripts/get_target_deployed_tag.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
3333
tag_release:
3434
needs: [quality_checks, get_commit_id, get_config_values]
35-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@383f3f9eaf3cb553ebcd74897bfed4d5e387629e
35+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@7a89b111ae752548e8e3f3fbaeb89bd6ecca0698
36+
permissions:
37+
id-token: write
38+
contents: write
3639
with:
3740
dry_run: true
3841
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -59,8 +62,6 @@ jobs:
5962
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
6063
LOG_LEVEL: INFO
6164
LOG_RETENTION_DAYS: 30
62-
CREATE_INT_RELEASE_NOTES: true
63-
CREATE_PROD_RELEASE_NOTES: true
6465
ENABLE_ALERTS: true
6566
secrets:
6667
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ jobs:
5858

5959
tag_release:
6060
needs: [get_config_values]
61-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@383f3f9eaf3cb553ebcd74897bfed4d5e387629e
61+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@7a89b111ae752548e8e3f3fbaeb89bd6ecca0698
62+
permissions:
63+
id-token: write
64+
contents: write
6265
with:
6366
dry_run: true
6467
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,20 @@ jobs:
3131
3232
tag_release:
3333
needs: [quality_checks, get_commit_id, get_config_values]
34-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@383f3f9eaf3cb553ebcd74897bfed4d5e387629e
34+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@7a89b111ae752548e8e3f3fbaeb89bd6ecca0698
35+
permissions:
36+
id-token: write
37+
contents: write
3538
with:
3639
dry_run: false
3740
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
3841
branch_name: main
3942
tag_format: ${{ needs.get_config_values.outputs.tag_format }}
40-
secrets: inherit
43+
update_jira: true
44+
jira_release_prefix: "validator-lambda"
45+
secrets:
46+
EXECUTE_JIRA_LAMBDA_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }}
47+
4148

4249
package_code:
4350
needs: [tag_release, get_config_values]
@@ -58,8 +65,6 @@ jobs:
5865
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
5966
LOG_LEVEL: INFO
6067
LOG_RETENTION_DAYS: 30
61-
CREATE_INT_RELEASE_NOTES: true
62-
CREATE_PROD_RELEASE_NOTES: true
6368
ENABLE_ALERTS: true
6469
secrets:
6570
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}
@@ -115,8 +120,6 @@ jobs:
115120
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
116121
LOG_LEVEL: INFO
117122
LOG_RETENTION_DAYS: 30
118-
CREATE_INT_RELEASE_NOTES: true
119-
CREATE_INT_RC_RELEASE_NOTES: true
120123
ENABLE_ALERTS: true
121124
secrets:
122125
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.INT_CLOUD_FORMATION_DEPLOY_ROLE }}
@@ -138,8 +141,6 @@ jobs:
138141
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
139142
LOG_LEVEL: INFO
140143
LOG_RETENTION_DAYS: 731
141-
MARK_JIRA_RELEASED: true
142-
CREATE_PROD_RELEASE_NOTES: true
143144
ENABLE_ALERTS: true
144145
secrets:
145146
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.PROD_CLOUD_FORMATION_DEPLOY_ROLE }}

0 commit comments

Comments
 (0)