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

Setup applyconfiguration-gen with aqua #109

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

zoetrope
Copy link
Member

No description provided.

@@ -115,6 +115,7 @@ release-build: setup

setup:
aqua i -l
aqua policy allow ./aqua-policy.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but doesn't this need to come before aqua i -l?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
That's right. I don't know why but CI passed 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zoetrope
My guess is:

  1. aqua -i l installs only links to a hook script.
  2. When the CI actually runs a command installed by Aqua, the hook script tries to install the real command.
  3. At that time, aqua policy allow has been run, so the hook script succeeds.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note that we use aqua-installer action that runs aqua -i l by default.
https://aquaproj.github.io/docs/products/aqua-installer/#optional-inputs

@zoetrope zoetrope force-pushed the applyconfiggen-aqua branch from 83663d8 to c666d48 Compare November 15, 2023 11:02
Copy link
Member

@ymmt2005 ymmt2005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ymmt2005 ymmt2005 merged commit 6bbd4ec into main Nov 17, 2023
7 checks passed
@ymmt2005 ymmt2005 deleted the applyconfiggen-aqua branch November 17, 2023 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants