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

[ci] See if we can provision by default on devdiv #26170

Merged
merged 11 commits into from
Nov 28, 2024
Merged

[ci] See if we can provision by default on devdiv #26170

merged 11 commits into from
Nov 28, 2024

Conversation

rmarinho
Copy link
Member

@rmarinho rmarinho commented Nov 27, 2024

Description of Change

Set variables to provision the certs by default on DevDiv, and allow to manually started on xamarin instance

The idea is to have two variables UseProvisionator that can be set at queue time and a internalProvisioning that is set on the pipeline on devdiv.

It also now allows to by demand provision a bot on xamarin public azdo instance

  • Manual start the pipeline
  • Enable the UseProvisionator flag
  • Allow to select a bot by adding a demand to provision like
  - Agent.Name -equals BOT-0225.Sonoma
Screenshot 2024-11-28 at 14 15 07

Example pipeline
https://dev.azure.com/xamarin/public/_build/results?buildId=129622&view=logs&j=7b56c296-8a0a-5e10-b668-0a573fbf1ddf&t=29de6a03-df83-5147-affc-5206150077b8

Issues Fixed

Fixes #25948

try again

Variables

Fix provisioning

is it this

try this

try again

try pass variable to all
@rmarinho rmarinho added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Nov 27, 2024
@rmarinho rmarinho added this to the .NET 9 SR2 milestone Nov 27, 2024
@rmarinho rmarinho requested a review from a team as a code owner November 27, 2024 16:54
@rmarinho rmarinho changed the title [ci] See if we can provision default this on devdiv [ci] See if we can provision by default on devdiv Nov 27, 2024
@@ -197,7 +197,7 @@ stages:
skipAndroidImages: true
installDefaultAndroidApi: false
skipXcode: ${{ ne(BuildPlatform.name , 'macOS') }}
${{ if parameters.UseProvisionator }}:
${{ if or(parameters.UseProvisionator, variables['internalProvisioning']) }}:
Copy link
Member Author

Choose a reason for hiding this comment

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

@mattleibow I can t get this to work, the idea is we could use the variable or set as default on devdiv.. do you have any idea what I m missing seems this is never true its always passing skipProvisioning: false

@rmarinho rmarinho requested review from mattleibow and Redth and removed request for StephaneDelcroix November 28, 2024 14:20
@rmarinho rmarinho merged commit bc16b83 into main Nov 28, 2024
109 of 111 checks passed
@rmarinho rmarinho deleted the fix-prov2 branch November 28, 2024 17:04
@samhouts samhouts added fixed-in-9.0.21 fixed-in-net8.0-nightly This may be available in a nightly release! labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions fixed-in-9.0.21 fixed-in-net8.0-nightly This may be available in a nightly release!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[ci] Fix signing identities missing on some bots
2 participants