Commit Graph

123 Commits

Author SHA1 Message Date
bors[bot] e21b54d994
Merge #2529
2529: Cirrus: Use newly built VM images r=rhatdan a=cevich

#### What type of PR is this?

/kind other

#### What this PR does / why we need it:

These new images include golang `1.13` on Ubuntu 19 and 20.

#### How to verify it

CI tests will all pass

#### Which issue(s) this PR fixes:

Fixes https://github.com/containers/buildah/pull/2527#issuecomment-671338261

#### Special notes for your reviewer:

Let me know if help is needed confirming this fixes the problem.

#### Does this PR introduce a user-facing change?

```release-note
None
```



Co-authored-by: Chris Evich <cevich@redhat.com>
2020-08-10 16:49:21 +00:00
Chris Evich e42259320d
Cirrus: Use newly built VM images
Specifically for buildah, these images include golang `1.13`
on Ubuntu 19 and 20.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-08-10 11:55:00 -04:00
Wong Hoi Sing Edison b033ec32e4
Build static binary with `buildGoModule`
Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
2020-07-30 08:06:43 +08:00
Nalin Dahyabhai 92e0c3fdcf Rework conformance testing
Move the conformance tests from ginkgo to using the default testing
package and github.com/stretchr/testify/require, preserving the existing
tests and adding more.

Add conformance tests to our Cirrus configuration, currently marked as
an allowed failure.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2020-07-23 15:30:58 -04:00
Nalin Dahyabhai e6e6042334 test-unit: increase the test timeout to 40/45 minutes
Increase the timeout we give for unit tests from the default (10
minutes) to 40 minutes for the tests, 45 minutes for the test job, since
they're timing out in CI.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2020-07-20 23:33:43 -04:00
Daniel J Walsh a3f9c3c652
switch containers/libpod to containers/podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-13 17:21:55 -04:00
dependabot-preview[bot] 9fb931ca7a
Bump github.com/containers/common from 0.14.0 to 0.15.2
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.14.0 to 0.15.2.
- [Release notes](https://github.com/containers/common/releases)
- [Commits](https://github.com/containers/common/compare/v0.14.0...v0.15.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-08 05:23:48 -04:00
Wong Hoi Sing Edison 3a122aa3c8
Add nix derivation for static builds
Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
2020-06-18 19:19:21 +08:00
Chris Evich 278fb818c4
Cirrus: Use pre-installed VM packages + F32
All packages required for building + testing buildah are now included in
VM images shared withthe libpod project's CI system.  Remove former
`setup.sh` and `lib.sh` facilities for installing/updating packages.
Also add in a new function for removing the pre-installed buildah
package files (since we run and test from source).  This mirrors
the same behavior used in libpod's CI setup.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-04-30 13:26:09 -04:00
Chris Evich d638cc8418
Cirrus: Re-enable all distro versions
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-04-30 10:09:50 -04:00
Chris Evich 2e050a184e
Cirrus: Update to F31 + Use cache images
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-04-30 10:09:50 -04:00
Chris Evich 83960a0a60
Cirrus: Temporarily disable Ubuntu 19 testing
Due to some unknown problem with package repositories, all ubuntu 19
testing is failing.  This commit temporarily disables that part of the
matrix until a fix can be discovered and implemented.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-04-17 11:37:40 -04:00
Chris Evich 6aebe8c0f6
Cirrus+Bors: Simplify temp branch skipping
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-07 14:43:30 -05:00
Chris Evich 3de05a9c1a
Cirrus: Disable F29 testing
Release is no longer supported.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:22:45 -05:00
Chris Evich 61b6ebe61a
Bors: Workaround ineffective required statuses
For whatever reason, Bors-ng has trouble interpreting multiple
status-checks as being required when their names contain wild-
cards (like `testing%`).  Instead, it will simply pick one
that happens to match the name, and fail to consider all others.
Until that issue can be debugged and fixed, use a single "success"
task  to represent pass/fail status of all required checks.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:22:44 -05:00
Chris Evich 9411e927cd
Bors: Enable app + Disable Travis
Add initial support for Bors-ng replacement for Homu providing "ever
green" merges of PRs.  Ref: https://bors.tech/

Note: Bors-ng cannot deal with tasks marked 'skipped' by Cirrus-CI when
testing or attempting a merge. All tasks must always run on all except
temporary branches.  The only significant marker for a required-for-merge
task are the status/pr-status name match strings in `bors.toml`.

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:22:44 -05:00
Chris Evich a72daebf51
Cirrus: Add standardized log-collection
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:22:44 -05:00
Chris Evich 4ece9c447a
Cirrus: Fixes from review feedback
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:21:43 -05:00
Chris Evich 057d5bf704
Cirrus: Temporarily ignore VM testing failures
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:21:43 -05:00
Chris Evich 90868620d4
Cirrus: Migrate off papr + implement VM testing
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-02-06 16:21:43 -05:00
Daniel J Walsh 751f92ed13 Add support for make vendor-in-container
Certain versions of go have different vendoring capabilities.
We want to make sure that vendoring the the vendor checker are
running with the same version of golang.  We do this by using
podman to run a container of the lates golang container image.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #1949
Approved by: TomSweeneyRedHat
2019-10-29 13:26:24 +00:00
Chris Evich 4ecb129f89
Cirrus: Update VM images
These were produced as an intended byproduct of:
https://github.com/containers/libpod/pull/3754

Where 'systemd_banish.sh' was run during base-image production.
Therefor, during run-time there should no longer be interference
of testing by background/periodic processes.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-09 11:05:14 -04:00
Chris Evich 0b84b23e2e Cirrus: Initial implementation
Based on containers/storage

Signed-off-by: Chris Evich <cevich@redhat.com>

Closes: #1644
Approved by: rhatdan
2019-06-15 14:01:31 +00:00