Skip to content

Commit

Permalink
Revert "Merge pull request #3379 from autonomys/windows-self-hosted-r…
Browse files Browse the repository at this point in the history
…unners"

This reverts commit d554caa, reversing
changes made to deff3e2.
  • Loading branch information
DaMandal0rian committed Feb 13, 2025
1 parent d554caa commit 0036bb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
30 changes: 0 additions & 30 deletions .github/runs-on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,3 @@ runners:
family: ["c7a", "c7i", "m7a", "m7i"]
spot: capacity-optimized
image: ubuntu22-full-x64

self-hosted-windows-server-2022-x86-64:
cpu: [16, 32, 64]
ram: [32, 64, 128]
disk: default
family: ["c7a", "c7i", "m7a", "m7i"]
spot: capacity-optimized
image: windowscustomimage

# TODO: Replace with the official Windows runner image once all required packages are available.
# Reference: https://github.com/runs-on/runner-images-for-aws/blob/main/releases/windows22/x64/images/windows/Windows2022-Readme.md
#
# Currently, this image is a minimal Windows base installation and lacks many essential packages listed in the official runner image readme.
# The goal is to transition to an AWS-compatible image that maintains **1:1 compatibility** with the official GitHub-hosted Windows image.
#
# **Temporary Workaround:**
# - We are using a **custom-built image** with the required dependencies pre-installed.
# - This custom image (AMI) is derived from our **dedicated runners** image.
# - More details: https://runs-on.com/configuration/custom-images/
#
# **Next Steps:**
# - Replace the custom image with the official Windows runner image once it becomes available.
# - Track progress here: https://github.com/runs-on/runs-on/issues/231

images:
windowscustomimage:
platform: "windows"
arch: "x64"
owner: "227107093234"
ami: "ami-0108ce4fb0e0704da"
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
os: ${{ fromJson(github.repository_owner == 'autonomys' &&
'[
"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu-22.04-x86-64",
"runs-on=${{ github.run_id }}/runner=self-hosted-windows-server-2022-x86-64",
["self-hosted", "windows-server-2022-x86-64"],
["self-hosted", "macos-14-arm64"]
]' ||
'["ubuntu-22.04", "windows-2022", "macos-14"]') }}
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
os: ${{ fromJson(github.repository_owner == 'autonomys' &&
'[
"runs-on=${{ github.run_id }}/runner=self-hosted-ubuntu-22.04-x86-64",
"runs-on=${{ github.run_id }}/runner=self-hosted-windows-server-2022-x86-64",
["self-hosted", "windows-server-2022-x86-64"],
["self-hosted", "macos-14-arm64"]
]' ||
'["ubuntu-22.04", "windows-2022", "macos-14"]') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ jobs:
- os: ${{ fromJson(github.repository_owner == 'autonomys' && '["self-hosted", "macos-14-arm64"]' || '"macos-14"') }}
target: aarch64-apple-darwin
suffix: macos-aarch64-${{ github.ref_name }}
- os: ${{ fromJson(github.repository_owner == 'autonomys' && '"runs-on=${{ github.run_id }}/runner=self-hosted-windows-server-2022-x86-64"' || '"windows-2022"') }}
- os: ${{ fromJson(github.repository_owner == 'autonomys' && '["self-hosted", "windows-server-2022-x86-64"]' || '"windows-2022"') }}
target: x86_64-pc-windows-msvc
suffix: windows-x86_64-skylake-${{ github.ref_name }}
rustflags: "-C target-cpu=skylake"
- os: ${{ fromJson(github.repository_owner == 'autonomys' && '"runs-on=${{ github.run_id }}/runner=self-hosted-windows-server-2022-x86-64"' || '"windows-2022"') }}
- os: ${{ fromJson(github.repository_owner == 'autonomys' && '["self-hosted", "windows-server-2022-x86-64"]' || '"windows-2022"') }}
target: x86_64-pc-windows-msvc
suffix: windows-x86_64-v2-${{ github.ref_name }}
rustflags: "-C target-cpu=x86-64-v2"
Expand Down

0 comments on commit 0036bb5

Please sign in to comment.