Skip to content

Run validation script job on linux#4689

Merged
akoeplinger merged 3 commits intomainfrom
akoeplinger-patch-1
Feb 9, 2026
Merged

Run validation script job on linux#4689
akoeplinger merged 3 commits intomainfrom
akoeplinger-patch-1

Conversation

@akoeplinger
Copy link
Copy Markdown
Member

No description provided.

@adamzip
Copy link
Copy Markdown
Contributor

adamzip commented Feb 5, 2026

I guess it's trying to build the .net sdk from the VMR itself and use it to run the changevalidation tool, but it's failing because it's missing a .net version needed to run the vmr build in the first place?

but if I'm not mistaken, this project should only need whatever .net version arcade-services needs (via the DarcLib dependency), so maybe it can be changed to just use .net 10 or something?

@akoeplinger
Copy link
Copy Markdown
Member Author

@adamzip it was just me messing up the arguments to InitializeDotnetCli when translating from powershell to bash, so it wasn't installing dotnet.

I switched to using dotnet.sh since that handles installing+running in one go, but it looks like for some reason it was missing execute permissions (but the failure in the Run Validation Script job shows that it works).

@akoeplinger akoeplinger marked this pull request as ready for review February 6, 2026 10:53
@akoeplinger akoeplinger requested review from a team as code owners February 6, 2026 10:53
Copilot AI review requested due to automatic review settings February 6, 2026 10:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request migrates the validation job in the PR pipeline from Windows to Linux. The changes convert PowerShell commands to bash equivalents and introduce a new dotnet.sh helper script to standardize .NET SDK installation and invocation.

Changes:

  • Migrated the validation job from Windows to Linux using Azure Linux pool images
  • Converted PowerShell scripts to bash scripts with proper error handling (set -ex)
  • Added eng/common/dotnet.sh script following the established pattern used throughout the repository

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
eng/pipelines/pr.yml Updated pool configuration to use Linux images and converted validation job scripts from PowerShell to bash
eng/common/dotnet.sh New bash script that installs .NET SDK and invokes it with provided arguments, following the pattern established in subdirectories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akoeplinger akoeplinger merged commit f264d66 into main Feb 9, 2026
7 of 16 checks passed
@akoeplinger akoeplinger deleted the akoeplinger-patch-1 branch February 9, 2026 10:31
@akoeplinger
Copy link
Copy Markdown
Member Author

/backport to release/10.0.1xx

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 9, 2026

Started backporting to release/10.0.1xx (link to workflow run)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 9, 2026

@akoeplinger backporting to release/10.0.1xx failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Run validation script job on linux
Using index info to reconstruct a base tree...
M	eng/pipelines/pr.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/pr.yml
CONFLICT (content): Merge conflict in eng/pipelines/pr.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Run validation script job on linux
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

adamzip pushed a commit that referenced this pull request Feb 9, 2026
adamzip pushed a commit that referenced this pull request Feb 9, 2026
adamzip pushed a commit that referenced this pull request Feb 9, 2026
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.

4 participants