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

How to setup Cirrus-CI for public mirrors #996

Open
royger opened this issue Apr 28, 2022 · 2 comments
Open

How to setup Cirrus-CI for public mirrors #996

royger opened this issue Apr 28, 2022 · 2 comments

Comments

@royger
Copy link

royger commented Apr 28, 2022

Hello,

I'm trying to setup Cirrus-CI for https://github.com/xen-project/xen which is a public mirror, but despite having added the Cirrus-CI application and allowed it the required permissions I don't see it triggered when the mirror is updated. It does however work on forks from the same mirror (for example my personal one: https://github.com/royger/xen)

Does setting up Cirrus-CI for repositories that are public mirrors require some additional settings?

Thanks, Roger.

@fkorotkov fkorotkov transferred this issue from cirruslabs/cirrus-ci-web Apr 29, 2022
@fkorotkov
Copy link
Contributor

Hey @royger,

Cirrus CI triggers builds on a particular webhook events that GitHub generates for a repository. It seems in case of public mirrors GitHub is not proactively monitors your mirrors and generates appropriate events.

One workaround might be to create a cron config in your repository settings to create a build for the latest commit periodically.

Another a bit more complicated option might be to use Cirrus API and integrate Cirrus into your CI. For example, there is such hack for GitLab.

@royger
Copy link
Author

royger commented May 6, 2022

Hello,

Is there a way to trigger a cirrus-ci execution from a github action? Or use the github action to trigger the webhook used by cirrus?

Thanks, Roger.

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