Skip to content

Commit 2b020ae

Browse files
committed
Merge branch 'add-version-1.13' into 'main'
Add version 1.13 See merge request ongresinc/stackgres!1594
2 parents dfdb6ca + 45d6665 commit 2b020ae

194 files changed

Lines changed: 2480 additions & 1230 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab/issue_templates/Beta Release.md

Lines changed: 71 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Set title to:
44
55
```
6-
Release StackGres 1.12.0-beta1
6+
Release StackGres 1.13.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.12.0-beta1" are done.
19+
1. [ ] Make sure all tasks marked with label ~"target_version::1.13.0-beta1" are done.
2020

2121
# Release steps
2222

23-
1. [ ] Create local branch `release-1.12.0-beta1` from `main-1.12`:
23+
1. [ ] Create local branch `release-1.13.0-beta1` from `main-1.13`:
2424
```
25-
git checkout "main-1.12" && git pull && git checkout -b "release-1.12.0-beta1"
25+
git checkout "main-1.13" && git pull && git checkout -b "release-1.13.0-beta1"
2626
```
27-
1. [ ] Update project version to `1.12.0-beta1`:
27+
1. [ ] Update project version to `1.13.0-beta1`:
2828
```
29-
sh -x stackgres-k8s/ci/utils/update-version.sh "1.12.0-beta1"
29+
sh -x stackgres-k8s/ci/utils/update-version.sh "1.13.0-beta1"
3030
```
3131
1. [ ] Update `CHANGELOG.md` (review commit messages to populate the changelog: `git log`)
32-
1. [ ] Add 1.12.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.13.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.12.0-beta1`:
37+
1. [ ] Commit changes with message `version: 1.13.0-beta1`:
3838
```
39-
git commit -S -a -m "version: 1.12.0-beta1"
39+
git commit -S -a -m "version: 1.13.0-beta1"
4040
```
41-
1. [ ] Push `release-1.12.0-beta1` branch:
41+
1. [ ] Push `release-1.13.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 "" -t m6gd.4xlarge -i "" -d 14400 -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.12.0-beta1` branch and wait for the pipeline to complete:
56+
Now we can push `release-1.13.0-beta1` branch and wait for the pipeline to complete:
5757
```
58-
git push origin "release-1.12.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.13.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.12.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.13.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.12.0-beta1`:
72+
1. [ ] Create tag `1.13.0-beta1`:
7373
```
74-
git tag "1.12.0-beta1"
74+
git tag "1.13.0-beta1"
7575
```
76-
1. [ ] Push tag `1.12.0-beta1` to the origin and wait for the pipeline to complete:
76+
1. [ ] Push tag `1.13.0-beta1` to the origin and wait for the pipeline to complete:
7777
```
78-
git push origin "1.12.0-beta1"
78+
git push origin "1.13.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.12.0-beta1" IMAGE_TAG="1.12.0-beta1" sh get-images.sh | grep -F quay.io/stackgres/ | xargs -I % sh preflight.sh %
91+
STACKGRES_VERSION="1.13.0-beta1" IMAGE_TAG="1.13.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.12.0-beta1"
104+
> git checkout -b "fix-bundle-1.13.0-beta1"
105105
> git add .
106106
> git commit -m "fix: operator bundle deployment"
107-
> git push origin "fix-bundle-1.12.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.13.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.12.0-beta1` branch.
112+
> When PR is merged create a MR to `main-1.13.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,35 @@ 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.12.0-beta1"
124+
> git checkout -b "fix-bundle-1.13.0-beta1"
125125
> git add .
126126
> git commit -m "fix: operator bundle deployment"
127-
> git push origin "fix-bundle-1.12.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.13.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.12.0-beta1` branch.
132+
> When PR is merged create a MR to `main-1.13.0-beta1` branch.
133+
1. [ ] Create PR on Red Hat Community Operators (wait for its completion):
134+
> 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`
135+
136+
```
137+
cd stackgres-k8s/install/operator-sdk/stackgres-operator/
138+
. ~/.stackgres/operator-bundle-red-hat-community-config && sh deploy-to-red-hat-community.sh
139+
```
140+
141+
> 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:
142+
>
143+
> ```
144+
> git checkout -b "fix-bundle-1.13.0-beta1"
145+
> git add .
146+
> git commit -m "fix: operator bundle deployment"
147+
> git push origin "fix-bundle-1.13.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"
148+
> ```
149+
>
150+
> Repeat the PR creation step above.
151+
>
152+
> When PR is merged create a MR to `main-1.13.0-beta1` branch.
133153
1. [ ] Create PR on OperatorHub (wait for its completion):
134154
> 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`
135155
@@ -141,37 +161,37 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
141161
> 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:
142162
>
143163
> ```
144-
> git checkout -b "fix-bundle-1.12.0-beta1"
164+
> git checkout -b "fix-bundle-1.13.0-beta1"
145165
> git add .
146166
> git commit -m "fix: operator bundle deployment"
147-
> git push origin "fix-bundle-1.12.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.13.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"
148168
> ```
149169
>
150170
> Repeat the PR creation step above.
151171
>
152-
> When PR is merged create a MR to `main-1.12.0-beta1` branch.
153-
1. [ ] Edit the [release notes of tag 1.12.0-beta1](https://gitlab.com/ongresinc/stackgres/-/releases/new?tag_name=1.12.0-beta1) by Copying and Pasting `CHANGELOG.md` section for version `1.12.0-beta1` (GitLab)
154-
1. [ ] Merge local branch `release-1.12.0-beta1` into `main-1.12`:
172+
> When PR is merged create a MR to `main-1.13.0-beta1` branch.
173+
1. [ ] Edit the [release notes of tag 1.13.0-beta1](https://gitlab.com/ongresinc/stackgres/-/releases/new?tag_name=1.13.0-beta1) by Copying and Pasting `CHANGELOG.md` section for version `1.13.0-beta1` (GitLab)
174+
1. [ ] Merge local branch `release-1.13.0-beta1` into `main-1.13`:
155175
```
156-
git checkout "main-1.12" && git pull && git merge --ff-only "release-1.12.0-beta1"
176+
git checkout "main-1.13" && git pull && git merge --ff-only "release-1.13.0-beta1"
157177
```
158-
1. [ ] Update version to be `1.12.0-SNAPSHOT`:
178+
1. [ ] Update version to be `1.13.0-SNAPSHOT`:
159179
```
160-
sh -x stackgres-k8s/ci/utils/update-version.sh "1.12.0-SNAPSHOT" "main-1.12"
161-
git commit -a -m "version: 1.12.0-SNAPSHOT"
180+
sh -x stackgres-k8s/ci/utils/update-version.sh "1.13.0-SNAPSHOT" "main-1.13"
181+
git commit -a -m "version: 1.13.0-SNAPSHOT"
162182
git push
163183
```
164-
1. [ ] Create branch `merge-1.12.0-beta1` from `main`:
184+
1. [ ] Create branch `merge-1.13.0-beta1` from `main`:
165185
```
166-
git checkout main && git pull && git checkout -b "merge-1.12.0-beta1"
186+
git checkout main && git pull && git checkout -b "merge-1.13.0-beta1"
167187
```
168-
1. [ ] Merge branch `main-1.12` into `merge-1.12.0-beta1`:
188+
1. [ ] Merge branch `main-1.13` into `merge-1.13.0-beta1`:
169189
```
170-
git merge "main-1.12"
190+
git merge "main-1.13"
171191
```
172-
1. [ ] Push `merge-1.12.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.13.0-beta1` to origin, create the merge request to merge it into `main` and wait for the pipeline to complete fixing any encountered issues:
173193
```
174-
git push origin "merge-1.12.0-beta1"
194+
git push origin "merge-1.13.0-beta1"
175195
```
176196
177197
# Deploy Web
@@ -182,10 +202,10 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
182202
git checkout development && git pull
183203
```
184204
1. [ ] Edit `.gitlab-ci.yml`:
185-
* Change `STACKGRES_FULL_VERSIONS` by setting `1.12.0-beta1` as the first value.
186-
1. [ ] Commit changes with message `version: 1.12.0-beta1`:
205+
* Change `STACKGRES_FULL_VERSIONS` by setting `1.13.0-beta1` as the first value.
206+
1. [ ] Commit changes with message `version: 1.13.0-beta1`:
187207
```
188-
git commit -a -m 'version: 1.12.0-beta1'
208+
git commit -a -m 'version: 1.13.0-beta1'
189209
```
190210
1. [ ] Push development to origin:
191211
```
@@ -196,17 +216,17 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
196216
```
197217
git checkout master && git pull && git merge --ff-only development
198218
```
199-
1. [ ] Create tag `1.12.0-beta1`:
219+
1. [ ] Create tag `1.13.0-beta1`:
200220
```
201-
git tag 1.12.0-beta1
221+
git tag 1.13.0-beta1
202222
```
203223
1. [ ] Push master to origin:
204224
```
205225
git push
206226
```
207-
1. [ ] Push tag `1.12.0-beta1` to origin:
227+
1. [ ] Push tag `1.13.0-beta1` to origin:
208228
```
209-
git push origin 1.12.0-beta1
229+
git push origin 1.13.0-beta1
210230
```
211231
212232
# Post Checks
@@ -218,11 +238,11 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
218238
# Changelog
219239
220240
~~~
221-
# :rocket: Release 1.12.0-beta1 (${DATE})
241+
# :rocket: Release 1.13.0-beta1 (${DATE})
222242
223243
## :notepad_spiral: NOTES
224244
225-
StackGres 1.12.0-beta1 is out! :confetti_ball: :champagne:
245+
StackGres 1.13.0-beta1 is out! :confetti_ball: :champagne:
226246
227247
So, what you are waiting for to try this release and have a look to the future of StackGres!
228248
@@ -254,9 +274,9 @@ Alpha or beta version should not be used to upgrade since the upgrade process wi
254274
255275
Thank you for all the issues created, ideas, and code contributions by the StackGres Community!
256276
257-
## :twisted_rightwards_arrows: [FULL LIST OF COMMITS](https://gitlab.com/ongresinc/stackgres/-/commits/1.12.0-beta1)
277+
## :twisted_rightwards_arrows: [FULL LIST OF COMMITS](https://gitlab.com/ongresinc/stackgres/-/commits/1.13.0-beta1)
258278
~~~
259279
260-
/label ~StackGres ~"target_version::1.12.0-beta1" ~"team::DEV"
261-
/milestone %"StackGres 1.12.0-beta1"
280+
/label ~StackGres ~"target_version::1.13.0-beta1" ~"team::DEV"
281+
/milestone %"StackGres 1.13.0-beta1"
262282
/confidential

0 commit comments

Comments
 (0)