Skip to content

Commit

Permalink
Merge pull request #261 from chengxiangdong/workflow
Browse files Browse the repository at this point in the history
fix: remove e2e test on self-runner
  • Loading branch information
k8s-ci-robot authored Jan 2, 2025
2 parents 6b19c91 + 7e230a2 commit 8e7d341
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,3 @@ jobs:
go-version: '>=1.22'
- name: make test
run: make test
e2e:
# This job does not run on forked repositories because there is no self-runner.
if: ${{ github.repository == 'kubernetes-sigs/cloud-provider-huaweicloud' }}
name: e2e test
needs: build
runs-on: self-hosted
strategy:
max-parallel: 1
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: '>=1.22'
- name: run e2e
run: |
export ARTIFACTS_PATH=${{ github.workspace }}/e2e-logs
./hack/run-e2e.sh
- name: upload logs
if: always()
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: e2e_log
path: ${{ github.workspace }}/e2e-logs/

0 comments on commit 8e7d341

Please sign in to comment.