Skip to content

Commit 3b9887a

Browse files
committed
gha: combine coco jobs into a single yaml
So that we don't risk exceeding the GHA 20 rerefenced yaml files limit that easy. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
1 parent b60e0a9 commit 3b9887a

File tree

6 files changed

+178
-272
lines changed

6 files changed

+178
-272
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,6 @@ jobs:
113113
target-branch: ${{ inputs.target-branch }}
114114
secrets: inherit
115115

116-
run-kata-deploy-tests-on-tdx:
117-
needs: [publish-kata-deploy-payload-amd64, build-and-publish-tee-confidential-unencrypted-image]
118-
uses: ./.github/workflows/run-kata-deploy-tests-on-tdx.yaml
119-
with:
120-
registry: ghcr.io
121-
repo: ${{ github.repository_owner }}/kata-deploy-ci
122-
tag: ${{ inputs.tag }}-amd64
123-
commit-hash: ${{ inputs.commit-hash }}
124-
pr-number: ${{ inputs.pr-number }}
125-
target-branch: ${{ inputs.target-branch }}
126-
127116
run-kata-monitor-tests:
128117
needs: build-kata-static-tarball-amd64
129118
uses: ./.github/workflows/run-kata-monitor-tests.yaml
@@ -168,20 +157,9 @@ jobs:
168157
target-branch: ${{ inputs.target-branch }}
169158
secrets: inherit
170159

171-
run-k8s-tests-on-sev:
172-
needs: [publish-kata-deploy-payload-amd64, build-and-publish-tee-confidential-unencrypted-image]
173-
uses: ./.github/workflows/run-k8s-tests-on-sev.yaml
174-
with:
175-
registry: ghcr.io
176-
repo: ${{ github.repository_owner }}/kata-deploy-ci
177-
tag: ${{ inputs.tag }}-amd64
178-
commit-hash: ${{ inputs.commit-hash }}
179-
pr-number: ${{ inputs.pr-number }}
180-
target-branch: ${{ inputs.target-branch }}
181-
182-
run-k8s-tests-on-snp:
160+
run-kata-coco-tests:
183161
needs: [publish-kata-deploy-payload-amd64, build-and-publish-tee-confidential-unencrypted-image]
184-
uses: ./.github/workflows/run-k8s-tests-on-snp.yaml
162+
uses: ./.github/workflows/run-kata-coco-tests.yaml
185163
with:
186164
registry: ghcr.io
187165
repo: ${{ github.repository_owner }}/kata-deploy-ci

.github/workflows/run-k8s-tests-on-sev.yaml

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

.github/workflows/run-k8s-tests-on-snp.yaml

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

.github/workflows/run-k8s-tests-on-tdx.yaml

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

0 commit comments

Comments
 (0)