Skip to content

[WIP]test image cache if worked when run multi jobs #31

[WIP]test image cache if worked when run multi jobs

[WIP]test image cache if worked when run multi jobs #31

Workflow file for this run

name: ci-test-harmony
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
# test-custom-container:
# runs-on: lynx-custom-dind
# container:
# image: ghcr.io/lynx-family/harmony:5.0.9.310
# options: --cap-add=NET_ADMIN
# credentials:
# username: lynx-family
# password: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - name: Set MTU
# run: |
# apt install --no-install-recommends -y iproute2
# ip link set dev eth0 mtu 1450
# echo "MTU set successfully"
# - name: Download Source
# uses: actions/[email protected]
# - name: debug
# shell: bash
# run: |
# echo 'This is in custom container'
test-custom-container-cache-1:
runs-on: lynx-custom-dind-cache
container:
image: ghcr.io/lynx-family/harmony:5.0.9.310
options: --cap-add=NET_ADMIN
credentials:
username: lynx-family
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Set MTU
run: |
apt install --no-install-recommends -y iproute2
ip link set dev eth0 mtu 1450
echo "MTU set successfully"
- name: Download Source
uses: actions/[email protected]
- name: debug
shell: bash
run: |
sleep infinity
# echo 'This is in custom container'
test-custom-container-cache-2:
runs-on: lynx-custom-dind-cache
container:
image: ghcr.io/lynx-family/harmony:5.0.9.310
options: --cap-add=NET_ADMIN
credentials:
username: lynx-family
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Set MTU
run: |
apt install --no-install-recommends -y iproute2
ip link set dev eth0 mtu 1450
echo "MTU set successfully"
- name: Download Source
uses: actions/[email protected]
- name: debug
shell: bash
run: |
sleep infinity
# echo 'This is in custom container'