You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "RobertIndie (via GitHub)" <gi...@apache.org> on 2023/12/05 09:01:40 UTC
[PR] [fix] Update release docker image in release process [pulsar-site]
RobertIndie opened a new pull request, #745:
URL: https://github.com/apache/pulsar-site/pull/745
<!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
-->
The current release docker images process doesn't work for Pulsar above versions 3.0.0. Pulsar has added arm and amd arch supports for the docker image. If we use the original command to push the image, it will push only one arch.
We recommend use tools like regctl to push images.
For the latest tag of the pulsar image, this PR proposes to use the last feature release version or the patch release of the last feature release as the `latest` tag.
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [x] `doc` <!-- Your PR contains doc changes. Please attach the local preview screenshots (run `./preview.sh` at root path) to your PR description, or else your PR might not get merged. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix] Update release docker image in release process [pulsar-site]
Posted by "codelipenghui (via GitHub)" <gi...@apache.org>.
codelipenghui commented on code in PR #745:
URL: https://github.com/apache/pulsar-site/pull/745#discussion_r1423366897
##########
contribute/release-process.md:
##########
@@ -320,20 +320,20 @@ Promote the Maven staging repository for release. Login to `https://repository.a
### Release Docker images
-Copy the approved candidate docker images from your personal account to apachepulsar org.
+Please ensure that the regctl tools have been properly installed. They can be obtained from the following link: https://github.com/regclient/regclient/blob/main/docs/install.md
+
+Copy the approved candidate Docker images from your personal account to the apachepulsar organization:
```bash
-PULSAR_VERSION=2.x.x
+PULSAR_VERSION=3.x.x
OTHER_DOCKER_USER=otheruser
-for image in pulsar pulsar-all pulsar-grafana pulsar-standalone; do
- docker pull "${OTHER_DOCKER_USER}/$image:${PULSAR_VERSION}" && {
- docker tag "${OTHER_DOCKER_USER}/$image:${PULSAR_VERSION}" "apachepulsar/$image:${PULSAR_VERSION}"
- echo "Pushing apachepulsar/$image:${PULSAR_VERSION}"
- docker push "apachepulsar/$image:${PULSAR_VERSION}"
- }
-done
+CANDIDATE_TAG=3.x.x-80fb390
+regctl image copy ${OTHER_DOCKER_USER}/pulsar:${CANDIDATE_TAG} apachepulsar/pulsar:${PULSAR_VERSION}
+regctl image copy ${OTHER_DOCKER_USER}/pulsar-all:${CANDIDATE_TAG} apachepulsar/pulsar-all:${PULSAR_VERSION}
```
+If this release is a feature rlease or a patch release of the last feature release, you should also push these images to the latest tag.
Review Comment:
```suggestion
If this release is a feature release or a patch release of the last feature release, you should also push these images to the latest tag.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix] Update release docker image in release process [pulsar-site]
Posted by "RobertIndie (via GitHub)" <gi...@apache.org>.
RobertIndie merged PR #745:
URL: https://github.com/apache/pulsar-site/pull/745
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix] Update release docker image in release process [pulsar-site]
Posted by "RobertIndie (via GitHub)" <gi...@apache.org>.
RobertIndie commented on PR #745:
URL: https://github.com/apache/pulsar-site/pull/745#issuecomment-1878038485
Convert this PR to draft as we need a PIP for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org