Commit Graph

74 Commits

Author SHA1 Message Date
renovate[bot] 91ec736be4
chore(deps): update dependency containers/automation_images to v20240102
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 02:12:00 +00:00
Daniel J Walsh 7d748459cc
Move minimal golang to v1.20
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-01-03 11:57:17 -05:00
renovate[bot] 114d7f71d5
chore(deps): update dependency containers/automation_images to v20231208
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 20:47:14 +00:00
Daniel J Walsh 56134afbb9
Fedora 39 is released
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-12-13 11:15:58 -05:00
renovate[bot] 2ef3cfa987
chore(deps): update dependency containers/automation_images to v20231116
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 22:18:45 +00:00
Chris Evich 830c5aec90
CI: Stop testing ZFS
ZFS isn't supported in debian, it's always been a community side-load
situation (think EPEL for CentOS).  This is the only containers repo.
that makes use of it in CI.  Worse, since we're testing with SID,
installing (i.e. compiling) the ZFS kernel module is an even more
fragile and failure prone process.  Because of those issues I've
stripped it out of these CI VM images.  I no-longer wish to support
its use in this CI setup.  If somebody else wants to support it, they're
more than welcome and free to do so.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-10-20 13:57:29 -04:00
Chris Evich 6c100e01aa
CI: Update Fedora release number
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-10-20 13:56:36 -04:00
renovate[bot] 54b84d5a2c
chore(deps): update dependency containers/automation_images to v20231004
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 07:46:39 +00:00
renovate[bot] fbfcd43f12
chore(deps): update dependency containers/automation_images to v20230816
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 21:30:01 +00:00
renovate[bot] d991b3a4a5
chore(deps): update dependency containers/automation_images to v20230809
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 16:00:44 +00:00
renovate[bot] 3db52a14b1
chore(deps): update dependency containers/automation_images to v20230807
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 13:49:52 +00:00
renovate[bot] dac558d704
chore(deps): update dependency containers/automation_images to v20230614
Updated Debian CI VM Image.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-06-14 13:26:33 -04:00
renovate[bot] e633021991
chore(deps): update dependency containers/automation_images to v20230601
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 12:55:16 +00:00
Kir Kolyshkin cfa8c2814d .cirrus.yml: fix a warning
Cirrus CI emits a bunch of warnings like this one:

> task "success" depends on task "fedora-38 vfs", but their only_if conditions are different

This was probably copied from another repo, which uses CI:DOCS magic to
skip some tests. In this repo, it is not used, so remove the condition.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-05-25 09:40:18 -07:00
Kir Kolyshkin ef4fda9748 .cirrus.yml: simplify test_script
Mostly for readability.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-05-23 18:51:06 -07:00
renovate[bot] bc191a700c
chore(deps): update dependency containers/automation_images to v20230517
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 22:10:45 +00:00
Daniel J Walsh 81973504b9
Move to golang 1.19 for minimum
Fixes: https://github.com/containers/storage/issues/1597

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-05-15 13:42:43 -04:00
Chris Evich c43d913d6c
Cirrus: Update fedora name
Ref: https://github.com/containers/storage/pull/1588

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-05-03 09:58:49 -04:00
renovate[bot] 04295cf96e
chore(deps): update dependency containers/automation_images to v20230426
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-02 21:22:29 +00:00
Giuseppe Scrivano c0c43e4f68
cirrus: drop debian additional repos
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-04-27 22:21:28 +02:00
Miloslav Trmač 42f5e4a491 Update the version of Go used for cross_task
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-04-18 20:45:28 +02:00
renovate[bot] 117653fac4
chore(deps): update dependency containers/automation_images to v20230405
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 19:39:01 +00:00
Daniel J Walsh 9904fa3ea7
Merge pull request #1535 from cevich/debian_images
Cirrus: Migrate Ubuntu to Debian CI VM Images
2023-04-04 15:04:38 -04:00
Chris Evich 1ad45ee2e2
Cirrus: Migrate Ubuntu to Debian CI VM Images
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-04-04 10:49:27 -04:00
Daniel J Walsh a3204cf7e8
Move to golang 1.18 and later
Github.com is reporting security issues on older versions of
golang.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-04-03 15:26:54 -04:00
Nalin Dahyabhai 3b009a641c cirrus: refactor Ubuntu and Fedora test tasks
Refactor Ubuntu and Fedora tests to depend on a common base that isn't a
task, so that we don't run the Ubuntu test matrix-of-scenarios on top of
the Fedora test matrix-of-scenarios, where they would multiply.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-03-09 15:36:36 -05:00
Nalin Dahyabhai c431c6bab1 CI: test zfs
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-02-02 14:52:16 -05:00
Nalin Dahyabhai c1388ded80 CI: check that cross-compilation works
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-02-01 16:57:24 -05:00
Daniel J Walsh 0410c35ca4
Merge pull request #1491 from giuseppe/F37_ci_vm_images
Cirrus: Update CI VM Images to F37
2023-01-31 21:31:34 -05:00
Chris Evich e0a031d479
Cirrus: Update CI VM Images to F37
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-31 12:12:49 +01:00
Chris Evich 158e3d036b
[CI:DOCS] Cirrus: Skipping some tests for docs-only PRs
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-30 11:14:32 -05:00
Nalin Dahyabhai 137b452ba5 CI: test btrfs
Make a file and mount it over loopback to ensure that we can test btrfs,
assuming we were built with the libraries and the kernel supports it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-01-27 09:21:58 -05:00
Daniel J Walsh b4f7b119c9
Create pkg/regexp to better handle init regex
The new Reexp structure, will handle the initialization of regexp
and then will do the MustCompile within a sync.Once field.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-12 13:19:47 -05:00
Alexander Larsson d6cb12d10f Add test for transient mode
If STORAGE_TRANSIENT is set to 1 then transient mode will be enabled
in the tests.

