Skip to content

Conversation

@pjcollins
Copy link
Member

The xamarin-android-tools repo now builds in both the xamarin/public and
devdiv/DevDiv Azure DevOps orgs, and unfortunately CI triggers only work
for one organization at a time:

"However, if you create pipelines for a single repository in multiple
Azure DevOps organizations, only the first organization's pipelines
can be automatically triggered by GitHub commits or pull requests."

Since the OneLocBuild job can't run against every commit automatically,
the job has been updated to run on a daily schedule so that we can still
get continuous builds.

The xamarin-android-tools repo now builds in both the xamarin/public and
devdiv/DevDiv Azure DevOps orgs, and unfortunately CI triggers only work
for [one organization at a time][0]:

    "However, if you create pipelines for a single repository in multiple
    Azure DevOps organizations, only the first organization's pipelines
    can be automatically triggered by GitHub commits or pull requests."

Since the OneLocBuild job can't run against every commit automatically,
the job has been updated to run on a daily schedule so that we can still
get continuous builds.

[0]: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#create-pipelines-in-multiple-azure-devops-organizations-and-projects
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this step need a condition to skip unless it's a "scheduled build"?

https://github.com/xamarin/xamarin-android-tools/blob/4dd329228559373ddb3853209acd4bd3470dd2fd/Localize/onelocbuild.yaml#L13

Or is it fine to run every time?

@pjcollins
Copy link
Member Author

Does this step need a condition to skip unless it's a "scheduled build"?

This shouldn't be needed, it's fine for this to run when manually queued and for other reasons. Regular CI/PR triggers will not run for this pipeline and are disabled.

@jonathanpeppers jonathanpeppers merged commit 327d433 into dotnet:main Jul 20, 2022
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

Successfully merging this pull request may close these issues.

2 participants