Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions site/content/release-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,6 @@ Next, you have to close the staging repository:
4. At the top, select "Close" and follow the instructions
5. In the comment field, use "Apache Polaris x.y.z RCi"

### Build and staging Docker images

You can now publish Docker images on DockerHub:

```
./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
./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
```

### Start the vote thread

The last step for a release candidate is to create a VOTE thread on the dev mailing list.
Expand Down Expand Up @@ -248,10 +239,7 @@ The release tarball, signature, and checksums are here:

Helm charts are available on:
* https://dist.apache.org/repos/dist/dev/incubator/polaris/helm-chart

Docker images:
* https://hub.docker.com/r/apache/polaris/tags (x.y.z-rci)
* https://hub.docker.com/r/apache/polaris-admin-tool/tags (x.y.z-rci)
NB: you have to build the Docker images locally in order to test Helm charts.

You can find the KEYS file here:
* https://downloads.apache.org/incubator/polaris/KEYS
Expand Down Expand Up @@ -377,15 +365,33 @@ svn mv https://dist.apache.org/repos/dist/dev/incubator/polaris/x.y.z https://di
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
```

NB: you have to update the Helm chart repository index on https://dist.apache.org/repos/dist/release/incubator/polaris/helm-chart/index.yaml
```
svn co https://dist.apache.org/repos/dist/release/incubator/polaris/helm-chart polaris-helm-chart
cd polaris-helm-chart
helm repo index .
svn commit
```

Next, add a release tag to the git repository based on the candidate tag:

```
git tag -a apache-polaris-x.y.z apache-polaris-x.y.z-rci
```

Update GitHub with the release: https://github.com/apache/polaris/releases/tag/apache-polaris-x.y.z

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

### Publishing the Docker images

You can now publish Docker images on DockerHub:

```
./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
./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
```

### Publishing docs
1. Open a PR against branch [`versioned-docs`](https://github.com/apache/polaris/tree/versioned-docs) to publish the documentation
2. Open a PR against the `main` branch to update website
Expand All @@ -396,7 +402,7 @@ Then release the candidate repository on [Nexus](https://repository.apache.org/#
To announce the release, wait until Maven Central has mirrored the artifacts.


Send a mail to dev@iceberg.apache.org and announce@apache.org:
Send a mail to dev@polaris.apache.org and announce@apache.org:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅


```
[ANNOUNCE] Apache Polaris x.y.z
Expand All @@ -409,8 +415,6 @@ The Apache Polaris team is pleased to announce Apache Polaris x.y.z.

This release can be downloaded https://www.apache.org/dyn/closer.cgi/incubator/polaris/apache-polaris-x.y.z.

Release notes: https://polaris.apache.org/blog/apache-polaris-x.y.z

Artifacts are available on Maven Central.

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.
Expand Down