Aleksa Sarai
57c618b83a
build: add GO_EXTRA_FLAGS argument
...
This is useful for setting things like -buildmode=pie when packaging
docker-buildx for distributions.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2023-06-21 18:48:05 +10:00
CrazyMax
74b121be66
test: opt to avoid building the integration tests image
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-05-30 02:51:08 +02:00
CrazyMax
b9cf46785b
test: use trap to remove cache volume
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-05-30 02:51:08 +02:00
CrazyMax
ecf8dd0a26
test: type integration not needed
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-05-30 02:51:07 +02:00
Justin Chadwell
2d124e0ce9
test: add basic integration tests
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-05-18 14:26:12 +01:00
CrazyMax
527d57540e
k8s: generate node name if not provided
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-11 21:22:10 +01:00
CrazyMax
9de12bb9c8
docs: do not generate ref for internal serve command
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-24 15:12:15 +01:00
Justin Chadwell
c4ad930e2a
Merge pull request #1644 from crazy-max/update-frontend
...
Dockerfile: align frontend version
2023-02-23 11:00:13 +00:00
CrazyMax
132fababb0
Dockerfile: align frontend version
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-22 17:47:48 +01:00
CrazyMax
e16c1b289b
update golangci-lint to v1.51.1
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-22 14:38:17 +01:00
CrazyMax
376b73f078
update to go 1.20
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-22 14:37:50 +01:00
CrazyMax
04804ff355
Merge pull request #1557 from crazy-max/gomod-1.19
...
go.mod: bump to Go 1.19
2023-02-11 22:47:51 +01:00
Justin Chadwell
5f130b25ad
hack: move syntax directive to top of generated-files
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-01-31 17:51:33 +00:00
CrazyMax
7eb266de69
go.mod: bump to Go 1.19
...
Go 1.20 will be there soon, I think it's time to move our go.mod to
latest stable. We can then remove the compat in our vendor.Dockerfile
Downstream projects like compose or github.com/linuxkit/linuxkit should
not be affected.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-26 16:08:09 +01:00
Kohei Tokunaga
a27b8395b1
Enable to run build and invoke in background
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2023-01-26 17:17:07 +09:00
CrazyMax
477200d1f9
ci: generate provenance and sbom for release binaries
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-12-15 19:12:25 +01:00
CrazyMax
99ac7f5f9e
e2e: load to docker store
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-12-13 23:32:58 +01:00
CrazyMax
fe8d5627e0
Merge pull request #1433 from crazy-max/makefile-build-opts
...
hack: mutualize build opts in Makefile and Dockerfile
2022-12-07 05:04:44 +01:00
CrazyMax
23b217af24
hack: mutualize build opts in Makefile and Dockerfile
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-29 17:05:25 +01:00
CrazyMax
05efb6291f
hack: improve hash-files script
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-29 12:36:34 +01:00
CrazyMax
85723a138f
hack: lint scripts
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-24 08:30:35 +02:00
CrazyMax
9c69ba6f6f
hack: use single output dir
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-24 08:30:35 +02:00
Tõnis Tiigi
1bb375fe5c
Merge pull request #1265 from crazy-max/go-1.19
...
Dockerfile: update to go 1.19
2022-08-24 21:19:51 -07:00
Justin Chadwell
297526c49d
docs: add experimental options to build command reference
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-08-16 12:40:46 +01:00
CrazyMax
2a13491919
Dockerfile: update golangci-lint to 1.48.0 (go 1.19 support)
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-11 02:10:33 +02:00
CrazyMax
3509a1a7ff
Dockerfile: update to go 1.19
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-11 02:10:19 +02:00
CrazyMax
45fc3bf842
ci: enhanced build workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-03 20:53:01 +02:00
CrazyMax
45fac6dee3
chore: remove yamllint
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-06-23 11:15:01 +02:00
Tõnis Tiigi
bbfdaa4161
Merge pull request #1096 from crazy-max/ci-cache
...
ci: enable cache
2022-05-12 10:25:15 -07:00
Tõnis Tiigi
062cf29de2
Merge pull request #1103 from jedevc/remote-driver-bootstrap
...
Use --bootstrap to wait for remote to become active
2022-05-12 10:21:15 -07:00
Sebastiaan van Stijn
35b238ee82
vendor: vendor with -compat=1.17
...
This might break compatibility with projects using this module that
are still on go1.16, which is EOL, so probably ok to ignore:
github.com/docker/buildx/store imports
github.com/gofrs/flock tested by
github.com/gofrs/flock.test imports
gopkg.in/check.v1 loaded from gopkg.in/check.v1@v1.0.0-20200227125254-8fa46927fb4f,
but go 1.16 would select v1.0.0-20201130134442-10cb98267c6c
To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-10 20:33:20 +02:00
Justin Chadwell
c245f30a94
remote: use --bootstrap to wait for remote to become active
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-05-09 13:51:07 +01:00
CrazyMax
519aca3672
ci: enable cache
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-06 11:55:54 +02:00
CrazyMax
e0cffbdbdf
Merge pull request #1095 from crazy-max/fix-checksum-file
...
release: fix checksum file
2022-05-05 16:15:59 +02:00
CrazyMax
df799b6a0f
release: fix checksum file
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-05 14:29:54 +02:00
CrazyMax
1e52c2107c
Merge pull request #1049 from tonistiigi/update-dockerfile-deps
...
Dockerfile: update dependencies
2022-05-02 17:49:49 +02:00
Justin Chadwell
d7e4affe98
Complete remote driver
...
This patch completes the work started in creating a remote driver:
- Renames the env driver to the remote driver (an alternative suggestion
that should be more user-friendly)
- Adds support for TLS to encrypt connections with buildkitd
- Fixes outstanding review comments
- Reworks the buildx create command endpoint construction to be clearer
and include better support for this new driver.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-04-28 11:34:06 +01:00
Tonis Tiigi
a648d58f63
hack: update linters
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-04-27 17:22:32 -07:00
Tonis Tiigi
0b9d426175
Dockerfile: update to go 1.18
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-04-27 17:22:31 -07:00
CrazyMax
824cb42fe0
dockerfile: update frontend to 1.4
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-10 02:11:19 +01:00
CrazyMax
08bb626304
chore: use no-cache-filter for outdated stage
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-10 02:11:19 +01:00
CrazyMax
ecf215b927
e2e: add bake build and display metadata json
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-11 08:16:47 +01:00
CrazyMax
3ccb883d95
chore: invalidate cache for outdated run stage
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-13 14:09:47 +01:00
CrazyMax
1a56de8e68
update go to 1.17.2
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-16 15:00:31 +02:00
CrazyMax
c82dbafaee
Driver opt not used in e2e tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-29 10:42:27 +02:00
CrazyMax
ef8c936b27
Driver e2e tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-23 10:49:30 +02:00
CrazyMax
e59aecf034
Remove YAML docs from the repo
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-09 10:29:13 +02:00
CrazyMax
df521e4e96
Mod outdated
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-04 18:57:48 +02:00
CrazyMax
6cfef7fa36
Bake workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-03 22:50:05 +02:00
CrazyMax
45c678ad26
Go 1.17
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-02 23:11:10 +02:00