Skip to content

Commit a8161a7

Browse files
authored
This change fixes: (#2395)
* use [email protected] 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 * remove blog post link in the release announcement email to let this to the discretion of the release manager
1 parent 7a5c6d8 commit a8161a7

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

site/content/release-guide.md

Lines changed: 20 additions & 16 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 [email protected]:
405+
Send a mail to dev@polaris.apache.org and [email protected]:
400406

401407
```
402408
[ANNOUNCE] Apache Polaris x.y.z
@@ -409,8 +415,6 @@ The Apache Polaris team is pleased to announce Apache Polaris x.y.z.
409415
410416
This release can be downloaded https://www.apache.org/dyn/closer.cgi/incubator/polaris/apache-polaris-x.y.z.
411417
412-
Release notes: https://polaris.apache.org/blog/apache-polaris-x.y.z
413-
414418
Artifacts are available on Maven Central.
415419
416420
Apache Polaris is an open-source, fully-featured catalog for Apache Iceberg™. It implements Iceberg's REST API, enabling seamless multi-engine interoperability across a wide range of platforms, including Apache Doris™, Apache Flink®, Apache Spark™, Dremio®, StarRocks, and Trino.

0 commit comments

Comments
 (0)