Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 0 additions & 114 deletions .github/workflows/create-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/generate-jira-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate release candidate
name: Generate Jira release

on:
workflow_dispatch:
Expand Down
85 changes: 0 additions & 85 deletions .github/workflows/update-release.yml

This file was deleted.

6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ deploy_to_staging:
generate_jira_release:
gh workflow run generate-jira-release.yml --ref main

create_release_candidate:
gh workflow run generate-jira-release.yml --ref main

update_release_candidate:
gh workflow run generate-jira-release.yml --ref main

check_release_to_prod:
gh workflow run release-to-prod.yml --ref main

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ but in this simulated setup we only update some git tags.
## Release to production
When a developer thinks that what is currently running in staging should be released
to production they create a **release candidate**. The developers can trigger the
**Create release candidate** GitHub action by running:
**Generate Jira release** GitHub action by running:
```
make create_release_candidate
make generate_jira_release
```
This job does the following:
- Use Kosli to find out what software that is currently running on staging and
Expand All @@ -123,9 +123,9 @@ developers.

After the developers has added a fix and deployed it to staging they update the
**release candidate**. The developers can trigger the
**Update release candidate** GitHub action by running:
**Generate Jira release** GitHub action by running:
```
make update_release_candidate
make generate_jira_release
```

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

Create a release candidate
make create_release_candidate
make generate_jira_release

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

Update the Jira release so we also include the new Jira issue
make update_release_candidate
make generate_jira_release

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

Expand Down
4 changes: 2 additions & 2 deletions scripts/demo-jira-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ main()
make deploy_to_staging; wait_for_github_actions
make report_all_envs > /dev/null; wait_for_github_actions
echo; echo "*** Make a release candidate for SW now running in staging with Jira issue ${JIRA_KEY_1}"
make create_release_candidate; wait_for_github_actions
make generate_jira_release; wait_for_github_actions

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

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/relese-what-i-have-now.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ main()
make deploy_to_staging; wait_for_github_actions
make report_all_envs > /dev/null; wait_for_github_actions
echo; echo "*** Make a release candidate for SW now running in staging"
make create_release_candidate; wait_for_github_actions
make generate_jira_release; wait_for_github_actions

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