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

Uploading Modules #116

Open
wymangr opened this issue Mar 21, 2023 · 3 comments
Open

Uploading Modules #116

wymangr opened this issue Mar 21, 2023 · 3 comments

Comments

@wymangr
Copy link

wymangr commented Mar 21, 2023

Is there any other way to upload a module other then the citizen cli command? I do see a route to "register a module with version", but I don't see any documentation on it. It would be helpful to be able to upload a module via API to make it easier to automate the process via pipeline.

@mpicard
Copy link

mpicard commented Apr 6, 2023

Did you find a solution? I also am having issues uploading modules

@wymangr
Copy link
Author

wymangr commented Apr 6, 2023

@mpicard, I ended up writing my own python based webhook that runs the citizen cli.

@ericrichtert
Copy link

You can use curl. or any other tool:

curl -n -F "owner=someone" -F "module=@module.tar.gz" https://citizen.host/v1/modules/${DEPARTMENT}/${MODULE_NAME}/aws/${MODULE_VERSION}

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

3 participants