Skip to content

Commit 64855d2

Browse files
refactor: remove cdk_release_code.yml
1 parent fea2641 commit 64855d2

File tree

3 files changed

+12
-181
lines changed

3 files changed

+12
-181
lines changed

.github/workflows/cdk_release_code.yml

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

.github/workflows/pull_request.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
release_code:
6464
needs: [get_issue_number, package_code, get_commit_id]
65-
uses: ./.github/workflows/cdk_release_code.yml
65+
uses: ./.github/workflows/release_all_stacks.yml
6666
with:
6767
STACK_NAME: epsam-pr-${{needs.get_issue_number.outputs.issue_number}}
6868
TARGET_ENVIRONMENT: dev-pr
@@ -71,9 +71,19 @@ jobs:
7171
CDK_APP_NAME: EpsAssistMeApp
7272
DEPLOY_CODE: true
7373
LOG_RETENTION_IN_DAYS: 30
74-
LOG_LEVEL: DEBUG
74+
LOG_LEVEL: "DEBUG"
75+
CREATE_INT_RELEASE_NOTES: false
76+
CREATE_PROD_RELEASE_NOTES: false
77+
MARK_JIRA_RELEASED: false
78+
CREATE_INT_RC_RELEASE_NOTES: false
79+
IS_PULL_REQUEST: true
7580
secrets:
7681
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}
7782
CDK_PULL_IMAGE_ROLE: ${{ secrets.DEV_CDK_PULL_IMAGE_ROLE }}
83+
DEV_CLOUD_FORMATION_CHECK_VERSION_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_CHECK_VERSION_ROLE }}
84+
INT_CLOUD_FORMATION_CHECK_VERSION_ROLE: ${{ secrets.INT_CLOUD_FORMATION_CHECK_VERSION_ROLE }}
85+
PROD_CLOUD_FORMATION_CHECK_VERSION_ROLE: ${{ secrets.PROD_CLOUD_FORMATION_CHECK_VERSION_ROLE }}
86+
DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }}
87+
REGRESSION_TESTS_PEM: ${{ secrets.REGRESSION_TESTS_PEM }}
7888
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
7989
SLACK_SIGNING_SECRET: ${{ secrets.SLACK_SIGNING_SECRET }}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,4 @@ Workflows are in the `.github/workflows` folder:
224224
- `release_all_stacks.yml` Reusable workflow for deploying to any environment with environment-specific approvals and configurations.
225225
- `release.yml` Runs on demand to create a release and deploy to INT and PROD environments with manual approval.
226226
- `cdk_package_code.yml` Packages code into a docker image and uploads to a github artifact for later deployment.
227-
- `cdk_release_code.yml` Release code built by cdk_package_code.yml to an environment.
228227
- `ci.yml` Merge to main workflow that automatically deploys to DEV and QA environments after quality checks.

0 commit comments

Comments
 (0)