Skip to content

Commit

Permalink
Merge pull request #211 from votdev/straighten_release_process
Browse files Browse the repository at this point in the history
  • Loading branch information
votdev authored Nov 11, 2022
2 parents 197e624 + 5f6844a commit 39ca2db
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[submodule "tools"]
path = tools
url = https://github.com/aquarist-labs/s3gw-tools
branch = v0.8.x
branch = v0.8.0
[submodule "ceph"]
path = ceph
url = https://github.com/aquarist-labs/ceph
branch = s3gw-v0.8.x
branch = s3gw-v0.8.0
[submodule "charts"]
path = charts
url = https://github.com/aquarist-labs/s3gw-charts
branch = v0.8.x
branch = v0.8.0
[submodule "ui"]
path = ui
url = https://github.com/aquarist-labs/s3gw-ui
branch = v0.8.x
branch = v0.8.0
39 changes: 31 additions & 8 deletions docs/decisions/0004-release-captain.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@ After the testing phase the following actions need to be done:
root folder of the sub-projects or below `src/rgw/store/sfs/` for `ceph`.
Create a new PR out of these changes for each sub-project. These changes
will be merged into `main` with separate PRs at a later date.
- After all previous PRs have been merged, the development branches of the
`ceph`, `s3gw-ui`, `s3gw-tools` and `s3gw-charts` sub-projects need to be
[tagged][2], e.g.:

```shell
cd ~/git/s3gw-ui/
git checkout -b v0.8.x-upstream upstream/v0.8.x
git tag --annotate --sign -m "Release v0.8.0" v0.8.0
git push upstream tag v0.8.0

cd ~/git/ceph/
git checkout -b s3gw-v0.8.x-upstream aquarist-labs-upstream/s3gw-v0.8.x
git tag --annotate --sign -m "Release s3gw-v0.8.0" s3gw-v0.8.0
git push aquarist-labs-upstream tag s3gw-v0.8.0
```

- Aggregate the changelog and create `s3gw/docs/release-notes/s3gw-vN.N.N.md`
in the `vN.N.x` development branch. Use previous release notes for guidance.
- Change `s3gw/docs/release-notes/latest` to point to the new release notes
Expand All @@ -54,8 +70,9 @@ After the testing phase the following actions need to be done:
ln -sf s3gw-v0.8.0.md latest
```

- Bump all branches of the sub-projects in `s3gw/.gitmodules`. Finally, run
the following command to update the submodules.
- Bump all branches of the sub-projects in `s3gw/.gitmodules` by using the
previously created tags. Finally, run the following command to update the
submodules.

```shell
cd ~/git/s3gw/
Expand All @@ -78,10 +95,10 @@ After the testing phase the following actions need to be done:

```shell
cd ~/git/s3gw/
git fetch upstream
git checkout main -b merge_w_v0.8.x
git fetch --tags upstream
git checkout main -b merge_w_v0.8.0
git rebase upstream/main
git merge --signoff upstream/v0.8.x
git merge --signoff v0.8.0
```

Create a new PR out of these changes.
Expand All @@ -90,10 +107,16 @@ After the testing phase the following actions need to be done:

```shell
cd ~/git/s3gw-ui/
git fetch upstream
git checkout main -b merge_w_v0.8.x
git fetch --tags upstream
git checkout main -b merge_w_v0.8.0
git rebase upstream/main
git merge --signoff upstream/v0.8.x
git merge --signoff v0.8.0

cd ~/git/ceph/
git fetch --tags aquarist-labs-upstream
git checkout s3gw -b merge_w_s3gw-v0.8.0
git rebase aquarist-labs-upstream/s3gw
git merge --signoff s3gw-v0.8.0
```

Create a new PR out of these changes.
Expand Down

0 comments on commit 39ca2db

Please sign in to comment.