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

Expose API so that we can automate setting the CI_KEY on github actions #45

Open
pksunkara opened this issue Jun 2, 2023 · 2 comments
Labels
feature New feature or request infrastructure

Comments

@pksunkara
Copy link

We do this with codecov using terraform provider (https://registry.terraform.io/providers/at-wat/ucodecov/latest/docs).

The API call in codecov which we use is https://docs.codecov.com/reference/repos_config_retrieve.

I am willing to build the terraform provider at https://github.com/terraform-community-providers if you can expose the API.

@vio
Copy link
Member

vio commented Jun 6, 2023

Thank you for opening the issue, @pksunkara!

We do hope to open the API at one point, but we do not have any short/medium-term plans for it. I will keep the issue open since it sounds like a good idea.

Also, can you please explain in more detail your use case and/or if you have any issues with relative-ci/agent-action workflow?

@vio vio added feature New feature or request infrastructure labels Jun 6, 2023
@pksunkara
Copy link
Author

It basically boils down to the following:

I don't want to manually set the RELATIVE_CI_KEY in github secrets and instead want to rely on Terraform or other IaC.

This way is much more secure and scalable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants