Skip to content

Commit e79c9e1

Browse files
committed
chore(ci): drop equinix metal e2e-test
Drop Equinix Metal e2e tests, due to EM machines mostly not booting properly over PXE, drop the test as it adds no value. Fixes: siderolabs#10034 Signed-off-by: Noel Georgi <[email protected]>
1 parent 4189454 commit e79c9e1

File tree

10 files changed

+46
-546
lines changed

10 files changed

+46
-546
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-12-25T15:13:54Z by kres fcff05e.
3+
# Generated on 2024-12-26T15:20:08Z by kres fcff05e.
44

55
name: default
66
concurrency:
@@ -1237,122 +1237,6 @@ jobs:
12371237
/tmp/logs-*.tar.gz
12381238
/tmp/support-*.zip
12391239
retention-days: "5"
1240-
integration-equinix-metal:
1241-
permissions:
1242-
actions: read
1243-
contents: write
1244-
issues: read
1245-
packages: write
1246-
pull-requests: read
1247-
runs-on:
1248-
- self-hosted
1249-
- generic
1250-
if: contains(fromJSON(needs.default.outputs.labels), 'integration/equinix-metal')
1251-
needs:
1252-
- default
1253-
steps:
1254-
- name: gather-system-info
1255-
id: system-info
1256-
uses: kenchan0130/[email protected]
1257-
continue-on-error: true
1258-
- name: print-system-info
1259-
run: |
1260-
MEMORY_GB=$((${{ steps.system-info.outputs.totalmem }}/1024/1024/1024))
1261-
1262-
OUTPUTS=(
1263-
"CPU Core: ${{ steps.system-info.outputs.cpu-core }}"
1264-
"CPU Model: ${{ steps.system-info.outputs.cpu-model }}"
1265-
"Hostname: ${{ steps.system-info.outputs.hostname }}"
1266-
"NodeName: ${NODE_NAME}"
1267-
"Kernel release: ${{ steps.system-info.outputs.kernel-release }}"
1268-
"Kernel version: ${{ steps.system-info.outputs.kernel-version }}"
1269-
"Name: ${{ steps.system-info.outputs.name }}"
1270-
"Platform: ${{ steps.system-info.outputs.platform }}"
1271-
"Release: ${{ steps.system-info.outputs.release }}"
1272-
"Total memory: ${MEMORY_GB} GB"
1273-
)
1274-
1275-
for OUTPUT in "${OUTPUTS[@]}";do
1276-
echo "${OUTPUT}"
1277-
done
1278-
continue-on-error: true
1279-
- name: checkout
1280-
uses: actions/checkout@v4
1281-
- name: Unshallow
1282-
run: |
1283-
git fetch --prune --unshallow
1284-
- name: Set up Docker Buildx
1285-
id: setup-buildx
1286-
uses: docker/setup-buildx-action@v3
1287-
with:
1288-
driver: remote
1289-
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
1290-
timeout-minutes: 10
1291-
- name: Mask secrets
1292-
run: |
1293-
echo "$(sops -d .secrets.yaml | yq -e '.secrets | to_entries[] | "::add-mask::" + .value')"
1294-
- name: Set secrets for job
1295-
run: |
1296-
sops -d .secrets.yaml | yq -e '.secrets | to_entries[] | .key + "=" + .value' >> "$GITHUB_ENV"
1297-
- name: Download artifacts
1298-
if: github.event_name != 'schedule'
1299-
uses: actions/download-artifact@v4
1300-
with:
1301-
name: talos-artifacts
1302-
path: _out
1303-
- name: Fix artifact permissions
1304-
if: github.event_name != 'schedule'
1305-
run: |
1306-
xargs -a _out/executable-artifacts -I {} chmod +x {}
1307-
- name: ci-temp-release-tag
1308-
if: github.event_name != 'schedule'
1309-
run: |
1310-
make ci-temp-release-tag
1311-
- name: build
1312-
if: github.event_name == 'schedule'
1313-
env:
1314-
IMAGE_REGISTRY: registry.dev.siderolabs.io
1315-
PLATFORM: linux/amd64,linux/arm64
1316-
PUSH: "true"
1317-
run: |
1318-
make talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer imager talos _out/integration-test-linux-amd64
1319-
- name: talosctl-cni-bundle
1320-
if: github.event_name == 'schedule'
1321-
run: |
1322-
make talosctl-cni-bundle
1323-
- name: e2e-equinix-metal-prepare
1324-
env:
1325-
IMAGE_REGISTRY: registry.dev.siderolabs.io
1326-
run: |
1327-
make e2e-equinix-metal-prepare
1328-
- name: checkout contrib
1329-
uses: actions/checkout@v4
1330-
with:
1331-
path: _out/contrib
1332-
ref: main
1333-
repository: siderolabs/contrib
1334-
- name: setup tf
1335-
uses: hashicorp/setup-terraform@v3
1336-
with:
1337-
terraform_wrapper: "false"
1338-
- name: tf apply
1339-
env:
1340-
TF_E2E_ACTION: apply
1341-
TF_E2E_TEST_TYPE: equinix-metal
1342-
TF_SCRIPT_DIR: _out/contrib
1343-
run: |
1344-
make e2e-cloud-tf
1345-
- name: e2e-equinix-metal
1346-
run: |
1347-
make e2e-equinix-metal
1348-
- name: tf destroy
1349-
if: always()
1350-
env:
1351-
TF_E2E_ACTION: destroy
1352-
TF_E2E_TEST_TYPE: equinix-metal
1353-
TF_SCRIPT_DIR: _out/contrib
1354-
run: |
1355-
make e2e-cloud-tf
13561240
integration-extensions:
13571241
permissions:
13581242
actions: read

