Akihiro Suda
67953d67c0
Merge pull request #2155 from tonistiigi/mirror-fix
...
test: fix mirror cache handling
2021-06-08 14:45:37 +09:00
Tonis Tiigi
19453d5acc
test: fix mirror cache handling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-06-07 18:59:32 -07:00
Tonis Tiigi
33af267b9a
hack: update proto generators for arm64
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-06-07 11:58:10 -07:00
Sebastiaan van Stijn
acbe79f936
generated-files: update protoc to v3.11.4 to match google/protobuf
...
see https://github.com/golang/protobuf/blob/v1.3.5/.travis.yml#L15
Note that gogo/protobuf v1.3.2 updated protoc to v3.14.0; https://github.com/gogo/protobuf/releases/tag/v1.3.2
however, regenerating protobufs with this switched an import to use
google.golang.org/protobuf/types/known/timestamppb instead of
github.com/golang/protobuf/ptypes/timestamp, so using the older
version for now
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-01 23:23:58 +02:00
Sebastiaan van Stijn
056afec140
generated files: update google/protobuf v1.3.5, and fix install for go modules
...
This patch updates the script and Dockerfile to prevent issues when using go
modules.
The first change is to use a plain `git clone` instead of `go get -d` to download
the source. While (like "pre go-modules") `go get -d` won't *build* the binaries
when go modules are used, it *will* use go modules to download the package
(and dependencies); as a result:
- no git repository will be cloned in gopath
- go modules will be downloaded for "master" (not the version that we specify
to build)
Note: Once we update to Go 1.16, this script could be updated to use `go install <repo>@version`
The second change is an update to the `update-generated-files` script to detect
the correct version of google/protobuf to use from the `go.mod`'s `replace` rule,
to make sure we generate (and verify) using the correct version.
The Dockerfile was also updated to update the default versions specified in the
PROTOBUF_VERSION and GOGO_VERSION build-args (although not strictly necessary).
Regenerating the files with this version resulted in a minor formatting change.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-01 23:23:53 +02:00
Sebastiaan van Stijn
6d75906c68
hack/install-buildx: allow overriding variables
...
With this patch:
PREFIX=$(pwd)/foo/bar VERSION=v0.5.0 sh -c ./install-buildx
Installing buildx v0.5.0 as /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx
+ mkdir -p /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin
+ rm -f /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx.download
+ curl -f -L -o /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx.download https://github.com/docker/buildx/releases/download/v0.5.0/buildx-v0.5.0.darwin-amd64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 634 100 634 0 0 2313 0 --:--:-- --:--:-- --:--:-- 2305
100 58.5M 100 58.5M 0 0 5721k 0 0:00:10 0:00:10 --:--:-- 5947k
+ chmod +x /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx.download
+ mv /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx.download /Users/sebastiaan/Projects/test/test_buildx_install/foo/bar/bin/buildx
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-06 18:34:05 +02:00
Tonis Tiigi
cc12bc820e
lint: update golangci
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-05-03 18:32:34 -07:00
Akihiro Suda
201ba2b0e3
hack: install buildx in util
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-16 17:31:17 +09:00
Akihiro Suda
97b0904bcd
hack/util: disallow using DOCKER_BUILDKIT instead of buildx
...
DOCKER_BUILDKIT CLI is slightly different from buildx.
It is hard to maintain DOCKER_BUILDKIT as a buildx alternative.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-16 17:28:46 +09:00
Tonis Tiigi
245e71fd8b
update Dockerfiles to 1.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 15:00:30 -08:00
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