Commit Graph

32 Commits (489e17aea91829a4ada48cb09e1119606802dc5e)

Author SHA1 Message Date
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
Akihiro Suda f2c90ce0a0 CONTRIBUTING.md: fix broken link
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-13 04:39:27 +09:00
Akihiro Suda 1bde5d99d5 massive doc updates
* examples/kubernetes: newly added
* docs/rootless.md: cleaned up for better readability
* examples/README.md: split out from the main README.md
* examples/build-using-dockerfile/README.md: split out from the main README.md
* README.md: add TOC using https://github.com/thlorenz/doctoc
* README.md: add mTLS configuration (relates to #1074)
* README.md: add more adoptions
* README.md: add inline cache (fix #976)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-16 18:55:27 +09:00
Tonis Tiigi b407790852 update containerd daemon to 1.2.7 and old to 1.1.7
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-08-20 17:02:43 -07:00
Sebastiaan van Stijn 96e86fb1b3
Add CONTRIBUTING, CODE_OF_CONDUCT
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-17 12:44:29 +01:00