Releases: allenporter/flux-local
4.0.0
What's Changed
Native flux build
The primary change in this release is to move to use flux build
internally. This means that the flux
CLI is now required to be present in the environment, similar to how kustomize
is already required. See documentation for the Github Action for details on how to setup the CLI environment. #392
To simplify internals, multiple clusters in the same path are no longer supported. You can still use a multi-cluster repo if you specify --path
to one of the clusters. This should be a no-op for most users of the github action since likely you already were setting a path argument.
Diagnostics
You can now discover malormed or unexpected yaml files with flux-local diagnostics
#401:
# flux-local diagnostics
[DIAGNOSTICS OK]
Performance
With the move to flux build
, we've been able to reduce some unnecessary kustomize
calls, improving internal caching, and parallelize some of the cluster commands. Speed has been improved by 2x even for smaller clusters with only a handful of kustomizations. #435
Change Log
- Add flux dependency in development environment by @allenporter in #391
- Migrate tests to syrup by @allenporter in #393
- Add tests that trace the full command stack of building the manifest by @allenporter in #394
- Increase coverage for cluster3 by @allenporter in #395
- Improve test coverage for cluster3 cases by @allenporter in #396
- Improve test coverage for internals of git repo manifest builders by @allenporter in #397
- Remove support for multiple clusters in a single path by @allenporter in #398
- Skip unnecessary kustomize cfg step when scanning the cluster by @allenporter in #399
- Add a
diagnostics
command to find yaml files that kustomize does no… by @allenporter in #401 - Renovate Dockerfile and versions by @allenporter in #422
- Use
flux build ks
when building Kustomizations by @allenporter in #392 - Update documentation examples to include flux cli by @allenporter in #424
- Improve error messages for shell commands by @allenporter in #425
- Fix support for Kustomizations with absolute paths by @allenporter in #426
- Improve logging/tracing and track performance counters by @allenporter in #427
- Improve kustomization traversal performance by @allenporter in #435
Developer dependency updates
- Update dependency pydantic to v2.5.2 by @renovate in #400
- Update dependency mypy to v1.7.1 by @renovate in #402
- Update dependency wheel to v0.42.0 by @renovate in #404
- Update pypa/gh-action-pypi-publish action to v1.8.11 by @renovate in #405
- Update ubuntu Docker tag to jammy-20231128 by @renovate in #406
- Update dependency pytest-asyncio to v0.23.2 by @renovate in #410
- Update dependency ruff to v0.1.7 by @renovate in #412
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.7 by @renovate in #413
- Update actions/setup-python action to v5 by @renovate in #411
- Update actions/deploy-pages action to v3 by @renovate in #409
- Update actions/configure-pages action to v4 by @renovate in #408
- Update dependency pre-commit to v3.6.0 by @renovate in #414
- Update dependency typing-extensions to v4.9.0 by @renovate in #415
- Update dependency black to v23.12.0 by @renovate in #416
- Update pre-commit hook psf/black to v23.12.0 by @renovate in #417
- Update dependency ruff to v0.1.8 by @renovate in #418
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.8 by @renovate in #419
- Update dependency coverage to v7.3.3 by @renovate in #420
- Update dependency pdoc to v14.2.0 by @renovate in #421
- Update dependency pip to v23.3.2 by @renovate in #428
- Update dependency fluxcd/flux2 to v2.2.1 by @renovate in #429
- Update dependency helm/helm to v3.13.3 by @renovate in #432
- Update dependency kyverno/kyverno to v1.11.1 by @renovate in #433
- Update actions/deploy-pages action to v4 by @renovate in #430
- Update actions/upload-pages-artifact action to v3 by @renovate in #431
Full Changelog: 3.2.0...4.0.0
3.2.0
What's Changed
- Add support for targetNamespace in Fluxtomization by @allenporter in #388
Developer updates
- Update dependency wheel to v0.41.1 by @renovate in #300
- Update dependency aiofiles to v23.2.1 by @renovate in #302
- Update dependency ruff to v0.0.284 by @renovate in #304
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.284 by @renovate in #305
- Update pypa/gh-action-pypi-publish action to v1.8.10 by @renovate in #306
- Update dependency mypy to v1.5.0 by @renovate in #307
- Update dependency coverage to v7.3.0 by @renovate in #308
- Update dependency types-aiofiles to v23.2.0.0 by @renovate in #309
- Update dependency mypy to v1.5.1 by @renovate in #310
- Update dependency ruff to v0.0.285 by @renovate in #311
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.285 by @renovate in #312
- Update dependency pydantic to v2.2.1 by @renovate in #313
- Update dependency wheel to v0.41.2 by @renovate in #314
- Update dependency pydantic to v2.3.0 by @renovate in #315
- Update dependency ruff to v0.0.286 by @renovate in #316
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.286 by @renovate in #317
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.287 by @renovate in #319
- Update dependency ruff to v0.0.287 by @renovate in #318
- Update dependency GitPython to v3.1.34 by @renovate in #320
- Update dependency pytest to v7.4.1 by @renovate in #321
- Update actions/checkout action to v4 by @renovate in #322
- Update dependency pre-commit to v3.4.0 by @renovate in #323
- Update dependency coverage to v7.3.1 by @renovate in #324
- Update dependency GitPython to v3.1.35 by @renovate in #325
- Update dependency pytest to v7.4.2 by @renovate in #326
- Update dependency black to v23.9.0 by @renovate in #327
- Update pre-commit hook psf/black to v23.9.0 by @renovate in #328
- Update dependency pdoc to v14.1.0 by @renovate in #329
- Update dependency GitPython to v3.1.36 by @renovate in #330
- Update dependency black to v23.9.1 by @renovate in #331
- Update dependency ruff to v0.0.289 by @renovate in #332
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.289 by @renovate in #333
- Update pre-commit hook psf/black to v23.9.1 by @renovate in #335
- Update dependency ruff to v0.0.290 by @renovate in #336
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.290 by @renovate in #337
- Update dependency nest_asyncio to v1.5.8 by @renovate in #339
- Update dependency typing-extensions to v4.8.0 by @renovate in #340
- Update dependency GitPython to v3.1.37 by @renovate in #341
- Update dependency ruff to v0.0.291 by @renovate in #342
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.291 by @renovate in #343
- Update dependency types-PyYAML to v6.0.12.12 by @renovate in #344
- Update dependency pydantic to v2.4.1 by @renovate in #345
- Update dependency pydantic to v2.4.2 by @renovate in #346
- Update dependency coverage to v7.3.2 by @renovate in #347
- Update dependency ruff to v0.0.292 by @renovate in #348
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.292 by @renovate in #349
- Update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 by @renovate in #351
- Update dependency mypy to v1.6.0 by @renovate in #352
- Update dependency pre-commit to v3.5.0 by @renovate in #354
- Update dependency pip to v23.3 by @renovate in #355
- Update dependency ruff to v0.1.0 by @renovate in #357
- Update ubuntu Docker tag to jammy-20231004 by @renovate in #356
- Update dependency black to v23.10.0 by @renovate in #359
- Update dependency GitPython to v3.1.40 by @renovate in #361
- Update pre-commit hook psf/black to v23.10.0 by @renovate in #362
- Update workflow with ruff action by @allenporter in #363
- Update dependency mypy to v1.6.1 by @renovate in #358
- Update pre-commit hook codespell-project/codespell to v2.2.6 by @renovate in #350
- Update dependency pip to v23.3.1 by @renovate in #364
- Update dependency ruff to v0.1.1 by @renovate in #365
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.1 by @renovate in #366
- Update dependency black to v23.10.1 by @renovate in #367
- Update pre-commit hook psf/black to v23.10.1 by @renovate in #368
- Update dependency ruff to v0.1.2 by @renovate in #370
- Update dependency pytest to v7.4.3 by @renovate in #369
- Update dependency ruff to v0.1.3 by @renovate in #371
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.3 by @renovate in #372
- Update dependency wheel to v0.41.3 by @renovate in #373
- Update dependency ruff to v0.1.4 by @renovate in #374
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.4 by @renovate in #375
- Update dependency black to v23.11.0 by @renovate in #376
- Update pre-commit hook psf/black to v23.11.0 by @renovate in #377
- Update dependency ruff to v0.1.5 by @renovate in #378
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.5 by @renovate in #379
- Update dependency mypy to v1.7.0 by @renovate in #380
- Update dependency yamllint to v1.33.0 by @renovate in #381
- Update pre-commit hook adrienverge/yamllint to v1.33.0 by @renovate in #382
- Update dependency pydantic to v2.5.0 by @renovate in #383
- Update dependency pydantic to v2.5.1 by @renovate in #384
- Update dependency ruff to v0.1.6 by @renovate in #385
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.6 by @renovate in #386
Full Changelog: 3.1.1...3.2.0
3.1.1
What's Changed
Developer updates
- Update dependency types-PyYAML to v6.0.12.11 by @renovate in #286
- Update dependency types-aiofiles to v23.1.0.5 by @renovate in #287
- Update dependency types-python-slugify to v8.0.0.3 by @renovate in #288
- Update dependency pip to v23.2.1 by @renovate in #289
- Update dependency ruff to v0.0.280 by @renovate in #290
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.280 by @renovate in #291
- Update dependency wheel to v0.41.0 by @renovate in #292
- Update dependency pydantic to v2.1.1 by @renovate in #293
- Update dependency nest_asyncio to v1.5.7 by @renovate in #294
- Update dependency ruff to v0.0.282 by @renovate in #296
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.282 by @renovate in #297
New Contributors
Full Changelog: 3.1.0...3.1.1
3.1.0
What's Changed
- Update --sources to allow restricting to specific GitRepository by @allenporter in #284
Dependency updates
- Update dependency GitPython to v3.1.32 by @renovate in #274
- Update pypa/gh-action-pypi-publish action to v1.8.8 by @renovate in #275
- Update dependency black to v23.7.0 by @renovate in #276
- Update dependency pytest-asyncio to v0.21.1 by @renovate in #277
- Update pre-commit hook psf/black to v23.7.0 by @renovate in #278
- Require python3.10 or higher by @allenporter in #279
- Update dependency ruff to v0.0.278 by @renovate in #271
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.278 by @renovate in #272
- Pydantic upgrade to support v2 by @allenporter in #280
- Update dependency pip to v23.2 by @renovate in #281
- Update dependency PyYAML to v6.0.1 by @renovate in #282
- Update actions/upload-pages-artifact action to v2 by @renovate in #273
Full Changelog: 3.0.0...3.1.0
3.0.0
Breaking Changes
In order to fix a broader set of cluster types, the flux-local build
command no longer supports building arbitrary subdirectories within a cluster (e.g. like kustomize build). This now just supports setting --path to a cluster kustomization directory like flux bootstrap.
What's Changed
- Rewrite pipeline selection to serially build cluster by @allenporter in #266
- Remove unused methods in git_repo library by @allenporter in #267
- Include
Options
as part of thegit_repo
public API by @allenporter in #268 - Cleanup paths on output to remove unnecessary ./ prefixes by @allenporter in #269
Full Changelog: 2.1.0...3.0.0
2.1.0
What's Changed
- Change default kustomize build behavior to match flux by @allenporter in #263
- Improve kustomization handling for more complex repo setups by @allenporter in #264
Developer Dependencies
- Update dependency typing-extensions to v4.7.1 by @renovate in #261
- Update dependency pydantic to v1.10.11 by @renovate in #262
Full Changelog: 2.0.1...2.1.0
2.0.1
What's Changed
- Fix regression in api-versions and flux-local test by @allenporter in #259
Full Changelog: 2.0.0...2.0.1
2.0.0
Breaking Changes
- Library: The
helm
libraryHelm.template
function call has replaced a set of booleans with anOptions
object.
What's Changed
- Improve support for api-versions in CLI tools by @allenporter in #254
- Refactor build cli command line flags by @allenporter in #255
- Cleanup and improve documentation by @allenporter in #256
- Add api-versions flag to diff action for consistency by @allenporter in #257
Developer updates
Full Changelog: 1.3.3...2.0.0
1.3.3
What's Changed
- Allow unset spec.path in Kustomization by @allenporter in #249
Full Changelog: 1.3.2...1.3.3
1.3.2
What's Changed
- Correctly handle kustomization namespace for flux test by @allenporter in #247
Developer updates
- Update dependency pytest to v7.3.2 by @renovate in #234
- Update dependency pre-commit to v3.3.3 by @renovate in #235
- Update pre-commit hook codespell-project/codespell to v2.2.5 by @renovate in #236
- Update dependency pdoc to v14 by @renovate in #238
- Update dependency mypy to v1.4.0 by @renovate in #239
- Update dependency ruff to v0.0.275 by @renovate in #240
- Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.275 by @renovate in #241
- Update dependency pytest to v7.4.0 by @renovate in #242
- Update dependency mypy to v1.4.1 by @renovate in #243
- Update pypa/gh-action-pypi-publish action to v1.8.7 by @renovate in #244
- Update dependency typing-extensions to v4.7.0 by @renovate in #246
Full Changelog: 1.3.1...1.3.2