CrazyMax and GitHub
0dfc35d558
Merge pull request #1822 from thaJeztah/vendor_engine_24.0.1
...
vendor: github.com/docker/docker and github.com/docker/cli v24.0.1
2023-05-23 11:11:34 +02:00
CrazyMax and GitHub
8085f57a3a
Merge pull request #1825 from thaJeztah/remove_k8s_replace
...
go.mod: update k8s deps to v0.26.2 (remove "replace" rule)
2023-05-23 11:10:31 +02:00
CrazyMax and GitHub
580820a4de
Merge pull request #1824 from thaJeztah/k8s_remove_openstack
...
cmd/buildx: non-functional k8s.io/client-go/plugin/pkg/client/auth/openstack
2023-05-22 16:09:30 +02:00
CrazyMax and GitHub
a6b0959276
Merge pull request #1440 from crazy-max/gc-policies
...
builder: add worker gc policies and labels
2023-05-22 11:46:46 +02:00
CrazyMax and GitHub
6d7142b057
Merge pull request #1820 from jedevc/use-docker-distribution
...
vendor: use docker/distribution instead of distribution/distribution
2023-05-22 11:17:01 +02:00
CrazyMax and CrazyMax
b702188b65
imagetools(create): set correct media type when combining manifests
...
When using imagetools create and combining multiple sources
we should check the media type of each manifest and set
the right media type for the manifest list.
If there is a mismatch we set OCI index as best effort.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-05-16 11:46:58 +02:00
CrazyMax and GitHub
c54926c5b2
Merge pull request #1767 from jedevc/issue-template-no-bug-feature
...
github: don't auto-add kind/ labels
2023-05-11 17:22:23 +02:00
CrazyMax and GitHub
9b07f6510a
Merge pull request #1793 from jedevc/move-path-resolution-to-controller
...
controller: move path resolution into controller package
2023-05-11 15:01:21 +02:00
CrazyMax and GitHub
167340df17
Merge pull request #1780 from techvelocity/elranshefer/add-support-for-proxy-url
...
kubernetes driver: add support for proxy-url
2023-05-11 14:40:23 +02:00
CrazyMax and GitHub
855d49ff58
Merge pull request #1788 from crazy-max/update-docker
...
vendor: github.com/docker/docker v23.0.6
2023-05-10 17:22:14 +02:00
CrazyMax and GitHub
384e873db0
Merge pull request #1790 from crazy-max/update-moby-ver
...
driver: update BuildKit version constraint for docker driver
2023-05-10 16:17:53 +02:00
CrazyMax
60e72ba989
driver: update BuildKit version constraint for docker driver
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-05-10 14:43:24 +02:00
CrazyMax
45a2ae6762
vendor: github.com/docker/docker v23.0.6
...
full diff:
- https://github.com/docker/docker/compare/v23.0.1...v23.0.6
- https://github.com/docker/cli/compare/v23.0.1...v23.0.6
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-05-10 14:26:20 +02:00
CrazyMax and GitHub
a948cc14c5
Merge pull request #1769 from docker/dependabot/github_actions/peter-evans/create-pull-request-5.0.1
...
build(deps): Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
2023-05-09 11:41:08 +02:00
CrazyMax and GitHub
621b07c799
Merge pull request #1727 from crazy-max/cmd-completion
...
cli: add shell completion
2023-05-09 10:59:32 +02:00
CrazyMax and GitHub
41e1693be0
Merge pull request #1756 from crazy-max/fix-bin-image
...
ci: fix bin-image job
2023-04-27 12:20:16 +02:00
CrazyMax and GitHub
b38c9c7db4
Merge pull request #1759 from crazy-max/bump-gomod
...
bump go.mod to 1.20
2023-04-27 09:00:31 +02:00
CrazyMax and GitHub
e14e0521cf
Merge pull request #1732 from milas/builder-init-panic
...
builder: extra init error handling
2023-04-26 09:23:01 +02:00
CrazyMax
8f72fb353c
bump go.mod to 1.20
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-25 21:45:40 +02:00
CrazyMax
c9095e8eab
ci: fix bin-image job
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 13:39:00 +02:00
CrazyMax
0589f69206
build: null values support with bake
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 12:05:04 +02:00
CrazyMax
c3fd1e8b79
build: fix links and formatting
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 12:05:03 +02:00
CrazyMax
6f0c550ee9
build: move bake under the build section
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 12:05:03 +02:00
CrazyMax
5d551dbbc1
build: customizing builds section
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 12:05:03 +02:00
CrazyMax
043cb3a0db
build: add bake section
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-24 12:05:02 +02:00
CrazyMax and GitHub
3d49bbd23a
Merge pull request #1749 from docker/dependabot/github_actions/docker/bake-action-3
...
build(deps): Bump docker/bake-action from 2 to 3
2023-04-19 11:07:06 +02:00
CrazyMax and Tonis Tiigi
200058b505
build: support for saving local state by build ref
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-04-12 21:37:03 -07:00
CrazyMax
a597266a52
cli: add completion to list builder names
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:45:59 +02:00
CrazyMax
14b66817fb
build: add completion to list context folders
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:35:50 +02:00
CrazyMax
af011d6ca3
bake: add completion to list targets
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:34:40 +02:00
CrazyMax and CrazyMax
8a02cf8717
cli: set default completion
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:32:48 +02:00
CrazyMax and GitHub
672eeed9a6
Merge pull request #1731 from crazy-max/update-moby-ver
...
driver: update BuildKit version constraint for docker driver
2023-04-11 11:26:32 +02:00
CrazyMax
1b816ff838
driver: update BuildKit version constraint for docker driver
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-11 11:10:01 +02:00
CrazyMax and GitHub
10365ddf22
Merge pull request #1723 from docker/dependabot/github_actions/peter-evans/create-pull-request-5.0.0
...
build(deps): Bump peter-evans/create-pull-request from 4.2.4 to 5.0.0
2023-04-11 09:39:17 +02:00
CrazyMax and GitHub
bb5c93cafc
Merge pull request #1719 from dvdksn/docs/update-readme-links
...
docs: prune links in README toc, add external reference
2023-04-05 11:30:29 +02:00
CrazyMax and GitHub
498cc9ba0a
Merge pull request #1715 from crazy-max/ci-restrict-repo
...
ci: check repo origin on push tag event
2023-04-03 21:16:51 +02:00
CrazyMax
805f3a199d
ci: check repo origin on push tag event
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-04-03 20:58:37 +02:00
CrazyMax and GitHub
6535f16aec
Merge pull request #1705 from docker/dependabot/go_modules/github.com/opencontainers/runc-1.1.5
...
build(deps): Bump github.com/opencontainers/runc from 1.1.4 to 1.1.5
2023-04-03 10:53:26 +02:00
CrazyMax
989ba55d9a
docs: update ls command output sample
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-30 17:54:23 +02:00
CrazyMax and GitHub
33388d6ede
Merge pull request #1552 from crazy-max/moby-buildkit-version
...
driver: resolve BuildKit version for docker driver
2023-03-30 17:31:47 +02:00
CrazyMax and GitHub
f815f4acf7
Merge pull request #1703 from jedevc/vendor-buildkit-master
...
Bump BuildKit to latest master
2023-03-30 17:23:38 +02:00
CrazyMax and CrazyMax
81d7decd13
driver: resolve BuildKit version for docker driver
...
Buildx currently returns the Docker Engine version for the docker driver
and it can be confusing. This is because BuildKit before 0.11 version does
not support the Info API that returns the BuildKit version.
This change resolves the BuildKit version from the Docker engine one.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-30 15:52:29 +02:00
CrazyMax
00b18558dd
chore: fix issue template
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-27 13:30:33 +02:00
CrazyMax and GitHub
624bc064d8
Merge pull request #1677 from crazy-max/bump-k8s
...
vendor: bump k8s to v0.25.4
2023-03-19 17:05:55 +00:00
CrazyMax and GitHub
0c4a68555e
Merge pull request #1682 from docker/dependabot/github_actions/peter-evans/create-pull-request-4.2.4
...
build(deps): Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4
2023-03-16 09:50:44 +00:00
CrazyMax
92d2dc8263
k8s: corev1.Handler has been replaced by corev1.ProbeHandler
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-14 18:44:13 +01:00
CrazyMax
cfa6b4f7c8
vendor: bump k8s to v0.25.4
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-14 18:44:13 +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 and CrazyMax
15eb6418e8
build: strip credentials from remote url on collecting Git provenance info
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-06 17:00:05 +01:00
CrazyMax and GitHub
eefe27ff42
Merge pull request #1658 from crazy-max/remove-guides
...
docs: guides moved to docs website
2023-03-01 10:40:12 +01:00
CrazyMax
1ea71e358a
docs: guides moved to docs website
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-03-01 10:21:02 +01:00
CrazyMax and GitHub
f2ac30f431
Merge pull request #1651 from crazy-max/fix-docs-upstream
...
ci: fix docs-upstream workflow
2023-02-24 15:43:32 +01:00
CrazyMax
6808c0e585
ci: update docs-upstream workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 15:13: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
CrazyMax
0645acfd79
build: makes git dirty check opt-in
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 13:19:33 +01:00
CrazyMax and GitHub
439d58ddbd
Merge pull request #1037 from crazy-max/bug-template
...
chore: github issue template
2023-02-24 13:06:55 +01:00
CrazyMax
c0a9274d64
chore: github issue template
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-24 12:33:24 +01:00
CrazyMax and GitHub
3d0c88695e
Merge pull request #1646 from docker/dependabot/go_modules/golang.org/x/net-0.7.0
...
build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0
2023-02-23 11:36:36 +01: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 and GitHub
71507c0b58
Merge pull request #1643 from crazy-max/go-1.20
...
update to go 1.20
2023-02-22 17:42:59 +01:00
CrazyMax
7888fdee58
fix lint issue
...
should drop = nil from declaration of var n; it is the zero value
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-22 14:57:29 +01:00
CrazyMax
fb61fde581
fix cannot set environment variables in parallel tests
...
> FAIL: TestReadTargets/ArgsOverrides/leaf (0.00s)
> panic: testing: t.Setenv called after t.Parallel; cannot set environment variables in parallel tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-22 14:56:46 +01:00
CrazyMax
5258e44030
remove deprecated golangci-lint linters
...
Linters 'deadcode' and 'varcheck' are deprecated since v1.49.0
and had been replaced by 'unused'
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-22 14:40:14 +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 and GitHub
aa05f4c207
Merge pull request #1584 from dvdksn/docs/build-platform-local
...
docs: added --platform=local example
2023-02-16 18:08:25 +01:00
CrazyMax and GitHub
62fbef22d0
Merge pull request #1177 from crazy-max/build-display-builder
...
build: print instance being used
2023-02-16 18:07:30 +01:00
CrazyMax
598f1f0a62
build: print instance being used
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-16 14:56:46 +01:00
CrazyMax
8311b0963a
vendor: update buildkit
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-16 14:56:46 +01:00
CrazyMax and GitHub
b1949b7388
Merge pull request #1634 from dgageot/fix-1633
...
build: fix git ambiguous argument
2023-02-16 14:05:32 +01:00
CrazyMax and GitHub
3341bd1740
Merge pull request #1610 from thaJeztah/update_docker
...
vendor: github.com/docker/docker, github.com/docker/cli v23.0.0
2023-02-16 13:43:12 +01:00
CrazyMax and CrazyMax
89d99b1694
inspect: display labels and gc policies
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-11 22:56:56 +01:00
CrazyMax
9753f63f57
builder: add worker gc policies and labels
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-11 22:56:15 +01:00
CrazyMax and GitHub
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
CrazyMax and GitHub
78058ce5f3
Merge pull request #1592 from crazy-max/fix-build-git
...
build: check reachable git commits
2023-02-08 14:23:52 +01:00
CrazyMax
fd5884189c
build: check reachable git commits
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-08 12:46:04 +01:00
CrazyMax
a8eb2a7fbe
gitutil: override the locale to ensure consistent output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-07 13:26:28 +01:00
CrazyMax and GitHub
d9780e27cd
Merge pull request #1602 from crazy-max/rm-releases-json
...
ci: remove releases-json workflow
2023-02-06 13:44:57 +01:00
CrazyMax
ab44d03771
ci: remove releases-json workflow
...
This is now directly handled by our actions-toolkit. We keep
`.github/releases.json` file for now but will be removed on
next v0.11 release.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-06 13:37:00 +01:00
crazy-max
b53cb256e5
github: update .github/releases.json
...
Signed-off-by: GitHub <noreply@github.com >
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-06 13:37:00 +01:00
CrazyMax and GitHub
c3075923f4
Merge pull request #1591 from crazy-max/update-compose
...
update github.com/compose-spec/compose-go to v1.9.0
2023-02-06 13:28:24 +01:00
CrazyMax and GitHub
a32881313b
Merge pull request #1596 from crazy-max/builder-fix-validation
...
builder: fix docker context not validated
2023-02-06 12:31:04 +01:00
CrazyMax
0e544fe835
builder: fix docker context not validated
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-03 21:23:29 +01:00
CrazyMax
21ac4c34fb
update github.com/compose-spec/compose-go to v1.9.0
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-02-03 03:19:59 +01:00
CrazyMax and GitHub
046084c0b8
Merge pull request #1574 from crazy-max/ci-fix-workflow
...
ci: fix pr branch name in releases-json workflow
2023-01-31 15:00:01 +01:00
CrazyMax
18760253b9
ci: fix pr branch name in releases-json workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-31 13:51:30 +01:00
CrazyMax and GitHub
ded6376ece
Merge pull request #1573 from crazy-max/fix-releases-json
...
ci: add workflow_dispatch in releases-json workflow
2023-01-31 13:48:33 +01:00
CrazyMax
a4d60a451d
ci: add workflow_dispatch in releases-json workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-31 11:38:46 +01:00
CrazyMax
f1a5a3ec50
ci: update buildx and buildkit to latest
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 22:13:27 +01:00
CrazyMax and GitHub
87beaefbb8
Merge pull request #1571 from crazy-max/fix-docs-upstream
...
ci: fix docs-upstream workflow
2023-01-30 21:18:54 +01:00
CrazyMax
451847183d
ci: fix docs-upstream workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 21:01:27 +01:00
CrazyMax and GitHub
7625a3a4b0
Merge pull request #1568 from crazy-max/silent-git-no-upstream
...
build: silently fail if git remote not found
2023-01-30 20:32:12 +01:00
CrazyMax
6db696748b
build: better message output for git provenance
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 20:24:09 +01:00
CrazyMax
4789d2219c
build: silently fail if git remote not found
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 14:33:16 +01:00
CrazyMax and GitHub
eacecf657c
Merge pull request #1561 from crazy-max/fix-preferred-platform
...
build: fix preferred platform not taken into account
2023-01-30 12:22:08 +01:00
CrazyMax and GitHub
1de0be240f
Merge pull request #1563 from crazy-max/releases-json
...
ci: generate releases.json on release event
2023-01-30 11:51:08 +01:00
CrazyMax and CrazyMax
ea4bec2bad
github: update .github/releases.json
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 11:46:47 +01:00
CrazyMax and CrazyMax
36d95bd3b9
ci: generate releases.json on release event
...
We are currently using the GitHub API in our setup-buildx-action
to check for latest and tagged releases to make sure they exist
before download. But this requires using a token to avoid
rate-limit. It's fine for public runners but GHES runners don't
have the `github.token` populated automatically. They need to
create a PAT.
This PR will solve this issue by generating and pushing a
`releases.json` file in this repo when we publish a GitHub Release
that will then be fetched through `raw.githubusercontent.com`
endpoint on `setup-buildx-action` repo. This endpoint is better
served for our purpose with 5000 requests per hour compared to the
GitHub API endpoint that is limited to 60 requests per hour (unauth)
and 1000 request per hour when authenticated.
Also ignore .github/releases.json file on pull request event as an
action in a workflow run can't trigger a new workflow run anyway.
See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#example-using-more-than-one-event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-30 11:46:47 +01:00
CrazyMax
49b3c0dba5
build: fix preferred platform not taken account
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-01-27 20:02:13 +01: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