[Debian-salsa-ci] Need to disable amd64 build job for a salsa ci pipeline

Iñaki Malerba ina at malerba.space
Wed Sep 21 16:08:13 BST 2022


Hello Probal,

On Wed, Sep 21, 2022 at 07:27:16PM +0530, probal basak wrote:
> Hello,
>
> I am trying to build a deb package for armhf.
> The pipeline is set up but I do not want the build job to run (which if I
> am not wrong is for amd64 architecture).
>
> I tried disabling the job with rules -> when -> never
>
> But it seems several other jobs are dependent on this build job.
>
> I do not need the amd64 deb for the package I am trying to build.
>
> It would be helpful if you can please let me know how to achieve this and
> disable the build job.

Testing the arm build artifacts is not currently supported.

The first and obvious problem is that artifacts are hardcoded to the
amd64 build job. You can fix that overriding the test jobs' `needs:`
to point to the armhf build.

The second problem you'll hit is that all test images are amd64 based,
so they won't be able to handle your armhf artifacts. If you're able
to build and push them to a registry, you'd need to change the `image:`
keyword on the jobs too.

I might be missing something.

Changes to make this more flexible in the pipeline are welcome. I'm not
sure we should add more architectures to the matrix of images built in
CI, though.

Iñaki



More information about the Debian-salsa-ci mailing list