Skip to content

Commit 8641d21

Browse files
committed
This change fixes:
* use dev@polaris.apache.org for announcement * publish Docker images only when the vote passed (we are not suppose to publish any public artifacts before the vote is completed) * update the vote email accordingly
1 parent 12ab618 commit 8641d21

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

site/content/release-guide.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,6 @@ Next, you have to close the staging repository:
210210
4. At the top, select "Close" and follow the instructions
211211
5. In the comment field, use "Apache Polaris x.y.z RCi"
212212

213-
### Build and staging Docker images
214-
215-
You can now publish Docker images on DockerHub:
216-
217-
```
218-
./gradlew :polaris-server:assemble :polaris-server:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z-rci
219-
./gradlew :polaris-admin:assemble :polaris-admin:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z-rci
220-
```
221-
222213
### Start the vote thread
223214

224215
The last step for a release candidate is to create a VOTE thread on the dev mailing list.
@@ -248,10 +239,7 @@ The release tarball, signature, and checksums are here:
248239
249240
Helm charts are available on:
250241
* https://dist.apache.org/repos/dist/dev/incubator/polaris/helm-chart
251-
252-
Docker images:
253-
* https://hub.docker.com/r/apache/polaris/tags (x.y.z-rci)
254-
* https://hub.docker.com/r/apache/polaris-admin-tool/tags (x.y.z-rci)
242+
NB: you have to build the Docker images locally in order to test Helm charts.
255243
256244
You can find the KEYS file here:
257245
* https://downloads.apache.org/incubator/polaris/KEYS
@@ -377,15 +365,33 @@ svn mv https://dist.apache.org/repos/dist/dev/incubator/polaris/x.y.z https://di
377365
svn mv https://dist.apache.org/repos/dist/dev/incubator/polaris/helm-chart/x.y.z https://dist.apache.org/repos/dist/release/incubator/polaris/helm-chart
378366
```
379367

368+
NB: you have to update the Helm chart repository index on https://dist.apache.org/repos/dist/release/incubator/polaris/helm-chart/index.yaml
369+
```
370+
svn co https://dist.apache.org/repos/dist/release/incubator/polaris/helm-chart polaris-helm-chart
371+
cd polaris-helm-chart
372+
helm repo index .
373+
svn commit
374+
```
375+
380376
Next, add a release tag to the git repository based on the candidate tag:
381377

382378
```
383379
git tag -a apache-polaris-x.y.z apache-polaris-x.y.z-rci
384380
```
381+
385382
Update GitHub with the release: https://github.com/apache/polaris/releases/tag/apache-polaris-x.y.z
386383

387384
Then release the candidate repository on [Nexus](https://repository.apache.org/#stagingRepositories).
388385

386+
### Publishing the Docker images
387+
388+
You can now publish Docker images on DockerHub:
389+
390+
```
391+
./gradlew :polaris-server:assemble :polaris-server:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z
392+
./gradlew :polaris-admin:assemble :polaris-admin:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z
393+
```
394+
389395
### Publishing docs
390396
1. Open a PR against branch [`versioned-docs`](https://github.com/apache/polaris/tree/versioned-docs) to publish the documentation
391397
2. Open a PR against the `main` branch to update website
@@ -396,7 +402,7 @@ Then release the candidate repository on [Nexus](https://repository.apache.org/#
396402
To announce the release, wait until Maven Central has mirrored the artifacts.
397403

398404

399-
Send a mail to dev@iceberg.apache.org and announce@apache.org:
405+
Send a mail to dev@polaris.apache.org and announce@apache.org:
400406

401407
```
402408
[ANNOUNCE] Apache Polaris x.y.z

0 commit comments

Comments
 (0)