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

Feature Request: provide groups/project via CLI parameter #1

Closed
shaneog opened this issue May 23, 2023 · 2 comments
Closed

Feature Request: provide groups/project via CLI parameter #1

shaneog opened this issue May 23, 2023 · 2 comments

Comments

@shaneog
Copy link

shaneog commented May 23, 2023

Ideally I would like to create a single Docker image that I could run via GitLab scheduled tasks for multiple projects/groups.
In that case I would want to pass the list of Groups or Projects via a CLI parameter rather than via a config file.

Is that possible?

Example:

groups:
  - id: 1
  - id: 2

would be equivalent to:

GROUPS=1,2
flexoid added a commit that referenced this issue May 23, 2023
@flexoid
Copy link
Owner

flexoid commented May 23, 2023

Hey @shaneog.
Thanks for the feedback!

Just added an ability of full configuration via ENV variables. Check out an updated README.

Please let me know if it works for you.

@shaneog
Copy link
Author

shaneog commented May 23, 2023

Thank you!

@shaneog shaneog closed this as completed May 23, 2023
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