Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support aggregating configuration files in one directory #1615

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

suzuki-shunsuke
Copy link
Member

@suzuki-shunsuke suzuki-shunsuke commented Feb 2, 2023

The following files are supported.

  • aqua.yaml
  • aqua.yml
  • .aqua.yaml
  • .aqua.yml
  • aquaproj/aqua.yaml
  • aquaproj/aqua.yml
  • .aquaproj/aqua.yaml
  • .aquaproj/aqua.yml

Action List to aggregate configuration files in one directory

mkdir aquaproj
cp -R aqua aquaproj/imports
mv aqua.yaml aqua-checksums.json aquaproj
rm -R aqua
vi aquaproj/aqua.yaml # Fix `import` if you change the directory name
cp aqua-policy.yaml aquaproj/policy.yaml # `cp` instead of `mv` to prevent an error
  • Fix AQUA_POLICY_CONFIG
  • After fixing AQUA_POLICY_CONFIG, remove the old policy file
rm aqua-policy.yaml

@suzuki-shunsuke
Copy link
Member Author

suzuki-shunsuke commented Feb 2, 2023

v1.33.0-1

suzuki-shunsuke added a commit to aquaproj/registry-tool that referenced this pull request Feb 3, 2023
suzuki-shunsuke added a commit to aquaproj/registry-tool that referenced this pull request Feb 3, 2023
suzuki-shunsuke added a commit to aquaproj/registry-tool that referenced this pull request Feb 3, 2023
suzuki-shunsuke added a commit to aquaproj/update-checksum-action that referenced this pull request Feb 3, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v1.33.0 milestone Feb 3, 2023
@suzuki-shunsuke suzuki-shunsuke merged commit 5355f44 into main Feb 3, 2023
@suzuki-shunsuke suzuki-shunsuke deleted the feat/support-aquaproj-dir branch February 3, 2023 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant