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

Update workflow to use self-hosted runners #2

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Nitinbabariya
Copy link

@Nitinbabariya Nitinbabariya commented Oct 23, 2024

We have optimized GitHub Runners to enhance resource utilization and efficiency by reducing the default packages loaded by runners. Introducing new runner groups for better customization and performance


Note: New runners are deployed as minimal environments without pre-installed software like .NET. You'll need to install any required dependencies within your workflow.

For example: Following code snippet installs dotnet v3.1. For more information visit https://github.com/actions/setup-dotnet

    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-dotnet@v4
    with:
        dotnet-version: '3.1.x'
    - run: dotnet build <my project>

For more information checkout https://betssongroup.atlassian.net/wiki/spaces/TTM/pages/428605820/Transition+repositories+to+new+dedicated+runner+group

New runners include labels for example:

  • self-hosted X64 Linux d-s default-standard
  • self-hosted X64 Linux d-l default-large

Builds should be compatible with both x86-64 and ARM64 architectures. If necessary, you can specify the architecture in the workflow

The assignment of runners depends not only on these labels but also based on the repository's association with specific runner groups and corresponding github apps managed by the CloudOps team.

@samagius samagius merged commit 7ecdb0a into master Nov 18, 2024
0 of 6 checks passed
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.

2 participants