Commit Graph

196 Commits (23af9dcb86ab24a66bef2534933eb62add91815f)

Author SHA1 Message Date
CrazyMax 8098b43022
Merge remote-tracking branch 'upstream/master' into fix-tagging
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 04:48:49 +01:00
Tõnis Tiigi e87988a78f
Merge pull request #1856 from crazy-max/remove-travis
Remove travis support
2020-12-04 16:10:19 -08:00
CrazyMax 2fe7ea156b
Fix image tagging
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-03 09:06:04 +01:00
Tonis Tiigi 859a14da13 hack: fix tagging ga releases
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 17:34:30 -08:00
CrazyMax 9ed0d25af2
Merge branch 'master' into remove-travis 2020-11-30 10:17:25 +01:00
CrazyMax 6450c51c44
Export to local dir for GHA
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-30 08:24:09 +01: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 00570378a8
Remove travis support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 19:02:04 +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
CrazyMax 731ee4dde7
Pick from #1845
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 06:13:08 +01:00
CrazyMax 4140a8e176
Fix rootless tag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-26 05:51:58 +01:00
Akihiro Suda 24affe0a40
hack/util: remove unused buildmode
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-11-26 13:43:43 +09: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 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
Tõnis Tiigi cdef71b12a
Merge pull request #1832 from crazy-max/yamllint
Add yamllint
2020-11-22 11:43:28 -08:00
CrazyMax 072078a403
Add lint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-22 18:11:05 +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
Tibor Vass 1fbb7a0a37
Merge pull request #1824 from crazy-max/ghactions-validate
Refactor validate for GitHub Actions
2020-11-21 12:58:22 -08: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
CrazyMax a13c69ae8d
Fix test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-21 05:50:13 +01:00
Tonis Tiigi 81f74a9c89 dockerfile: rename experimental channel to labs
Experimental name confuses users as backwards compatibility
rules are different for other tools called experimental.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-11-17 07:42:50 -08:00
Tonis Tiigi 906e34510d dockerfile: update run mounts to stable channel
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-10-04 22:22:08 -07:00
Paul "TBBle" Hampson 3132f4d0ed Clarify the gateway 'test' as a build-test
It also doesn't need dockerd added to its container when it builds.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-30 23:12:29 +10:00
Tonis Tiigi 70c2ab7f4d hack: use caching for master deploy
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-28 19:59:17 -07:00
Tonis Tiigi 8c55320f45 hack: add shfmt
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-24 21:17:54 -07:00
Tonis Tiigi 5da4a40ae8 lint: enable more linters
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-19 09:28:36 -07:00
Tonis Tiigi 04233f90b3 replace gometalinter with golangci linter
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-18 08:13:48 -07:00
Akihiro Suda 4d1f260e84
Merge pull request #1578 from tonistiigi/deploy-fix
hack: unblock master deploy
2020-07-18 12:27:43 +09:00
Tonis Tiigi 0089fbc454 hack: unblock master deploy
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-07-16 20:42:14 -07:00
Paul "TBBle" Hampson bbd372d00e Correctly build forks in Travis
The CI script goes looking for the branch to which a commit was pushed,
but was applying the branch name to moby/buildkit even if being built on
a different fork.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-17 02:35:16 +10:00
Akihiro Suda 671ed21cd6 .travis.yml: build images on daily cron
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-05-20 08:05:32 +09:00
Sebastiaan van Stijn c34699f8dd
CI: fix "--import-cache" deprecation warnings
I noticed these warnings in CI logs;

    +buildctl build --progress=plain --frontend=dockerfile.v0 --opt context=git://github.com/moby/buildkit#refs/pull/1482/merge --opt build-arg:BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 --opt platform=linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,darwin/amd64,windows/amd64 --import-cache cicache.buildk.it/moby/buildkit/master:binaries-cross-helper
    WARN[0000] --import-cache <ref> is deprecated. Please use --import-cache type=registry,ref=<ref>,<opt>=<optval>[,<opt>=<optval>] instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-13 16:49:52 +02:00
Tonis Tiigi 02fff48cbd errdefs: add support for typed errors
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-04-21 22:57:23 -07:00
Tonis Tiigi f4cf0d3918 hack: unbreak testing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-04-16 15:26:53 -07:00
Tonis Tiigi d64e417b1c hack: allow testing with dockerd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-04-08 23:27:20 -07:00
Tõnis Tiigi b9ef26d15f
Merge pull request #1403 from Container-Projects/master
optimization debian package manager tweaks
2020-03-11 17:34:11 -07:00
Pratik Raj 2910de68b1 optimization debian package manager tweaks
By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages .

By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages .

Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2020-03-11 15:27:54 +05:30
Tonis Tiigi c7f3036629 hack: allow rc releases without overwriting latest tags
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-03-10 23:04:38 -07:00
Tonis Tiigi a60ecfa4ae vendor: restore dependency versions
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-02-24 17:31:01 -08:00
Tonis Tiigi e0e29722e2 file: fix compilation on windows
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-01-30 20:21:40 -08:00
Paul "TBBle" Hampson 539b08cd5d Remove bashism from shared shell script
This file is consumed by both validate-vendor (inside an Alpine-based
Docker container where bash is not installed), and the other scripts.

Apart from validate-vendor, all the other scripts in hack/ use bash.

Fixes CI logging a complaint:
> ./hack/validate-vendor: 31: [: pull_request: unexpected operator

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-01-30 00:20:51 +11:00
l00397676 e6d003d27e Makefile: specify DOCKER_BUILDKIT when make images
When `make images` with buildmode docker-buildkit,
DOCKER_BUILDKIT=1 should be added to environments.

Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
2020-01-26 18:13:11 +08:00
Edgar Lee bb0ed03111 Fix update generated files via docker buildkit
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2019-11-01 10:37:00 -07:00
Akihiro Suda 5938170b84 hack: rename Dockerfiles
Fix https://github.com/moby/buildkit/issues/1208

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-18 17:21:48 +09:00
Tonis Tiigi c4f03056c9 hack: remove support for containerd 1.2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-10-16 10:33:04 -07:00
Akihiro Suda e2ea141383 hack: remove legacy Dockerfile
Fix #1022

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-13 00:10:27 +09:00