Skip to content

Commit 99d742b

Browse files
committed
version: 1.16.0
1 parent fe66fcf commit 99d742b

18 files changed

Lines changed: 395 additions & 237 deletions

File tree

.gitlab/issue_templates/Beta Release.md

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Set title to:
44
55
```
6-
Release StackGres 1.16.0-beta1
6+
Release StackGres 1.17.0-beta1
77
```
88
99
Generate template using the command:
@@ -16,29 +16,29 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
1616

1717
# Pre Checks
1818

19-
1. [ ] Make sure all tasks marked with label ~"target_version::1.16.0-beta1" are done.
19+
1. [ ] Make sure all tasks marked with label ~"target_version::1.17.0-beta1" are done.
2020

2121
# Release steps
2222

23-
1. [ ] Create local branch `release-1.16.0-beta1` from `main-1.16`:
23+
1. [ ] Create local branch `release-1.17.0-beta1` from `main-1.17`:
2424
```
25-
git checkout "main-1.16" && git pull && git checkout -b "release-1.16.0-beta1"
25+
git checkout "main-1.17" && git pull && git checkout -b "release-1.17.0-beta1"
2626
```
27-
1. [ ] Update project version to `1.16.0-beta1`:
27+
1. [ ] Update project version to `1.17.0-beta1`:
2828
```
29-
sh -x stackgres-k8s/ci/utils/update-version.sh "1.16.0-beta1"
29+
sh -x stackgres-k8s/ci/utils/update-version.sh "1.17.0-beta1"
3030
```
3131
1. [ ] Update `CHANGELOG.md` (review commit messages to populate the changelog: `git log`)
32-
1. [ ] Add 1.16.0-beta1 section in `doc/content/en/01-introduction/06-versions/_index.md` with values from `stackgres-k8s/src/common/src/main/resources/versions.properties`
32+
1. [ ] Add 1.17.0-beta1 section in `doc/content/en/01-introduction/06-versions/_index.md` with values from `stackgres-k8s/src/common/src/main/resources/versions.properties`
3333
1. [ ] Check the changes to ensure everything is correct before commit:
3434
```
3535
git diff
3636
```
37-
1. [ ] Commit changes with message `version: 1.16.0-beta1`:
37+
1. [ ] Commit changes with message `version: 1.17.0-beta1`:
3838
```
39-
git commit -S -a -m "version: 1.16.0-beta1"
39+
git commit -S -a -m "version: 1.17.0-beta1"
4040
```
41-
1. [ ] Push `release-1.16.0-beta1` branch:
41+
1. [ ] Push `release-1.17.0-beta1` branch:
4242
4343
**This step requires at least one ARM instance with docker installed and a gitlab runner registered with the StackGres project. All this setup is already built in a template. The only action we need to do is scale up the auto-scaling group `sg-army-builder` auto scaling group.**
4444
@@ -53,9 +53,9 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
5353
curl -s https://gitlab.com/snippets/1985684/raw | bash -s -- -r "$GITLAB_TOKEN" -t m6gd.4xlarge -i "$AMI" -d $((4 * 60 * 60)) -df internal -dp /dev/nvme1n1 -rn army-builder -tl 'docker-junit-extension-runner, oci-image, ongresinc, stackgres-maven-runner, stackgres-native-build-runner, stackgres-quarkus-test-runner, stackgres-runner-v2, linux-arm64, stackgres-e2e-runner'
5454
```
5555
56-
Now we can push `release-1.16.0-beta1` branch and wait for the pipeline to complete:
56+
Now we can push `release-1.17.0-beta1` branch and wait for the pipeline to complete:
5757
```
58-
git push origin "release-1.16.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
58+
git push origin "release-1.17.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
5959
```
6060
6161
1. [ ] Perform preflight for operator images (make each of them pass pass the index health check by opening each image project):
@@ -66,16 +66,16 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
6666
6767
```
6868
cd stackgres-k8s/install/operator-sdk/openshift-certification/
69-
STACKGRES_VERSION="1.16.0-beta1" IMAGE_TAG="$(git rev-parse --short=8 HEAD)" sh get-images.sh | grep -F quay.io/stackgres/ | sed 's#quay\.io/stackgres/#registry.gitlab.com/ongresinc/stackgres/stackgres/#' | xargs -I % sh preflight.sh %
69+
STACKGRES_VERSION="1.17.0-beta1" IMAGE_TAG="$(git rev-parse --short=8 HEAD)" sh get-images.sh | grep -F quay.io/stackgres/ | sed 's#quay\.io/stackgres/#registry.gitlab.com/ongresinc/stackgres/stackgres/#' | xargs -I % sh preflight.sh %
7070
```
7171
72-
1. [ ] Create tag `1.16.0-beta1`:
72+
1. [ ] Create tag `1.17.0-beta1`:
7373
```
74-
git tag "1.16.0-beta1"
74+
git tag "1.17.0-beta1"
7575
```
76-
1. [ ] Push tag `1.16.0-beta1` to the origin and wait for the pipeline to complete:
76+
1. [ ] Push tag `1.17.0-beta1` to the origin and wait for the pipeline to complete:
7777
```
78-
git push origin "1.16.0-beta1"
78+
git push origin "1.17.0-beta1"
7979
```
8080
1. [ ] After pipeline succeeded, scale down the ARM runners (or terminate the instance created with the script):
8181
```
@@ -88,7 +88,7 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
8888
8989
```
9090
cd stackgres-k8s/install/operator-sdk/openshift-certification/
91-
STACKGRES_VERSION="1.16.0-beta1" IMAGE_TAG="1.16.0-beta1" sh get-images.sh | grep -F quay.io/stackgres/ | xargs -I % sh preflight.sh %
91+
STACKGRES_VERSION="1.17.0-beta1" IMAGE_TAG="1.17.0-beta1" sh get-images.sh | grep -F quay.io/stackgres/ | xargs -I % sh preflight.sh %
9292
```
9393
1. [ ] Create PR on Red Hat Certified Operators (wait for its completion):
9494
> File that export environment variable `FORK_GIT_URL` with the git URL (make sure user can perform push on such URL) of the project that forks project `https://github.com/redhat-openshift-ecosystem/redhat-marketplace-operators` must be specified in POSIX shell script with path `~/.stackgres/operator-bundle-red-hat-certified-config`
@@ -101,15 +101,15 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
101101
> The pipeline may fail and some changes to the operator bunle may be required. Perform such changes only on path `stackgres-k8s/install/operator-sdk/stackgres-operator/` on a separate branch:
102102
>
103103
> ```
104-
> git checkout -b "fix-bundle-1.16.0-beta1"
104+
> git checkout -b "fix-bundle-1.17.0-beta1"
105105
> git add .
106106
> git commit -m "fix: operator bundle deployment"
107-
> git push origin "fix-bundle-1.16.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
107+
> git push origin "fix-bundle-1.17.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
108108
> ```
109109
>
110110
> Repeat the PR creation step above.
111111
>
112-
> When PR is merged create a MR to `main-1.16.0-beta1` branch.
112+
> When PR is merged create a MR to `main-1.17.0-beta1` branch.
113113
1. [ ] Create PR on Red Hat Marketplace Operators (wait for its completion):
114114
> File that export environment variable `FORK_GIT_URL` with the git URL (make sure user can perform push on such URL) of the project that forks project `https://github.com/redhat-openshift-ecosystem/certified-operators` must be specified in POSIX shell script with path `~/.stackgres/operator-bundle-red-hat-certified-config`
115115
@@ -121,15 +121,15 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
121121
> The pipeline may fail and some changes to the operator bunle may be required. Perform such changes only on path `stackgres-k8s/install/operator-sdk/stackgres-operator/` on a separate branch:
122122
>
123123
> ```
124-
> git checkout -b "fix-bundle-1.16.0-beta1"
124+
> git checkout -b "fix-bundle-1.17.0-beta1"
125125
> git add .
126126
> git commit -m "fix: operator bundle deployment"
127-
> git push origin "fix-bundle-1.16.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
127+
> git push origin "fix-bundle-1.17.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
128128
> ```
129129
>
130130
> Repeat the PR creation step above.
131131
>
132-
> When PR is merged create a MR to `main-1.16.0-beta1` branch.
132+
> When PR is merged create a MR to `main-1.17.0-beta1` branch.
133133
1. [ ] Create PR on Red Hat Community Operators (wait for its completion):
134134
> File that export environment variable `FORK_GIT_URL` with the git URL (make sure user can perform push on such URL) of the project that forks project `https://github.com/redhat-openshift-ecosystem/community-operators-prod` must be specified in POSIX shell script with path `~/.stackgres/operator-bundle-red-hat-community-config`
135135
@@ -141,15 +141,15 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
141141
> The pipeline may fail and some changes to the operator bunle may be required. Perform such changes only on path `stackgres-k8s/install/operator-sdk/stackgres-operator/` on a separate branch:
142142
>
143143
> ```
144-
> git checkout -b "fix-bundle-1.16.0-beta1"
144+
> git checkout -b "fix-bundle-1.17.0-beta1"
145145
> git add .
146146
> git commit -m "fix: operator bundle deployment"
147-
> git push origin "fix-bundle-1.16.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
147+
> git push origin "fix-bundle-1.17.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
148148
> ```
149149
>
150150
> Repeat the PR creation step above.
151151
>
152-
> When PR is merged create a MR to `main-1.16.0-beta1` branch.
152+
> When PR is merged create a MR to `main-1.17.0-beta1` branch.
153153
1. [ ] Create PR on OperatorHub (wait for its completion):
154154
> File that export environment variable `FORK_GIT_URL` with the git URL (make sure user can perform push on such URL) of the project that forks project `https://github.com/k8s-operatorhub/community-operators` must be specified in POSIX shell script with path `~/.stackgres/operator-bundle-operatorhub-config`
155155
@@ -161,37 +161,37 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
161161
> The pipeline may fail and some changes to the operator bunle may be required. Perform such changes only on path `stackgres-k8s/install/operator-sdk/stackgres-operator/` on a separate branch:
162162
>
163163
> ```
164-
> git checkout -b "fix-bundle-1.16.0-beta1"
164+
> git checkout -b "fix-bundle-1.17.0-beta1"
165165
> git add .
166166
> git commit -m "fix: operator bundle deployment"
167-
> git push origin "fix-bundle-1.16.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
167+
> git push origin "fix-bundle-1.17.0-beta1" -o ci.variable="DO_IMAGES=true" -o ci.variable="DO_NATIVE=true" -o ci.variable="DO_ARM=true" -o ci.variable="DO_RELEASE_IMAGE=true"
168168
> ```
169169
>
170170
> Repeat the PR creation step above.
171171
>
172-
> When PR is merged create a MR to `main-1.16.0-beta1` branch.
173-
1. [ ] Edit the [release notes of tag 1.16.0-beta1](https://gitlab.com/ongresinc/stackgres/-/releases/new?tag_name=1.16.0-beta1) by Copying and Pasting `CHANGELOG.md` section for version `1.16.0-beta1` (GitLab)
174-
1. [ ] Merge local branch `release-1.16.0-beta1` into `main-1.16`:
172+
> When PR is merged create a MR to `main-1.17.0-beta1` branch.
173+
1. [ ] Edit the [release notes of tag 1.17.0-beta1](https://gitlab.com/ongresinc/stackgres/-/releases/new?tag_name=1.17.0-beta1) by Copying and Pasting `CHANGELOG.md` section for version `1.17.0-beta1` (GitLab)
174+
1. [ ] Merge local branch `release-1.17.0-beta1` into `main-1.17`:
175175
```
176-
git checkout "main-1.16" && git pull && git merge --ff-only "release-1.16.0-beta1"
176+
git checkout "main-1.17" && git pull && git merge --ff-only "release-1.17.0-beta1"
177177
```
178-
1. [ ] Update version to be `1.16.0-SNAPSHOT`:
178+
1. [ ] Update version to be `1.17.0-SNAPSHOT`:
179179
```
180-
sh -x stackgres-k8s/ci/utils/update-version.sh "1.16.0-SNAPSHOT" "main-1.16"
181-
git commit -a -m "version: 1.16.0-SNAPSHOT"
180+
sh -x stackgres-k8s/ci/utils/update-version.sh "1.17.0-SNAPSHOT" "main-1.17"
181+
git commit -a -m "version: 1.17.0-SNAPSHOT"
182182
git push
183183
```
184-
1. [ ] Create branch `merge-1.16.0-beta1` from `main`:
184+
1. [ ] Create branch `merge-1.17.0-beta1` from `main`:
185185
```
186-
git checkout main && git pull && git checkout -b "merge-1.16.0-beta1"
186+
git checkout main && git pull && git checkout -b "merge-1.17.0-beta1"
187187
```
188-
1. [ ] Merge branch `main-1.16` into `merge-1.16.0-beta1`:
188+
1. [ ] Merge branch `main-1.17` into `merge-1.17.0-beta1`:
189189
```
190-
git merge "main-1.16"
190+
git merge "main-1.17"
191191
```
192-
1. [ ] Push `merge-1.16.0-beta1` to origin, create the merge request to merge it into `main` and wait for the pipeline to complete fixing any encountered issues:
192+
1. [ ] Push `merge-1.17.0-beta1` to origin, create the merge request to merge it into `main` and wait for the pipeline to complete fixing any encountered issues:
193193
```
194-
git push origin "merge-1.16.0-beta1"
194+
git push origin "merge-1.17.0-beta1"
195195
```
196196
197197
# Deploy Web
@@ -202,10 +202,10 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
202202
git checkout development && git pull
203203
```
204204
1. [ ] Edit `.gitlab-ci.yml`:
205-
* Change `STACKGRES_FULL_VERSIONS` by setting `1.16.0-beta1` as the first value.
206-
1. [ ] Commit changes with message `version: 1.16.0-beta1`:
205+
* Change `STACKGRES_FULL_VERSIONS` by setting `1.17.0-beta1` as the first value.
206+
1. [ ] Commit changes with message `version: 1.17.0-beta1`:
207207
```
208-
git commit -a -m 'version: 1.16.0-beta1'
208+
git commit -a -m 'version: 1.17.0-beta1'
209209
```
210210
1. [ ] Push development to origin:
211211
```
@@ -216,17 +216,17 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
216216
```
217217
git checkout master && git pull && git merge --ff-only development
218218
```
219-
1. [ ] Create tag `1.16.0-beta1`:
219+
1. [ ] Create tag `1.17.0-beta1`:
220220
```
221-
git tag 1.16.0-beta1
221+
git tag 1.17.0-beta1
222222
```
223223
1. [ ] Push master to origin:
224224
```
225225
git push
226226
```
227-
1. [ ] Push tag `1.16.0-beta1` to origin:
227+
1. [ ] Push tag `1.17.0-beta1` to origin:
228228
```
229-
git push origin 1.16.0-beta1
229+
git push origin 1.17.0-beta1
230230
```
231231
232232
# Post Checks
@@ -238,11 +238,11 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
238238
# Changelog
239239
240240
~~~
241-
# :rocket: Release 1.16.0-beta1 (${DATE})
241+
# :rocket: Release 1.17.0-beta1 (${DATE})
242242
243243
## :notepad_spiral: NOTES
244244
245-
StackGres 1.16.0-beta1 is out! :confetti_ball: :champagne:
245+
StackGres 1.17.0-beta1 is out! :confetti_ball: :champagne:
246246
247247
So, what you are waiting for to try this release and have a look to the future of StackGres!
248248
@@ -274,9 +274,9 @@ Alpha or beta version should not be used to upgrade since the upgrade process wi
274274
275275
Thank you for all the issues created, ideas, and code contributions by the StackGres Community!
276276
277-
## :twisted_rightwards_arrows: [FULL LIST OF COMMITS](https://gitlab.com/ongresinc/stackgres/-/commits/1.16.0-beta1)
277+
## :twisted_rightwards_arrows: [FULL LIST OF COMMITS](https://gitlab.com/ongresinc/stackgres/-/commits/1.17.0-beta1)
278278
~~~
279279
280-
/label ~StackGres ~"target_version::1.16.0-beta1" ~"team::DEV"
281-
/milestone %"StackGres 1.16.0-beta1"
280+
/label ~StackGres ~"target_version::1.17.0-beta1" ~"team::DEV"
281+
/milestone %"StackGres 1.17.0-beta1"
282282
/confidential

0 commit comments

Comments
 (0)