You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
30
30
```
31
31
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`
33
33
1. [ ] Check the changes to ensure everything is correct before commit:
34
34
```
35
35
git diff
36
36
```
37
-
1. [ ] Commit changes with message `version: 1.12.0-beta1`:
37
+
1. [ ] Commit changes with message `version: 1.13.0-beta1`:
38
38
```
39
-
git commit -S -a -m "version: 1.12.0-beta1"
39
+
git commit -S -a -m "version: 1.13.0-beta1"
40
40
```
41
-
1. [ ] Push `release-1.12.0-beta1` branch:
41
+
1. [ ] Push `release-1.13.0-beta1` branch:
42
42
43
43
**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.**
44
44
@@ -53,9 +53,9 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
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
66
66
67
67
```
68
68
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 %
70
70
```
71
71
72
-
1. [ ] Create tag `1.12.0-beta1`:
72
+
1. [ ] Create tag `1.13.0-beta1`:
73
73
```
74
-
git tag "1.12.0-beta1"
74
+
git tag "1.13.0-beta1"
75
75
```
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:
77
77
```
78
-
git push origin "1.12.0-beta1"
78
+
git push origin "1.13.0-beta1"
79
79
```
80
80
1. [ ] After pipeline succeeded, scale down the ARM runners (or terminate the instance created with the script):
81
81
```
@@ -88,7 +88,7 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
88
88
89
89
```
90
90
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 %
92
92
```
93
93
1. [ ] Create PR on Red Hat Certified Operators (wait for its completion):
94
94
> 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
101
101
> 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:
> 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.
113
113
1. [ ] Create PR on Red Hat Marketplace Operators (wait for its completion):
114
114
> 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`
115
115
@@ -121,15 +121,35 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
121
121
> 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:
> 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:
> When PR is merged create a MR to `main-1.13.0-beta1` branch.
133
153
1. [ ] Create PR on OperatorHub (wait for its completion):
134
154
> 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`
135
155
@@ -141,37 +161,37 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
141
161
> 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:
> 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`:
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`:
169
189
```
170
-
git merge "main-1.12"
190
+
git merge "main-1.13"
171
191
```
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:
173
193
```
174
-
git push origin "merge-1.12.0-beta1"
194
+
git push origin "merge-1.13.0-beta1"
175
195
```
176
196
177
197
# Deploy Web
@@ -182,10 +202,10 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
182
202
git checkout development && git pull
183
203
```
184
204
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`:
187
207
```
188
-
git commit -a -m 'version: 1.12.0-beta1'
208
+
git commit -a -m 'version: 1.13.0-beta1'
189
209
```
190
210
1. [ ] Push development to origin:
191
211
```
@@ -196,17 +216,17 @@ sh stackgres-k8s/ci/utils/generate-release-template.sh $VERSION
0 commit comments