Commit Graph

1773 Commits (9c06f383bafb07d7f4beb4ed34523fed1e1e145f)
 

Author SHA1 Message Date
Justin Chadwell 309c49413c buildx: log errors in initializing builders
Previously, errors within the driver config would not be reported to the
user until they tried to use the driver, even though they are easily
accessible from the node group info.

This patch reports these errors (but will not fail because of them,
since the data is already saved) - this should help improve
debuggability of some of the more complex drivers, and prevent error
messages being suppressed.

Signed-off-by: Justin Chadwell <me@jedevc.com>
CrazyMax 6824cf4548
Merge pull request from jedevc/remote-builder-typos
docs: fixup remote builder typos
Justin Chadwell 881b48a3b6 docs: fixup remote builder typos
- Ensure that buildx is always used as a docker subcommand
- Correct invalid buildx ls output

Signed-off-by: Justin Chadwell <me@jedevc.com>
CrazyMax 5b452b72a2
Merge pull request from jedevc/bump-buildkit-f4eb826
Bump buildkit to master branch
Justin Chadwell 27fcb73c7c bake: add tests for missing attributes in userfuncs
Signed-off-by: Justin Chadwell <me@jedevc.com>
Justin Chadwell 2aa22597f0 bake: forbid empty result and params in userfuncs
Signed-off-by: Justin Chadwell <me@jedevc.com>
Justin Chadwell d9ef9bec34 kubernetes: add error when no pods available
This prevents the fall-through to the panic from division by zero in the
modulus below, and presents a neater error to the user.

Signed-off-by: Justin Chadwell <me@jedevc.com>
Justin Chadwell 3b4780ef19 vendor: bump buildkit to master
Signed-off-by: Justin Chadwell <me@jedevc.com>
CrazyMax 12fde33d9b
bake: dedup compose main and extension fields values
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax a0f92829a7
bake: merge cache-from field from compose and x-bake
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax b438032a60
bake: support compose build cache_to
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 3cf549a7f7
Merge pull request from crazy-max/compose-consistency
bake: fix compose consistency check
CrazyMax f8884a58e9
Merge pull request from crazy-max/remove-yamllint
chore: remove yamllint
CrazyMax 5ce3909c48
bake: fix compose consistency check
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 45fac6dee3
chore: remove yamllint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi a8bb25d1b5
Merge pull request from ktock/invoke
Add `--invoke` option to launch a container from the build result
Kohei Tokunaga 387e1ecca6 Add `--invoke` option to launch a container from the build result
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
CrazyMax ad7b077d13
Merge pull request from crazy-max/refactor-xbake
bake: better handling of compose extension interface
CrazyMax 432c2b2650
bake: better handling of compose extension interface
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 055e85f48f
Merge pull request from crazy-max/ci-concurrency
ci: add concurrency check
Tõnis Tiigi 91fec23f5d
Merge pull request from crazy-max/update-compose-go
bake: support compose build tags and secrets env
Tõnis Tiigi 0295555a5a
Merge pull request from crazy-max/ls-progress
ls: move builder/node status error msg below table
CrazyMax 6cb1b85d7b
bake: support compose build tags
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax e0350f671a
bake: support compose secrets env
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax c1adfcb658
ci: add concurrency check
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 1343cdfc83
Merge pull request from crazy-max/bake-docs
docs: bake guides and refactor reference
CrazyMax f40c2dbb86
docs: rework bake compose file definition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 50c23aa755
update github.com/compose-spec/compose-go to v1.2.7
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax ff9517cbf0
docs: rework bake "Configuring builds" page
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 824b0268d8
docs: bake specification intro
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 77ea999adb
docs: guide page to configure bake builds
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 1807cfdd26
docs: changes to bake file definition guide
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax ebd7d062bf
docs: bake guides and refactor reference
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax 6cb026b766
Merge pull request from crazy-max/fix-no-output-warn
build: enhance warning message when no output specified
CrazyMax 1cb1ee018b
build: enhance warning message when no output specified
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 71e4a39ae9
Merge pull request from jedevc/remote-driver-connhelpers
Remote driver connhelpers
CrazyMax 009730f5fd
Merge pull request from docker/dependabot/github_actions/crazy-max/ghaction-github-runtime-2
build(deps): bump crazy-max/ghaction-github-runtime from 1.0.0 to 2
dependabot[bot] 36466c0744
build(deps): bump crazy-max/ghaction-github-runtime from 1.0.0 to 2
Bumps [crazy-max/ghaction-github-runtime](https://github.com/crazy-max/ghaction-github-runtime) from 1.0.0 to 2.
- [Release notes](https://github.com/crazy-max/ghaction-github-runtime/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-runtime/blob/master/CHANGELOG.md)
- [Commits](94085cef04...906832f62b)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-runtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Justin Chadwell 1406ff141b docs: add connhelpers info to remote-builder guide
Signed-off-by: Justin Chadwell <me@jedevc.com>
Justin Chadwell 1eff9310f8 remote: add additional connhelpers to buildx
Signed-off-by: Justin Chadwell <me@jedevc.com>
Justin Chadwell 22ac3271d2 vendor: update moby/buildkit
Update modules:

  go mod edit -require github.com/moby/buildkit@master
  go mod tidy -compat=1.17 && ./hack/update-vendor

Signed-off-by: Justin Chadwell <me@jedevc.com>
CrazyMax 064bd92583
ls: move builder/node status error msg below table
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Tõnis Tiigi 1beb3359a6
Merge pull request from tonistiigi/nil-platform
imagetools: handle manifest with nil platform
Tõnis Tiigi 35f4268081
Merge pull request from crazy-max/rm
rm: display removed builder and disallow removing context builders
CrazyMax 81ce766501
Merge pull request from photra/clarify-inspect-docs
Clarify inspect documentation
CrazyMax 66a764f9c1
Merge pull request from jedevc/revive-linter
Update golint to revive
Tonis Tiigi e4137b2eea imagetools: handle manifest with nil platform
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Justin Chadwell 48067735fc Update golint to revive
Resolves the following message in golangci output:

> The linter 'golint' is deprecated (since v1.41.0) due to: The
repository of the linter has been archived by the owner.  Replaced by
revive.

Additionally, fix a minor linting issue discovered by revive.

Signed-off-by: Justin Chadwell <me@jedevc.com>
CrazyMax 54a2a0c49f
cli: uppercase level to match logrus one
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
CrazyMax d611bbe609
rm: display name of removed builder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>