.github/workflows/integration-equinix-metal-cron.yaml

Lines changed: 0 additions & 119 deletions
This file was deleted.

.github/workflows/slack-notify.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-11-28T12:55:15Z by kres 232fe63.
3+
# Generated on 2024-12-26T15:20:08Z by kres fcff05e.
44

55
name: slack-notify
66
"on":
@@ -32,7 +32,6 @@ name: slack-notify
3232
- integration-aws-nvidia-nonfree-cron
3333
- integration-azure-cron
3434
- integration-gcp-cron
35-
- integration-equinix-metal-cron
3635
types:
3736
- completed
3837
jobs:

.kres.yaml

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
15D5721F5F5BAF121495363EFE042E3D4085A811,
1515
CC51116A94490FA6FB3C18EB2401FCAE863A06CA,
1616
4919F560F0D35F80CF382D76E084A2DF1143C14D,
17-
966BC282A680D8BB3E8363E865933E76F0549B0D,
17+
11177A43C6E3752E682AC690DBD13117B0A14E93,
1818
AA5213AF261C1977AF38B03A94B473337258BFD5
1919
---
2020
kind: common.Repository
@@ -79,7 +79,6 @@ spec:
7979
- integration-aws-nvidia-nonfree
8080
- integration-azure
8181
- integration-gcp
82-
- integration-equinix-metal
8382
---
8483
kind: common.GHWorkflow
8584
spec:
@@ -2147,66 +2146,6 @@ spec:
21472146
TF_SCRIPT_DIR: _out/contrib
21482147
TF_E2E_TEST_TYPE: gcp
21492148
TF_E2E_ACTION: destroy
2150-
- name: integration-equinix-metal
2151-
buildxOptions:
2152-
enabled: true
2153-
sops: true
2154-
depends:
2155-
- default
2156-
runners:
2157-
- self-hosted
2158-
- generic # we can use generic here since the tests run against a remote talos cluster
2159-
crons:
2160-
- '30 7 * * *'
2161-
triggerLabels:
2162-
- integration/equinix-metal
2163-
steps:
2164-
- name: download-artifacts
2165-
conditions:
2166-
- not-on-schedule
2167-
artifactStep:
2168-
type: download
2169-
artifactName: talos-artifacts
2170-
artifactPath: _out
2171-
- name: ci-temp-release-tag
2172-
conditions:
2173-
- not-on-schedule
2174-
- name: build
2175-
conditions:
2176-
- only-on-schedule
2177-
command: talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer imager talos _out/integration-test-linux-amd64
2178-
environment:
2179-
PLATFORM: linux/amd64,linux/arm64
2180-
IMAGE_REGISTRY: registry.dev.siderolabs.io
2181-
PUSH: true
2182-
- name: talosctl-cni-bundle
2183-
conditions:
2184-
- only-on-schedule
2185-
- name: e2e-equinix-metal-prepare
2186-
environment:
2187-
IMAGE_REGISTRY: registry.dev.siderolabs.io
2188-
- name: checkout contrib
2189-
checkoutStep:
2190-
repository: siderolabs/contrib
2191-
ref: main
2192-
path: _out/contrib
2193-
- name: setup tf
2194-
terraformStep: true
2195-
- name: tf apply
2196-
command: e2e-cloud-tf
2197-
environment:
2198-
TF_SCRIPT_DIR: _out/contrib
2199-
TF_E2E_TEST_TYPE: equinix-metal
2200-
TF_E2E_ACTION: apply
2201-
- name: e2e-equinix-metal
2202-
- name: tf destroy
2203-
command: e2e-cloud-tf
2204-
conditions:
2205-
- always
2206-
environment:
2207-
TF_SCRIPT_DIR: _out/contrib
2208-
TF_E2E_TEST_TYPE: equinix-metal
2209-
TF_E2E_ACTION: destroy
22102149
---
22112150
kind: common.Renovate
22122151
spec:

0 commit comments

Comments
 (0)