6 Commits

Author SHA1 Message Date
Clark Boylan
298354d2e3 Ombibus set of fixups for Ubuntu Noble
There are a number of updates we make for Ubuntu Noble in this commit.

1. Remove python2-dev from bindep for Noble as Noble appears to have no
   python2 runtime options.
2. Add libjpeg-dev to bindep for noble because Pillow doesn't build
   python3.12 wheels for Pillow<10 which we currently depend on. This
   means we need to build from source and that depends on libjpeg-dev.
3. We remove double bracket wrappers from ansible vars in ansible
   assertion blocks. Having them results in errors like:
     Conditional is marked as unsafe, and cannot be evaluated.
4. We update rust testing to explicitly install pkg-config before
   building python cryptography. This tool is required to build
   cryptography from source and is no longer being pulled in either
   by the base images or build-essential meta pacakge.
5. Add an Ubuntu-24.04 tasks file for the ensure-skopeo roles so that
   we try to install skopeo using distro packages or build from source
   and don't use Kubic which only has packages for old Ubuntu releases.

Change-Id: I388710ce40dc757ada4de819a9c3c59fc32fb07a
2024-05-23 10:54:36 -07:00
Radosław Piliszek
bae449c42c Reenable buildset-registry jobs
As a followup to I4d05f9b187f9e40c3dcb2597e08c5bb50c261b17

We switch buildset-registry jobs to debian bookworm which has new enough
golang to build the latest skopeo version. Latest skopeo is used in
order to get api version negotiation behavior which is necessary for
talking to modern docker (version 25 or newer).

Change-Id: Ie673ef6724b0a40e3cfb2ba83e90d566e1f1837c
Co-Authored-By: Clark Boylan <cboylan@sapwetik.org>
2024-03-21 21:09:01 +00:00
Ian Wienand
191eb6419f ensure-skopeo: fixup some typos
This fixes up some typos from an earlier changeset
I18c56aea776e9ef102fe9020db592fb04df372e2

Change-Id: I6483294b9537ecf94ed09faab9a2f28438881590
2023-02-07 03:04:54 +00:00
Ian Wienand
32be2d9067
ensure-skopeo: add install from upstream option
To test current buildx we need a later skopeo that understands the OCI
manifest formats.  c.f. the zuul-executor image updates with
Iab667a92a5b6e6f8591db2aa435a782913d9d34f.

A recent enough version (1.9) isn't packaged for any LTS distros.  So
add an upstream option, but it's only implemented (for now) on Jammy,
where we will test with it.

Change-Id: I206a3cbfb16575f409771d96c2b7e49929e61a49
2023-02-03 15:02:23 +11:00
Ian Wienand
9429c2f601
ensure-podman/skopeo : update for Jammy
These packages are included in Jammy, so install directly.

We can unpin the buildset registry job so it runs on Jammy now.

Change-Id: I00b269f5924474ac00b56c7695a5c526a9a56046
2022-11-07 10:37:33 +11:00
Guillaume Chauvel
b517747623 Add ensure-skopeo role
Role copied and modified from ensure-podman

As focal doesn't exist for project atomic ppa [1]
Install is performed from opensuse repository only

[1] http://ppa.launchpad.net/projectatomic/ppa/ubuntu/dists/

Change-Id: I72fc2e68768664b80c39bd47295330131337d8b5
2021-05-25 16:38:00 +02:00