Skip to content

Commit 11f3eea

Browse files
committed
OPS-60 Removed old create/update release since we now have genereate jira release
1 parent b0bf30a commit 11f3eea

File tree

7 files changed

+10
-215
lines changed

7 files changed

+10
-215
lines changed

.github/workflows/create-release.yml

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

.github/workflows/generate-jira-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Generate release candidate
1+
name: Generate Jira release
22

33
on:
44
workflow_dispatch:

.github/workflows/update-release.yml

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

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ deploy_to_staging:
66
generate_jira_release:
77
gh workflow run generate-jira-release.yml --ref main
88

9-
create_release_candidate:
10-
gh workflow run generate-jira-release.yml --ref main
11-
12-
update_release_candidate:
13-
gh workflow run generate-jira-release.yml --ref main
14-
159
check_release_to_prod:
1610
gh workflow run release-to-prod.yml --ref main
1711

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ but in this simulated setup we only update some git tags.
102102
## Release to production
103103
When a developer thinks that what is currently running in staging should be released
104104
to production they create a **release candidate**. The developers can trigger the
105-
**Create release candidate** GitHub action by running:
105+
**Generate Jira release** GitHub action by running:
106106
```
107-
make create_release_candidate
107+
make generate_jira_release
108108
```
109109
This job does the following:
110110
- Use Kosli to find out what software that is currently running on staging and
@@ -123,9 +123,9 @@ developers.
123123

124124
After the developers has added a fix and deployed it to staging they update the
125125
**release candidate**. The developers can trigger the
126-
**Update release candidate** GitHub action by running:
126+
**Generate Jira release** GitHub action by running:
127127
```
128-
make update_release_candidate
128+
make generate_jira_release
129129
```
130130

131131
When all approvers have set the approval to `APPROVED` the software can be deployed
@@ -252,7 +252,7 @@ The SW is now running in staging
252252
https://app.kosli.com/kosli-public/environments/jira-integration-example-staging/snapshots/
253253

254254
Create a release candidate
255-
make create_release_candidate
255+
make generate_jira_release
256256

257257
Show the customer the new release
258258
https://kosli-team.atlassian.net/projects/OPS?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page
@@ -290,7 +290,7 @@ Go back to the Jira board and make a new Jira issue: Improve frontend
290290
Now we have the new fix for frontend running in staging. The backend SW is the same as before.
291291

292292
Update the Jira release so we also include the new Jira issue
293-
make update_release_candidate
293+
make generate_jira_release
294294

295295
Show the release (you must reload the page) to show that the new Jira issue is in the list
296296

scripts/demo-jira-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ main()
9292
make deploy_to_staging; wait_for_github_actions
9393
make report_all_envs > /dev/null; wait_for_github_actions
9494
echo; echo "*** Make a release candidate for SW now running in staging with Jira issue ${JIRA_KEY_1}"
95-
make create_release_candidate; wait_for_github_actions
95+
make generate_jira_release; wait_for_github_actions
9696

9797
echo; echo "*** We assume the product owner found a bug and wanted a new version of the backend"
9898

@@ -112,7 +112,7 @@ main()
112112
make report_all_envs > /dev/null; wait_for_github_actions
113113
echo; echo "*** Update the release candidate for SW now running in staging."
114114
echo "*** This will add the second JIRA-KEY ($JIRA_KEY_2) to the Jira release"
115-
make update_release_candidate; wait_for_github_actions
115+
make generate_jira_release; wait_for_github_actions
116116
echo; echo "*** Check if current release candidate has been approved and can be released. This shall fail!"
117117
make check_release_to_prod; wait_for_github_actions
118118

scripts/relese-what-i-have-now.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ main()
6161
make deploy_to_staging; wait_for_github_actions
6262
make report_all_envs > /dev/null; wait_for_github_actions
6363
echo; echo "*** Make a release candidate for SW now running in staging"
64-
make create_release_candidate; wait_for_github_actions
64+
make generate_jira_release; wait_for_github_actions
6565

6666
echo; echo "*** Go to url:"
6767
echo "https://kosli-team.atlassian.net/projects/OPS?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page"

0 commit comments

Comments
 (0)