Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed May 12, 2024
1 parent 20e46e2 commit 084b1f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/ensure-builder/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
echo "instance_type=r6in.32xlarge r6a.32xlarge i4i.32xlarge r7iz.32xlarge" >> $GITHUB_OUTPUT
echo "ami_id=ami-04d8422a9ba4de80f" >> $GITHUB_OUTPUT
echo "ebs_cache_size=256" >> $GITHUB_OUTPUT
echo "runner_concurrency=50" >> $GITHUB_OUTPUT
echo "runner_concurrency=20" >> $GITHUB_OUTPUT
echo "runner_label=$USERNAME-x86" >> $GITHUB_OUTPUT
echo "ttl=40" >> $GITHUB_OUTPUT
elif [[ $TYPE == builder-arm ]]; then
Expand Down
4 changes: 1 addition & 3 deletions .github/spot-runner-action/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,9 +962,7 @@ function setupGithubRunners(ip, config) {
` ln -s $(pwd)/../externals ../${runnerNameBase}-$i`,
` pushd ../${runnerNameBase}-$i`,
` echo \${TOKENS[i]} > .runner-token`,
` ./config.sh --unattended--url https://github.com/${github.context.repo.owner}/${github.context.repo.repo} --token \${TOKENS[i]} --labels ${config.githubActionRunnerLabel} --replace --name ${runnerNameBase}-$i`,
` screen -dm ./run.sh`,
` popd`,
` screen -dm ./config.sh --unattended-url https://github.com/${github.context.repo.owner}/${github.context.repo.repo} --token \${TOKENS[i]} --labels ${config.githubActionRunnerLabel} --replace --name ${runnerNameBase}-$i && ./run.sh`,
"done"
];
const tempKeyPath = installSshKey(config.ec2Key);
Expand Down
4 changes: 1 addition & 3 deletions .github/spot-runner-action/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@ async function setupGithubRunners(ip: string, config: ActionConfig) {
` ln -s $(pwd)/../externals ../${runnerNameBase}-$i`,
` pushd ../${runnerNameBase}-$i`,
` echo \${TOKENS[i]} > .runner-token`,
` ./config.sh --unattended--url https://github.com/${github.context.repo.owner}/${github.context.repo.repo} --token \${TOKENS[i]} --labels ${config.githubActionRunnerLabel} --replace --name ${runnerNameBase}-$i`,
` screen -dm ./run.sh`,
` popd`,
` screen -dm ./config.sh --unattended-url https://github.com/${github.context.repo.owner}/${github.context.repo.repo} --token \${TOKENS[i]} --labels ${config.githubActionRunnerLabel} --replace --name ${runnerNameBase}-$i && ./run.sh`,
"done"
];
const tempKeyPath = installSshKey(config.ec2Key);
Expand Down

0 comments on commit 084b1f0

Please sign in to comment.