Also adds overlay-transient to the cirrus CI.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2022-11-14 16:36:30 +01:00
Paul Holzinger c90fdc85f8
CI: run make local-validate
Make sure all PRs are formated with `go fmt` correctly.
I added it to the existing lint job as this seems to make the most
sense to me.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-11-02 20:51:36 +01:00
Daniel J Walsh b7a05617da
Disable fedora 35 testing golang is too old
We can reenable this once we have fedora 37 images available and PRIOR
becomes f36

Revert this patch and switch to f37/f36 when ready

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-10-15 06:33:36 -04:00
dependabot[bot] c80d439d8d
build(deps): bump github.com/containerd/stargz-snapshotter/estargz
Bumps [github.com/containerd/stargz-snapshotter/estargz](https://github.com/containerd/stargz-snapshotter) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/containerd/stargz-snapshotter/releases)
- [Commits](https://github.com/containerd/stargz-snapshotter/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: github.com/containerd/stargz-snapshotter/estargz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-10-15 05:54:38 -04:00
Chris Evich 9e16fb2c21
[CI:DOCS] Cirrus: Use the latest imgts container
Contains important updates re: preserving release-branch CI VM images.
Ref: https://github.com/containers/automation_images/pull/157

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-07-26 16:03:44 -04:00
Lokesh Mandvekar 0de5a4ecd5
Cirrus: use latest fedora and ubuntu releases
bump fedora release to 36
bump fedora prior to 35
bump ubuntu release to 22.04

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-06-01 11:21:02 -04:00
Daniel J Walsh 04b2f0f741
Switch most calls to filepath.Walk to filepath.WalkDir
It is faster then Walk, when you don't need to stat every
file and directory.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-04-06 09:42:25 -04:00
Chris Evich 201197553f
Cirrus: Update VM Images + env. var. name
For consistency with CI in other repositories, update the variable name.
Also, remove some variable definitions which are not included in the
common automation library.  Finally, strip off the special Fedora
partition setup, as it's no-longer supported in the VM images.

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-03-29 14:07:51 -04:00
Giuseppe Scrivano 715b0b52d0
.cirrus.yml: bump Fedora version
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-11-23 21:43:55 +01:00
Chris Evich 791e1bb86c
Update VM Images + Drop prior-ubuntu references
Prior-Ubuntu support is being dropped everywhere.

Ref: https://github.com/containers/podman/issues/11070
     https://github.com/containers/automation_images/pull/88

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-09-14 13:02:04 -04:00
Chris Evich ec64ea9119
Cirrus: Use fresh VM & Container images
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-08-03 15:08:30 -04:00
Chris Evich 1e6b9aec62
Cirrus: Fix references to master branch
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-10 11:41:21 -04:00
Chris Evich a54d4e3a4b
AUFS not supported in Ubuntu 21.04+
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-05-11 14:25:24 -04:00
Chris Evich 8ef57ee3d7
Update to F34 and U2104
Also modernize main library to resemble what's used in other
containers-org repositories.  Lastly, update hack/get_ci_vm.sh to use
the new shared container image.

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-05-11 14:25:24 -04:00
Chris Evich 2ca58b6941
Cirrus: Do not update/install packages at runtime
This practice has been the source of ongoing headaches, stop it.
See https://github.com/containers/automation_images/pull/45

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-01-18 19:35:33 -05:00
Chris Evich 9df71e6e5f
Cirrus: Remove devicemapper testing
Removed by request, due to two long-term persistent problems:

* The first test fails due to `level=error msg="File descriptor 3
  (pipe:[60185]) leaked on pvdisplay invocation. Parent PID 29275:
/var/tmp/go/src/github.com/cont\nFile descriptor 10
(/dev/mapper/control) leaked on pvdisplay invocation. Parent PID 29275:
/var/tmp/go/src/github.com/cont\n  Failed to find physical volume
\"/dev/sda2\".\n" error="exit status 5"`

* All tests then seem to fail due to a non-pristine state: `error
  initializing: /dev/sda2 is already part of a volume group "storage":
must remove this device from any volume group or provide a different
device`

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-12-15 09:02:17 -05:00
Chris Evich 37a308dd4c
Cirrus: Update VM Images
Also adjust task-names for improved readability.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-12-14 15:48:37 -05:00