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

Allow passing in args for the SRPM build #2

Open
mfocko opened this issue May 23, 2022 · 1 comment
Open

Allow passing in args for the SRPM build #2

mfocko opened this issue May 23, 2022 · 1 comment

Comments

@mfocko
Copy link
Member

mfocko commented May 23, 2022

When running an SRPM build via GitHub Action, allow to specify arguments passed to the packit SRPM command, either by:

  • wrapping packit srpm with a script that takes care of the parameters, or
  • having an environment variable that will be passed to the container, such as $ARGS
@ssbarnea
Copy link

ssbarnea commented Dec 3, 2022

Be careful about arguments as github actions are very limited on how they can pass args and their types. Basically only strings are possible and you cannot have an empty default value. I was hit by these limitation with ansible-lint action.

Still, if you use a wrapper, you could get around these limitations.

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

No branches or pull requests

2 participants