... 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>
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>
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>
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>
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>
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>
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>
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>
**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>
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>
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>