-
Notifications
You must be signed in to change notification settings - Fork 16.3k
ci: use new arc cluster #47897
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: use new arc cluster #47897
Conversation
5140541
to
ff12828
Compare
ff12828
to
870de13
Compare
b249b16
to
73c9720
Compare
73c9720
to
d3055e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
echo "const fs = require('fs');" > gettoken.js | ||
echo "const fileContents = fs.readFileSync('sas-token', 'utf8');" >> gettoken.js | ||
echo "const token = JSON.parse(fileContents);" >> gettoken.js | ||
echo "console.log(token[process.argv[2]])" >> gettoken.js | ||
sas_token=$(node ./gettoken.js sasToken) | ||
account_name=$(node ./gettoken.js accountName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "const fs = require('fs');" > gettoken.js | |
echo "const fileContents = fs.readFileSync('sas-token', 'utf8');" >> gettoken.js | |
echo "const token = JSON.parse(fileContents);" >> gettoken.js | |
echo "console.log(token[process.argv[2]])" >> gettoken.js | |
sas_token=$(node ./gettoken.js sasToken) | |
account_name=$(node ./gettoken.js accountName) | |
sas_token=$(jq -r '.sasToken' sas-token) | |
account_name=$(jq -r '.accountName' sas-token) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JQ is not available on Windows runners.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can make this a todo along with #47897 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah for sure, didn't realize jq
wasn't in that image, should be easy to install with choco
in our scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shell: powershell | ||
if: ${{ inputs.target-platform == 'win' }} | ||
run: | | ||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -Type DWord |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we take this as a TODO to load this into the windows runner image?
No Release Notes |
I have automatically backported this PR to "38-x-y", please check out #47912 |
I have automatically backported this PR to "35-x-y", please check out #47913 |
I have automatically backported this PR to "36-x-y", please check out #47914 |
I have automatically backported this PR to "37-x-y", please check out #47915 |
Description of Change
This PR moves our GHA runners to a new arc cluster with better capacity.
Checklist
npm test
passesRelease Notes
Notes: none