Skip to content

Commit 5617e65

Browse files
committed
Do not publish any Docker image before the vote succeeds
1 parent 46e1f1b commit 5617e65

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

site/content/release-guide.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,14 @@ Next, you have to close the staging repository:
264264
4. At the top, select "Close" and follow the instructions
265265
5. In the comment field, use "Apache Polaris x.y.z RCi"
266266

267-
### Build and staging Docker images
267+
### Build Docker images
268268

269-
You can now publish Docker images on DockerHub:
269+
You can now build the Docker images but you may not publish them on Docker Hub yet.
270+
This step is mostly for verification, to ensure that the Docker image builds correctly.
270271

271272
```
272-
./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
273-
./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
273+
./gradlew :polaris-server:assemble :polaris-server:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=false -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z-rci
274+
./gradlew :polaris-admin:assemble :polaris-admin:quarkusAppPartsBuild --rerun -Dquarkus.container-image.build=true -Dquarkus.container-image.push=false -Dquarkus.docker.buildx.platform="linux/amd64,linux/arm64" -Dquarkus.container-image.tag=x.y.z-rci
274275
```
275276

276277
### Start the vote thread
@@ -422,6 +423,15 @@ This vote passed with the following result:
422423

423424
After the release votes passed, you need to release the last candidate's artifacts.
424425

426+
### Publishing the Dobker Images
427+
428+
You can now build and publish the Docker images to Docker Hub:
429+
430+
```
431+
./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
432+
./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
433+
```
434+
425435
### Publishing the release
426436

427437
First, copy the distribution from the dist dev space to the dist release space:
@@ -525,6 +535,10 @@ In the source distribution:
525535
./gradlew build
526536
```
527537

538+
#### Testing the Helm Chart
539+
540+
The Docker image associated with the release candidate may not be published on Docker Hub before the release vote. Therefore, building the Docker image associated to a release candidate is required before the Helm chart can be tested. Refer to the [Building Docker Images section](#building-docker-images).
541+
528542
### Voting
529543

530544
Votes are cast by replying on the vote email on the dev mailing list, with either `+1`, `0`, `-1`.

0 commit comments

Comments
 (0)