Commit Graph

41 Commits (dependabot/go_modules/github.com/containerd/containerd-1.6.1)

Author SHA1 Message Date
Tonis Tiigi 8b1a1a054d ci: update buildkit to latest rc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-23 11:50:03 -08:00
Kohei Tokunaga 21aeba6fd6 Support rootless containerd worker
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-21 15:39:14 +09:00
CrazyMax 7b171f6b6a
update to containerd v1.6.0-beta.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-26 22:48:51 +02:00
CrazyMax ec65f412b6
Use gha cache on CI
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-05 10:51:48 +02:00
Tonis Tiigi c38341f4e9 make sure ci runs on version branches
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-09-27 20:39:19 -07:00
CrazyMax af15a8afe2
Bump to codecov/codecov-action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-25 14:01:58 +02:00
Tonis Tiigi 7fefd8449a github: update CI buildkit to v0.9.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-16 20:19:24 -07:00
Tõnis Tiigi 699121c00a
Merge pull request #2232 from crazy-max/ci-test-matrix
Enhance test matrix
2021-07-14 08:57:43 -07:00
CrazyMax 67c1cb09ed
Enhance test matrix
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-14 17:06:20 +02:00
Tonis Tiigi fde33b94b6 github: update CI buildkit to v0.9.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-09 11:47:13 -07:00
Tonis Tiigi 05ac5df7bc enable riscv64 build
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-07-05 01:06:47 -07:00
Sebastiaan van Stijn 22dd74ae93
update to go 1.16
This updates all occurrences of Go 1.13 to Go 1.16; also updated
the code that's used to redact credentials in URLs to use the Go
implementation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-02 00:31:57 +02:00
Vlad A. Ionescu 60d38f972c Move config under worker config. Add new integration test to GHA matrix.
Signed-off-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
2021-05-13 14:55:36 +03:00
Tonis Tiigi 77c9a2900d Dockerfile: add darwin/arm64 and windows/arm64 support
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-03-23 19:33:11 -07:00
CrazyMax bb1dcdad51
Fix buildx-image workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-29 01:49:03 +01:00
CrazyMax c64a76ac91
Dispatch workflow for buildx image
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-28 21:51:41 +01:00
Tõnis Tiigi bee08c6c63
Merge pull request #1855 from crazy-max/disable-frontend-daily
Disable frontend build on schedule event
2020-11-29 22:53:28 -08:00
CrazyMax 1ac6bd4cbc
Fix CI cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-29 06:45:39 +01:00
CrazyMax e551afb76a
Disable frontend build on schedule event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 20:32:11 +01:00
Tõnis Tiigi 990fd95310
Merge pull request #1848 from crazy-max/fix-rootless-tag
Fix rootless tag
2020-11-25 23:41:42 -08:00
Tonis Tiigi 170d8f5466 ci: avoid using local tag on pr builds
local tags have specific meaning of exporting to local docker.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-11-25 22:09:56 -08:00
Tõnis Tiigi 1d636c356e
Merge pull request #1844 from crazy-max/fix-binaries-release
Fix GitHub Release event
2020-11-25 20:47:07 -08:00
CrazyMax 767bfad5a9
Fix GitHub Release event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 05:05:06 +01:00
CrazyMax 6557fc5be6
Allow push with GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 03:37:06 +01:00
CrazyMax d754dda292
Refactor frontend for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 02:13:18 +01:00
CrazyMax 40bcfab114
Refactor release for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-25 11:44:16 +01:00
CrazyMax d56ddccf0a
Refactor release for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-24 22:51:57 +01:00
CrazyMax 6b32ab4494
Refactor cross for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-23 19:27:58 +01:00
CrazyMax 135782149d
Refactor test for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-22 08:36:43 +01:00
CrazyMax 4edf93254e
Merge branch 'master' into ghactions-test 2020-11-22 05:24:32 +01:00
CrazyMax e22c19d77f
Refactor test for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-22 04:04:01 +01:00
CrazyMax b4bdad2bd1
Refactor generators for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-22 01:34:36 +01:00
CrazyMax a571db42a3
Refactor validate for GitHub Actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-21 21:36:54 +01:00
Paul "TBBle" Hampson 1527525110 Unify OCI Spec generation across all host platforms
There's only a couple of things that are host-platform limited, i.e.,
security and process modes.

Everything else is specific to a target-platform. We can tell if we're
targeting a Linux platform, either on Linux or LCOW, by the presence of
the Linux key in the generated spec.

This doesn't introduce support for LCOW, as we'd need to plumb that down
from the caller. It will probably also need massaging to work with LCOW,
as some of the setup code here is probably incorrect for LCOW, e.g.,
the bind-mounts list may be incorrect.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-31 02:49:23 +10:00
Paul "TBBle" Hampson f4393eaa31 Ensure that time has passed between foo0 and foo1
On Windows, the resolution of time.Now() can be surprisingly low: 15ms
according to the comments in the source of time.Now().

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-30 03:21:30 +10:00
Paul "TBBle" Hampson 6c824d68f1 Use filesystem-supplied modes for checksumming content
The existing code was spuriously failing unit tests, because it was
stripping non-permission bits off the file mode.

On examination, the behaviour was inherited from similar code in
moby/moby, which was intended to affect the resulting filemodes inside
a Linux-based container built from Windows. However, this code path does
have that effect in BuildKit as we are only calculating checksums here.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-29 02:50:24 +10:00
Paul "TBBle" Hampson b126501d78 Provide the known default PATH to the llbtest test
The existing test fails because the Windows default PATH (as far as LLB
knows) is empty. See the system.DefaultPathEnv comments.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-28 18:07:20 +10:00
Paul "TBBle" Hampson 32a080f0f3 Skip source tests on Windows that depend on read-write bind-mounts
These were previously failing due to use of sh.exe on Windows, and with
that fixed, have been revealed to depend on bind-mounts.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-28 18:07:20 +10:00
Paul "TBBle" Hampson e48eaf9619 Log HostComputeNamespace name instead of the whole object
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-28 18:07:20 +10:00
Paul "TBBle" Hampson f617b0828a Fix testutil/integration build on Windows
Although we don't run any integration tests on Windows at this time,
this does mean that the SKIP_INTEGRATION_TESTS env-var works, so we can
run a wider range of non-integration tests without spurious failures.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-28 13:50:48 +10:00
Paul "TBBle" Hampson 81595fe320 Add initial GitHub Actions-based Windows CI
Only a few tests are able to be run, because the integration test
support code fails to compile on Windows, taking effect before the
SKIP_INTEGRATION_TESTS env-var is handled.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-28 00:27:13 +10:00