github aquaproj/aqua v1.33.0

latest releases: v2.31.0, v2.31.0-3, v2.31.0-2...
19 months ago

Pull Requests | Issues | v1.32.3...v1.33.0

Features

#1595 #1615 #1626 Support keeping configuration files in one directory

https://aquaproj.github.io/docs/tutorial-extras/keep-in-one-dir

aqua has several configuration files such as aqua.yaml, aqua-checksums.json, policy file, and imported files.

e.g.

aqua.yaml
aqua-checksums.json
aqua-policy.yaml # You can rename freely
aqua/ # You can rename freely
  terraform.yaml
  ...

From aqua v1.33.0, aqua supports keeping configuration files in one directory.

e.g.

aqua/ # or .aqua
  aqua.yaml
  aqua-checksums.json
  policy.yaml # You can rename freely
  imports/ # You can rename freely
    terraform.yaml
    ...

This is useful to keep the working directory clean.

How to migrate

  • Update aqua to v1.33.0 or later
  • Update update-checksum-action to v0.2.0 or later
  • Update update-checksum-workflow to v0.1.1 or later
  • Move files
    • aqua.yaml => aqua/aqua.yaml
    • aqua-checksums.json => aqua/aqua-checksums.json
    • aqua-policy.yaml => aqua/policy.yaml # rename freely
    • imported files => aqua/imports/*.yaml # change the filename freely
  • Fix AQUA_POLICY_CONFIG
  • Fix GitHub Actions Path filters
  • Fix aqua-renovate-config's file preset argument

Don't miss a new aqua release

NewReleases is sending notifications on new releases.