|
9 | 9 | - develop |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - test-custom-container: |
13 | | - runs-on: lynx-custom-dind |
| 12 | + # test-custom-container: |
| 13 | + # runs-on: lynx-custom-dind |
| 14 | + # container: |
| 15 | + # image: ghcr.io/lynx-family/harmony:5.0.9.310 |
| 16 | + # options: --cap-add=NET_ADMIN |
| 17 | + # credentials: |
| 18 | + # username: lynx-family |
| 19 | + # password: ${{ secrets.GITHUB_TOKEN }} |
| 20 | + # steps: |
| 21 | + # - name: Set MTU |
| 22 | + # run: | |
| 23 | + # apt install --no-install-recommends -y iproute2 |
| 24 | + # ip link set dev eth0 mtu 1450 |
| 25 | + # echo "MTU set successfully" |
| 26 | + # - name: Download Source |
| 27 | + |
| 28 | + # - name: debug |
| 29 | + # shell: bash |
| 30 | + # run: | |
| 31 | + # echo 'This is in custom container' |
| 32 | + |
| 33 | + test-custom-container-cache-1: |
| 34 | + runs-on: lynx-custom-dind-cache |
| 35 | + container: |
| 36 | + image: ghcr.io/lynx-family/harmony:5.0.9.310 |
| 37 | + options: --cap-add=NET_ADMIN |
| 38 | + credentials: |
| 39 | + username: lynx-family |
| 40 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 41 | + steps: |
| 42 | + - name: Set MTU |
| 43 | + run: | |
| 44 | + apt install --no-install-recommends -y iproute2 |
| 45 | + ip link set dev eth0 mtu 1450 |
| 46 | + echo "MTU set successfully" |
| 47 | + - name: Download Source |
| 48 | + |
| 49 | + - name: debug |
| 50 | + shell: bash |
| 51 | + run: | |
| 52 | + sleep infinity |
| 53 | + # echo 'This is in custom container' |
| 54 | +
|
| 55 | + test-custom-container-cache-2: |
| 56 | + runs-on: lynx-custom-dind-cache |
14 | 57 | container: |
15 | 58 | image: ghcr.io/lynx-family/harmony:5.0.9.310 |
16 | 59 | options: --cap-add=NET_ADMIN |
|
28 | 71 | - name: debug |
29 | 72 | shell: bash |
30 | 73 | run: | |
31 | | - echo 'This is in custom container' |
| 74 | + sleep infinity |
| 75 | + # echo 'This is in custom container' |
0 commit comments