Commit Graph

55 Commits

Author SHA1 Message Date
Miloslav Trmač a353bd9a46 Run CI all on the Fedora images
... to simplify, and to allow using recent packages.

We were using Debian because previously we were using Ubuntu,
and that was because Ubuntu was the native distribution of
Travis even before we were running CI in any kind of container;
so there seems to have been no specific intent to use a non-Fedora OS,
at least originally.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2025-07-04 15:46:25 +02:00
Miloslav Trmač 182e62e948 Stop setting the btrfs_noversion build tag
It was removed in https://github.com/containers/storage/pull/2308 .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2025-05-14 20:41:51 +02:00
renovate[bot] 6accbbd70c
chore(deps): update dependency containers/automation_images to v20250422
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-23 13:44:46 +00:00
renovate[bot] 41b5c8b888
chore(deps): update dependency containers/automation_images to v20250324
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 17:02:19 +00:00
Kir Kolyshkin fd7479fe6a Makefile,.cirrus.yml: remove obsoleted build tag
Since commit 8ca60c5d we use c/storage with devicemapper driver removed,
so libdm_no_deferred_remove is no longer in use.

Remove it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-03-04 12:37:04 -08:00
renovate[bot] 76f34af00c
Update dependency containers/automation_images to v20250131
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-03 17:25:06 +00:00
renovate[bot] 428cca1513
Update dependency containers/automation_images to v20250107
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 13:32:02 +00:00
renovate[bot] 59da53fccf
chore(deps): update dependency containers/automation_images to v20241107
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 21:17:59 +00:00
renovate[bot] 62210fcd0a
chore(deps): update dependency containers/automation_images to v20241010
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 22:50:44 +00:00
renovate[bot] c303915af9
Update dependency containers/automation_images to v20240821
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 18:20:58 +00:00
renovate[bot] a5d9e9afad
chore(deps): update dependency containers/automation_images to v20240529
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 22:33:42 +00:00
Ed Santiago 52e43d633f CI VMs: bump to new versions with tmpfs /tmp
For the last long time, Fedora CI VMs have had a disk /tmp.
Real-world setups typically have tmpfs /tmp. This switches
to CI VMs that reflect the real world.

