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

[DevOps] Create a template on the stages so that it can be re-used. #7550

Closed
wants to merge 2 commits into from

Conversation

mandel-macaque
Copy link
Member

The goal is to contain a template that has all the stages for the project to be build so that it can later be used in the unified pipeline.

An example of how is that done with the macios project can be found here: https://github.com/xamarin/sdk-insertions/blob/mega-pipeline/mega-pipeline.yml#L230

This is a partial fix for https://github.com/xamarin/sdk-insertions/issues/44

The goal is to contain a template that has all the stages for the
project to be build so that it can later be used in the unified
pipeline.

An example of how is that done with the macios project can be found
here: https://github.com/xamarin/sdk-insertions/blob/mega-pipeline/mega-pipeline.yml#L230

This is a partial fix for xamarin/sdk-insertions#44
@mandel-macaque mandel-macaque added the Area: xamarin-android Build Issues building the xamarin-android repo *itself*. label Nov 9, 2022
Copy link
Member

@pjcollins pjcollins left a comment

Choose a reason for hiding this comment

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

It looks like there is some syntax issue, this is not building. I'll try to templatize only the relevant .NET jobs in a separate PR.

@jonpryor
Copy link
Member

Partial AzDO error message:

/build-tools/automation/azure-pipelines.yaml: Could not find /build-tools/automation/yaml-templates/main-stage.yml in repository self hosted on https://github.com/ using commit a088bb3. GitHub reported the error, "Not Found"

@jonpryor
Copy link
Member

Build got further, but still insta-fails:

/build-tools/automation/yaml-templates/main-stage.yaml (Line: 42, Col: 31): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 43, Col: 32): Key not found 'signClassicPkgContent'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 288, Col: 31): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 543, Col: 31): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 687, Col: 29): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 696, Col: 29): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 709, Col: 31): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 770, Col: 31): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 804, Col: 29): Key not found 'provisionatorChannel'6947143
/build-tools/automation/yaml-templates/main-stage.yaml (Line: 812, Col: 29): Key not found 'provisionatorChannel'6947143

@jonpryor jonpryor added the do-not-merge PR should not be merged. label Nov 11, 2022
@pjcollins
Copy link
Member

I'm going to close this, we'll try to do it in smaller chunks. Starting with #7553.

@pjcollins pjcollins closed this Nov 11, 2022
@akoeplinger akoeplinger deleted the create-templates-reuse branch October 24, 2023 10:32
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: xamarin-android Build Issues building the xamarin-android repo *itself*. do-not-merge PR should not be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants