|
|
|
@@ -60,9 +60,9 @@ jobs:
|
|
|
|
|
spec-immutability:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4 # the implementation repo
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 # the implementation repo
|
|
|
|
|
- name: Check out the read-only spec (sibling path)
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with:
|
|
|
|
|
repository: ${{ vars.SPEC_REPO_SLUG }} # e.g. Home-Network/home-network-k3s (set in Gitea)
|
|
|
|
|
path: ../home-network-k3s
|
|
|
|
@@ -74,7 +74,7 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: [spec-immutability]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with: { fetch-depth: 0 } # full history so touched-requirement diff works
|
|
|
|
|
- name: Install pinned tools
|
|
|
|
|
run: ./.gitea/workflows/scripts/install-tools.sh lint
|
|
|
|
@@ -85,7 +85,7 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: [lint]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with: { fetch-depth: 0 }
|
|
|
|
|
- name: Install pinned tools
|
|
|
|
|
run: ./.gitea/workflows/scripts/install-tools.sh l0
|
|
|
|
@@ -96,7 +96,7 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: [l0]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with: { fetch-depth: 0 }
|
|
|
|
|
- name: Install pinned tools
|
|
|
|
|
run: ./.gitea/workflows/scripts/install-tools.sh l1
|
|
|
|
@@ -107,7 +107,7 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: [render-golden]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with: { fetch-depth: 0 }
|
|
|
|
|
- name: Install pinned tools
|
|
|
|
|
run: ./.gitea/workflows/scripts/install-tools.sh l1
|
|
|
|
@@ -115,7 +115,7 @@ jobs:
|
|
|
|
|
run: make -C ci l1
|
|
|
|
|
- name: Upload L1 artifacts
|
|
|
|
|
if: always()
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
|
|
|
with:
|
|
|
|
|
name: l1-junit-coverage
|
|
|
|
|
path: |
|
|
|
|
@@ -131,7 +131,7 @@ jobs:
|
|
|
|
|
needs: [l1]
|
|
|
|
|
if: ${{ vars.CLUSTER_AVAILABLE == 'true' }}
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
with: { fetch-depth: 0 }
|
|
|
|
|
- name: Install pinned tools
|
|
|
|
|
run: ./.gitea/workflows/scripts/install-tools.sh conformance
|
|
|
|
@@ -142,7 +142,7 @@ jobs:
|
|
|
|
|
run: make -C ci conformance
|
|
|
|
|
- name: Upload L2/L3 artifacts
|
|
|
|
|
if: always()
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
|
|
|
with:
|
|
|
|
|
name: conformance-junit-coverage
|
|
|
|
|
path: |
|
|
|
|
@@ -160,7 +160,7 @@ jobs:
|
|
|
|
|
needs: [lint, l0, render-golden, l1, conformance]
|
|
|
|
|
if: always()
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
|
|
|
|
- name: Decide
|
|
|
|
|
env:
|
|
|
|
|
R_LINT: ${{ needs.lint.result }}
|
|
|
|
|