See https://github.com/containers/automation_images/pull/340

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-04-24 05:52:34 -06:00
renovate[bot] 11a0e864af chore(deps): update dependency containers/automation_images to v20240320
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 17:57:52 +01:00
renovate[bot] bdbb8a3e01
Update dependency containers/automation_images to v20240125
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 10:03:39 +00:00
renovate[bot] c3be9993bb
chore(deps): update dependency containers/automation_images to v20240102
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 18:28:08 +00:00
renovate[bot] 2f22635bc0
chore(deps): update dependency containers/automation_images to v20231208
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 23:11:56 +00:00
renovate[bot] 8d6ecd9db8
Update dependency containers/automation_images to v20231116
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 21:02:48 +00:00
Miloslav Trmač cf41a9ce11 Remove unused environment variables in Cirrus
Some other containers/* repos use these values in test names;
we don't, so remove them so that we don't have to worry
about keeping them up to date.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-10-24 14:53:25 +02:00
renovate[bot] 3f716fd810
chore(deps): update dependency containers/automation_images to v20231004
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 19:05:16 +00:00
renovate[bot] 2ab76323c9
chore(deps): update dependency containers/automation_images to v20230816
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 22:43:14 +00:00
renovate[bot] 3ad2306af7
chore(deps): update dependency containers/automation_images to v20230809
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 21:00:32 +00:00
renovate[bot] 2bbece8fef
chore(deps): update dependency containers/automation_images to v20230807
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 18:02:29 +00:00
Miloslav Trmač 29aab74982 Rename SKOPEO_CI_TAG to SKOPEO_CI_BRANCH
Originally (in https://github.com/containers/image/pull/1272 )
SKOPEO_CI_TAG was also a tag of an on-registry image. That's no longer
the case.

On c/image stable branches, we typically want to test against a corresponding
skopeo stable branch, not against a specific frozen version on that stable branch,
so the variable name has become a bit confusing.

So, rename it to SKOPEO_CI_BRANCH.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-08-07 19:02:33 +02:00
renovate[bot] b85a3c747b
chore(deps): update dependency containers/automation_images to v20230614
Also update Debian image name.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-06-14 14:17:03 -04:00
renovate[bot] fe3a5d88c2
chore(deps): update dependency containers/automation_images to v20230601
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 19:39:05 +00:00
renovate[bot] 4509e2e481
chore(deps): update dependency containers/automation_images to v20230517
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-17 19:42:22 +00:00
renovate[bot] 858fc3f466
chore(deps): update dependency containers/automation_images to v20230426
Also update Fedora name.

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-05-03 09:47:45 -04:00
renovate[bot] 9e2c470b05
chore(deps): update dependency containers/automation_images to v20230405
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 19:13:16 +00:00
renovate[bot] 96ba645b1c
chore(deps): update dependency containers/automation_images to v20230330
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 22:17:04 +00:00
renovate[bot] 5a688b3c89
chore(deps): update dependency containers/automation_images to v20230320
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 08:49:34 +00:00
Chris Evich 429b498573
Fix golangci-lint cache location error
Fixes error:

```
make validate
/var/tmp/go/bin/golangci-lint run --build-tags "btrfs_noversion libdm_no_deferred_remove"
2023/03/15 15:40:14 failed to initialize build cache at : mkdir : no such file or directory
```

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-03-22 10:52:22 -04:00
Chris Evich a04cbc979b
Cirrus: Replace Ubuntu container w/ Debian VM
Previously a pre-built Ubuntu-based container image was used for several
CI tasks.  With the general move toward Debian however, a container
image is no-longer available.  Remove the old (CI-only) Dockerfile and
convert the tasks to run on Debian SID VMs.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-03-22 10:52:22 -04:00
Chris Evich 4dcf9b848d
Cirrus: Use human-readable CI VM Images
Image content hasn't changed much, the biggest thing here is the
`$IMAGE_SUFFIX` value.  This new schema is also fully manageable
by renovate.  Allowing a tag-push to c/automation_images to create image
update PRs in all repos automatically.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-02-01 11:32:36 -05:00
Chris Evich e6fe8b6574
Cirrus: Use F37 CI VM Image
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-18 15:14:10 -05:00
Chris Evich f30b28eb42
Cirrus: Update CI VM images
**Depends on**: https://github.com/containers/skopeo/pull/1711

Note: Removed disused `PRIOR_FEDORA*` and `UBUNTU_*` references since
they're not actually used in this CI.  Further, F35 VM images were not
built as part of `c6013173500215296` due to a missing golang 1.18
requirement for podman.

Signed-off-by: Chris Evich <cevich@redhat.com>
2022-07-29 14:14:47 -04:00
Chris Evich 48924a3489
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 14:33:08 -04:00
Miloslav Trmač 4d001a4e54 Use an updated CI image
... from https://github.com/containers/automation_images/pull/137 .

This updates the docker/distribution registry to 2.8.1, allowing it
to accept OCI images.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-06-17 21:09:33 +02:00
Lokesh Mandvekar 523461bea0
Cirrus: use Ubuntu 22.04 LTS
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-27 10:56:43 -04:00
Chris Evich 90eec841df Cirrus: Update to F36 VMs
Signed-off-by: Chris Evich <cevich@redhat.com>
2022-04-29 14:29:16 -04:00
Chris Evich bd577e42de
Cirrus: Bump Fedora to release 35 & Ubuntu to 21.10
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-12-02 14:41:07 -05:00
Chris Evich f920b5c309
Update VM Images + Drop prior-ubuntu references
Mirror of changes from https://github.com/containers/skopeo/pull/1444

These images contain a workaround for:
     https://github.com/containers/podman/issues/11123

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 11:37:02 -04:00
Miloslav Trmač 56d235670a Remove the no_libsubid build tag
After https://github.com/containers/storage/pull/986 the feature
is opt-in, so we don't need to opt out.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2021-08-10 20:24:42 +02:00
dependabot[bot] 4264c7d3a8 build(deps): bump github.com/containers/storage from 1.33.1 to 1.33.2
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.33.1 to 1.33.2.
- [Release notes](https://github.com/containers/storage/releases)
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md)
- [Commits](https://github.com/containers/storage/compare/v1.33.1...v1.33.2)

---
updated-dependencies:
- dependency-name: github.com/containers/storage
  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>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2021-08-09 16:48:13 +02:00
Miloslav Trmač 5726b4b5a6 Define SKOPEO_CIDEV_CONTAINER_FQIN
otherwise Skopeo tests fail with
> ERROR: Environment variable 'SKOPEO_CIDEV_CONTAINER_FQIN' is required by contrib/cirrus/runner.sh:_run_setup() but empty or entirely white-space.  (/usr/share/automation/lib/console_output.sh:97 in req_env_vars())

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2021-08-05 21:24:37 +02:00
Chris Evich 8585a81fc7
Cirrus: Sync. skopeo test to skopeo repo.
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-07-23 10:02:40 -04:00
Chris Evich f2b3d6260f
Cirrus: Grab skopeo from main branch
Ref: https://github.com/containers/skopeo/issues/1282

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-23 10:52:42 -04:00
Chris Evich 0023963977
Fix missing gofmt and validate runtime environment
An error was introduced in
https://github.com/containers/image/pull/1140 that incorrectly changed
the command.  However, it was observed the previous command contained
a hidden bug WRT pipefail being unset by default.  Fix both problems by
ensuring golang tooling is present, and calling out to a shell-script
where the environment can be more carefully controlled and verified.

Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-14 16:59:13 -04:00
Daniel J Walsh ae7286da6c
Merge pull request #1239 from cevich/add_ci_docs
Cirrus: Support [CI:DOCS] mode
2021-06-11 14:43:44 -04:00
Chris Evich 6dbe615cf9
Cirrus: Updates due to master->main rename
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-10 11:58:33 -04:00
Chris Evich 966aefdb01
Cirrus: Support [CI:DOCS] mode
Signed-off-by: Chris Evich <cevich@redhat.com>
2021-06-02 11:41:43 -04:00