Skip to content

Commit e966790

Browse files
committed
Revert "[Infra]Change the harmony build runner"
This reverts commit 3d5408f.
1 parent 3d5408f commit e966790

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,19 @@ jobs:
236236
popd
237237
238238
harmony-har-build:
239-
runs-on: lynx-container
239+
runs-on: lynx-custom-dind
240240
container:
241241
image: ghcr.io/lynx-family/ubuntu24.04-harmony:lastest
242242
options: --cap-add=NET_ADMIN
243243
credentials:
244244
username: lynx-family
245245
password: ${{ secrets.GITHUB_TOKEN }}
246246
steps:
247+
- name: Set MTU
248+
run: |
249+
sudo apt-get update && sudo apt-get install --no-install-recommends -y iproute2
250+
sudo ip link set dev eth0 mtu 1450
251+
echo "MTU set successfully"
247252
- name: Python Setup
248253
uses: actions/setup-python@v5
249254
with:
@@ -271,14 +276,19 @@ jobs:
271276
popd
272277
273278
harmony-hap-build:
274-
runs-on: lynx-container
279+
runs-on: lynx-custom-dind
275280
container:
276281
image: ghcr.io/lynx-family/ubuntu24.04-harmony:lastest
277282
options: --cap-add=NET_ADMIN
278283
credentials:
279284
username: lynx-family
280285
password: ${{ secrets.GITHUB_TOKEN }}
281286
steps:
287+
- name: Set MTU
288+
run: |
289+
sudo apt-get update && sudo apt-get install --no-install-recommends -y iproute2
290+
sudo ip link set dev eth0 mtu 1450
291+
echo "MTU set successfully"
282292
- name: Python Setup
283293
uses: actions/setup-python@v5
284294
with:

.github/workflows/harmony-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ on:
77

88
jobs:
99
harmony-release:
10-
runs-on: lynx-container
10+
runs-on: lynx-custom-dind
1111
container:
1212
image: ghcr.io/lynx-family/ubuntu24.04-harmony:lastest
1313
options: --cap-add=NET_ADMIN
1414
credentials:
1515
username: lynx-family
1616
password: ${{ secrets.GITHUB_TOKEN }}
1717
steps:
18+
- name: Set MTU
19+
run: |
20+
sudo apt install --no-install-recommends -y iproute2
21+
sudo ip link set dev eth0 mtu 1450 # remain 50 for k8s overlay
22+
echo "MTU set successfully"
1823
- name: Install Rust toolchain
1924
uses: actions-rs/toolchain@v1
2025
with:

0 commit comments

Comments
 (0)