Releases: allenporter/flux-local
5.0.0
What's Changed
This release adds support for Post Build Variable Substitution and drops support for pydantic for parsing.
- Change VALUE_PLACEHOLDER to be yaml-safe by @jfroy in #620
- Exercise postBuild.substituteFrom in tests by @allenporter in #624
- Code simplification: Replace queue.Queue with a collection by @allenporter in #628
- Code cleanup: Make kustomization updates happen in place by @allenporter in #629
- Code lint improvements by @allenporter in #630
- Parse postBuild references in the Kustomization by @allenporter in #625
- Use mashumaro for yaml parsing and drop pydantic by @allenporter in #631
Other developer updates
- Update README.md to fix examples by @allenporter in #533
- Set explicit version in cluster tests by @allenporter in #601
- README improvements and cleanup by @allenporter in #632
New Contributors
Full Changelog: 4.3.1...5.0.0
4.3.1
What's Changed
- Limit concurrency on
flux build
kustomization paths
Developer Dependency Updates
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.13 by @renovate in #504
- chore(deps): update dependency nest_asyncio to v1.5.9 by @renovate in #505
- chore(deps): update ubuntu docker tag to jammy-20240111 by @renovate in #506
- chore(deps): update dependency pdoc to v14.4.0 by @renovate in #507
- chore(deps): update docker.io/bitnami/kubectl docker tag to v1.29.1 by @renovate in #508
- chore(deps): update ghcr.io/kyverno/kyverno-cli docker tag to v1.11.4 by @renovate in #509
- chore(deps): update dependency ruff to v0.1.14 by @renovate in #510
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.14 by @renovate in #511
- chore(deps): update docker.io/alpine/helm docker tag to v3.14.0 by @renovate in #512
Full Changelog: 4.3.0...4.3.1
4.3.0
What's Changed
- Improve error messages to make misconfigurations easier to understand by @allenporter in #500
- Add checkout token to support private repos by @szinn in #353
Developer updates
- chore(deps): update dependency types-aiofiles to v23.2.0.20240106 by @renovate in #496
- chore(deps): update ghcr.io/kyverno/kyverno-cli docker tag to v1.11.3 by @renovate in #497
- chore(deps): update dependency gitpython to v3.1.41 by @renovate in #499
- chore(deps): update dependency ruff to v0.1.13 by @renovate in #501
New Contributors
Full Changelog: 4.2.2...4.3.0
4.2.2
What's Changed
- Add support for HelmRelease value references by @allenporter in #472
- Honour --output-file when there are not Helm Releases by @allenporter in #494
Developer dependency updates
- chore(deps): update dependency black to v23.12.1 by @renovate in #473
- chore(deps): update dependency ruff to v0.1.9 by @renovate in #474
- chore(deps): update fluxcd/flux2 action to v2.2.2 by @renovate in #475
- chore(deps): update ghcr.io/fluxcd/flux-cli docker tag to v2.2.2 by @renovate in #476* chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.9 by @renovate in #477
- chore(deps): update pre-commit hook psf/black to v23.12.1 by @renovate in #478
- chore(deps): update dependency mypy to v1.8.0 by @renovate in #479
- chore(deps): update dependency pdoc to v14.3.0 by @renovate in #480
- chore(deps): update dependency coverage to v7.4.0 by @renovate in #481
- chore(deps): update docker.io/bitnami/kubectl docker tag to v1.29.0 by @renovate in #482
- chore(deps): update ghcr.io/kyverno/kyverno-cli docker tag to v1.11.2 by @renovate in #484
- chore(deps): update python docker tag to v3.12 by @renovate in #485
- chore(deps): update dependency pytest to v7.4.4 by @renovate in #486
- Update devcontainer.json by @allenporter in #488
- chore(deps): update dependency pytest-asyncio to v0.23.3 by @renovate in #489
- chore(deps): update dependency ruff to v0.1.11 by @renovate in #490
- chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.1.11 by @renovate in #491
- Update kustomize test for new kyverno version by @allenporter in #493
Full Changelog: 4.2.1...4.2.2
4.2.1
What's Changed
Version 4.2.0
contains a bug in the diff action that caused it to never emit a diff, which is fixed in this release.
- Update pages workflow to new versions by @allenporter in #460
- fix: change running user to 1001 by @onedr0p in #461
- Initial design ideas for flux-local v5 by @allenporter in #463
- Upgrade to pydantic v2 APIs by @allenporter in #464
- Build with python 3.12 by @allenporter in #465
- Fix broken diff action output by @allenporter in #468
Developer updates
- chore(deps): update dependency coverage to v7.3.4 by @renovate in #469
- chore(deps): update dependency pydantic to v2.5.3 by @renovate in #470
Full Changelog: 4.2.0...4.2.1
4.2.0
What's Changed
- feat: add container build and workflows by @onedr0p in #452
- fix: update logic in container test to build on main by @onedr0p in #453
- fix: change CMD to ENTRYPOINT in Dockerfile by @onedr0p in #454
- Streamline devcontainer by @allenporter in #456
- Add --output-file flag to get cluster action by @allenporter in #457
- Add --output-file for build and diff and use in action by @allenporter in #459
New Contributors
Full Changelog: 4.1.1...4.2.0
4.1.1
What's Changed
- Remove complexity from multi-cluster diff by @allenporter in #447
- Improve timeout error message by @allenporter in #448
- Update stale helm pydoc by @allenporter in #449
- Cleanup visitor namespace related logic by @allenporter in #450
- Fix bug in actions by setting cache dependency paths based on action by @allenporter in #451
Full Changelog: 4.1.0...4.1.1
4.1.0
What's Changed
- Enable caching of package dependencies by @allenporter in #442
- Fix formatting by running black on code by @allenporter in #444
- Add container images from Kustomziations to the cluster manifest by @allenporter in #443
- Add HelmRelease images to cluster manifest by @allenporter in #445
Developer dependency updates
- Revert "Update actions/upload-pages-artifact action to v3" by @allenporter in #438
- Revert "Update actions/deploy-pages action to v4" by @allenporter in #439
Full Changelog: 4.0.0...4.1.0
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