Re: Pulsar 3.0.2 docker image only supports arm64 platform

2023-12-03 Thread Zike Yang
We need to use the following commands to push the images:
```sh
regctl image copy 9947090/pulsar:3.0.2-12c92fe apachepulsar/pulsar:3.0.2
regctl image copy 9947090/pulsar-all:3.0.2-12c92fe apachepulsar/pulsar-all:3.0.2
```

It's missing in the release doc. I will update it later.

Thanks,
Zike Yang

On Mon, Dec 4, 2023 at 10:31 AM Yunze Xu  wrote:
>
> I found Matteo has updated 3.1.1 as the latest image:
> https://hub.docker.com/layers/apachepulsar/pulsar/latest/images/sha256-21e8bf1571e4ab559a51b3f6e524d725cffabe3c6836101f9d7ea7eb1e2bf62c?context=explore
>
> But the 3.0.2 still lacks the image for the amd64 platform.
>
> Thanks,
> Yunze
>
> On Mon, Dec 4, 2023 at 12:51 AM Yunze Xu  wrote:
> >
> > Hi all,
> >
> > When I ran unit tests for the pulsar-client-cpp repo, which uses
> > `apachepulsar/pulsar:latest` image to start a standalone, I found the
> > tests failed and the following error [1]:
> >
> > ```
> > standalone The requested image's platform (linux/arm64) does not match
> > the detected host platform (linux/amd64/v3) and no specific platform
> > was requested
> > ```
> >
> > It seems the 3.0.2 image [2] was only built for the arm64 platform. I
> > think there is something wrong with the steps to build the image. It
> > breaks the CI for pulsar-client-cpp repo, as well as any other repo
> > that depends on the latest image. We should fix the image and push it
> > again.
> >
> > [1] 
> > https://github.com/apache/pulsar-client-cpp/actions/runs/7078043224/job/19263093582?pr=360
> > [2] 
> > https://hub.docker.com/layers/apachepulsar/pulsar/3.0.2/images/sha256-5af72da140f3901bccc0a5b56de8764cd60f0d351011fd1b90c484a30889fbf8?context=explore
> >
> > Thanks,
> > Yunze


Re: Pulsar 3.0.2 docker image only supports arm64 platform

2023-12-03 Thread Yunze Xu
I found Matteo has updated 3.1.1 as the latest image:
https://hub.docker.com/layers/apachepulsar/pulsar/latest/images/sha256-21e8bf1571e4ab559a51b3f6e524d725cffabe3c6836101f9d7ea7eb1e2bf62c?context=explore

But the 3.0.2 still lacks the image for the amd64 platform.

Thanks,
Yunze

On Mon, Dec 4, 2023 at 12:51 AM Yunze Xu  wrote:
>
> Hi all,
>
> When I ran unit tests for the pulsar-client-cpp repo, which uses
> `apachepulsar/pulsar:latest` image to start a standalone, I found the
> tests failed and the following error [1]:
>
> ```
> standalone The requested image's platform (linux/arm64) does not match
> the detected host platform (linux/amd64/v3) and no specific platform
> was requested
> ```
>
> It seems the 3.0.2 image [2] was only built for the arm64 platform. I
> think there is something wrong with the steps to build the image. It
> breaks the CI for pulsar-client-cpp repo, as well as any other repo
> that depends on the latest image. We should fix the image and push it
> again.
>
> [1] 
> https://github.com/apache/pulsar-client-cpp/actions/runs/7078043224/job/19263093582?pr=360
> [2] 
> https://hub.docker.com/layers/apachepulsar/pulsar/3.0.2/images/sha256-5af72da140f3901bccc0a5b56de8764cd60f0d351011fd1b90c484a30889fbf8?context=explore
>
> Thanks,
> Yunze


Pulsar 3.0.2 docker image only supports arm64 platform

2023-12-03 Thread Yunze Xu
Hi all,

When I ran unit tests for the pulsar-client-cpp repo, which uses
`apachepulsar/pulsar:latest` image to start a standalone, I found the
tests failed and the following error [1]:

```
standalone The requested image's platform (linux/arm64) does not match
the detected host platform (linux/amd64/v3) and no specific platform
was requested
```

It seems the 3.0.2 image [2] was only built for the arm64 platform. I
think there is something wrong with the steps to build the image. It
breaks the CI for pulsar-client-cpp repo, as well as any other repo
that depends on the latest image. We should fix the image and push it
again.

[1] 
https://github.com/apache/pulsar-client-cpp/actions/runs/7078043224/job/19263093582?pr=360
[2] 
https://hub.docker.com/layers/apachepulsar/pulsar/3.0.2/images/sha256-5af72da140f3901bccc0a5b56de8764cd60f0d351011fd1b90c484a30889fbf8?context=explore

Thanks,
Yunze