|
| 1 | +# See https://runs-on.com/configuration/repo-config/ |
| 2 | + |
| 3 | +runners: |
| 4 | + default: &default |
| 5 | + image: ubuntu22-full-x64 |
| 6 | + family: |
| 7 | + # List all instance types that support encryption in transit and are x86_64 architecture |
| 8 | + # and format as YAML array with wildcard suffix: |
| 9 | + # aws ec2 describe-instance-types \ |
| 10 | + # --filters \ |
| 11 | + # Name=network-info.encryption-in-transit-supported,Values=true \ |
| 12 | + # Name=processor-info.supported-architecture,Values=x86_64 \ |
| 13 | + # --query "InstanceTypes[*].[InstanceType]" \ |
| 14 | + # --output text | cut -f 1 -d. | sort | uniq | awk '{print " - " $0 ".*"}' |
| 15 | + - c5a.* |
| 16 | + - c5ad.* |
| 17 | + - c5n.* |
| 18 | + - c6a.* |
| 19 | + - c6i.* |
| 20 | + - c6id.* |
| 21 | + - c6in.* |
| 22 | + - c7a.* |
| 23 | + - c7i.* |
| 24 | + - c7i-flex.* |
| 25 | + - d3.* |
| 26 | + - g4ad.* |
| 27 | + - g4dn.* |
| 28 | + - g5.* |
| 29 | + - g6.* |
| 30 | + - g6e.* |
| 31 | + - gr6.* |
| 32 | + - hpc6a.* |
| 33 | + - hpc6id.* |
| 34 | + - hpc7a.* |
| 35 | + - i3en.* |
| 36 | + - i4i.* |
| 37 | + - i7ie.* |
| 38 | + - inf1.* |
| 39 | + - inf2.* |
| 40 | + - m5dn.* |
| 41 | + - m5n.* |
| 42 | + - m5zn.* |
| 43 | + - m6a.* |
| 44 | + - m6i.* |
| 45 | + - m6id.* |
| 46 | + - m6idn.* |
| 47 | + - m6in.* |
| 48 | + - m7a.* |
| 49 | + - m7i.* |
| 50 | + - m7i-flex.* |
| 51 | + - p4d.* |
| 52 | + - p5.* |
| 53 | + - p5e.* |
| 54 | + - p5en.* |
| 55 | + - r5dn.* |
| 56 | + - r5n.* |
| 57 | + - r6a.* |
| 58 | + - r6i.* |
| 59 | + - r6id.* |
| 60 | + - r6idn.* |
| 61 | + - r6in.* |
| 62 | + - r7a.* |
| 63 | + - r7i.* |
| 64 | + - r7iz.* |
| 65 | + - trn1.* |
| 66 | + - trn1n.* |
| 67 | + - trn2.* |
| 68 | + - u-12tb1.* |
| 69 | + - u-3tb1.* |
| 70 | + - u-6tb1.* |
| 71 | + - u-9tb1.* |
| 72 | + - x2idn.* |
| 73 | + - x2iedn.* |
| 74 | + cpu: [2, 16] |
| 75 | + ram: [2, 64] |
| 76 | + disk: default |
| 77 | + spot: price-capacity-optimized |
| 78 | + retry: when-interrupted |
| 79 | + private: true |
| 80 | + ssh: false |
| 81 | + extras: ["s3-cache"] |
| 82 | + tags: |
| 83 | + - "gha-runner:runs-on/default" |
| 84 | + |
| 85 | + common: *default |
| 86 | + small: *default |
| 87 | + |
| 88 | + medium: |
| 89 | + <<: *default |
| 90 | + cpu: [4, 32] |
| 91 | + ram: [4, 64] |
| 92 | + tags: |
| 93 | + - "gha-runner:runs-on/medium" |
| 94 | + |
| 95 | + large: |
| 96 | + <<: *default |
| 97 | + cpu: [8, 64] |
| 98 | + ram: [12, 128] |
| 99 | + disk: large |
| 100 | + tags: |
| 101 | + - "gha-runner:runs-on/large" |
| 102 | + |
| 103 | + default-arm64: &default-arm64 |
| 104 | + <<: *default |
| 105 | + image: ubuntu22-full-arm64 |
| 106 | + tags: |
| 107 | + - "gha-runner:runs-on/default-arm64" |
| 108 | + # List all instance types that support encryption in transit and are arm64 architecture |
| 109 | + # and format as YAML array with wildcard suffix: |
| 110 | + # aws ec2 describe-instance-types \ |
| 111 | + # --filters \ |
| 112 | + # Name=network-info.encryption-in-transit-supported,Values=true \ |
| 113 | + # Name=processor-info.supported-architecture,Values=arm64 \ |
| 114 | + # --query "InstanceTypes[*].[InstanceType]" \ |
| 115 | + # --output text | cut -f 1 -d. | sort | uniq | awk '{print " - " $0 ".*"}' |
| 116 | + family: |
| 117 | + - c6gn.* |
| 118 | + - c7g.* |
| 119 | + - c7gd.* |
| 120 | + - c7gn.* |
| 121 | + - c8g.* |
| 122 | + - i4g.* |
| 123 | + - im4gn.* |
| 124 | + - is4gen.* |
| 125 | + - m7g.* |
| 126 | + - m7gd.* |
| 127 | + - m8g.* |
| 128 | + - r7g.* |
| 129 | + - r7gd.* |
| 130 | + - r8g.* |
| 131 | + |
| 132 | + small-arm64: *default-arm64 |
| 133 | + packages-arm64: *default-arm64 |
| 134 | + |
| 135 | + large-arm64: |
| 136 | + <<: *default-arm64 |
| 137 | + cpu: [8, 64] |
| 138 | + ram: [12, 128] |
| 139 | + disk: large |
| 140 | + tags: |
| 141 | + - "gha-runner:runs-on/large-arm64" |
| 142 | + |
0 commit comments