diff options
| author | gy95 <1015105054@qq.com> | 2022-11-29 17:27:18 +0800 |
|---|---|---|
| committer | gy95 <1015105054@qq.com> | 2022-11-30 11:05:53 +0800 |
| commit | 793ec5d9c97f4ad20c5381e4dc4d86115e3a91e3 (patch) | |
| tree | 388fad4202845ac5757c12529a74ce981a419702 /.github/workflows | |
| parent | Merge pull request #4425 from gy95/ginkgo (diff) | |
| download | kubeedge-793ec5d9c97f4ad20c5381e4dc4d86115e3a91e3.tar.gz | |
pass checks when a PR that only changes the docs
Signed-off-by: gy95 <1015105054@qq.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/cifuzz-doc.yaml | 22 | ||||
| -rw-r--r-- | .github/workflows/cifuzz.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/fossa-doc.yaml | 21 | ||||
| -rw-r--r-- | .github/workflows/main-doc.yaml | 112 |
4 files changed, 156 insertions, 1 deletions
diff --git a/.github/workflows/cifuzz-doc.yaml b/.github/workflows/cifuzz-doc.yaml new file mode 100644 index 000000000..a304f2e60 --- /dev/null +++ b/.github/workflows/cifuzz-doc.yaml @@ -0,0 +1,22 @@ +name: CIFuzz +on: + push: + branches: + - master + tags: + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' + pull_request: + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' +jobs: + Fuzzing: + runs-on: ubuntu-22.04 + steps: + - run: 'echo "only docs modified, no need to trigger CI"' diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 7b960d664..6d8e43fbb 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -17,7 +17,7 @@ on: - '**/MAINTAINERS' jobs: Fuzzing: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Build Fuzzers id: build diff --git a/.github/workflows/fossa-doc.yaml b/.github/workflows/fossa-doc.yaml new file mode 100644 index 000000000..098a9d578 --- /dev/null +++ b/.github/workflows/fossa-doc.yaml @@ -0,0 +1,21 @@ +name: FOSSA +on: + push: + branches: [master] + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' + pull_request: + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - run: 'echo "only docs modified, no need to trigger CI"' diff --git a/.github/workflows/main-doc.yaml b/.github/workflows/main-doc.yaml new file mode 100644 index 000000000..05244c9a7 --- /dev/null +++ b/.github/workflows/main-doc.yaml @@ -0,0 +1,112 @@ +name: Main CI WorkFlow + +on: + push: + branches: + - master + tags: + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' + pull_request: + paths: + - '**.md' + - 'docs/**' + - '**/OWNERS' + - '**/MAINTAINERS' + +jobs: + lint: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Verify vendor, licenses, do lint + env: + GOPATH: /home/runner/work/${{ github.repository }} + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.17.x + + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + path: ./src/github.com/${{ github.repository }} + + # For docs, we run `make lint` just for checking white noise. + - name: Run lint test + run: make lint + working-directory: ./src/github.com/${{ github.repository }} + + image-prepare: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Prepare kubeedge/build-tools image + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + + build: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Multiple build + needs: image-prepare + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + basic_test: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Unit test, integration test edge + env: + GO111MODULE: on + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + e2e_test: + runs-on: ubuntu-22.04 + strategy: + matrix: + PROTOCOL: + - WebSocket + - QUIC + timeout-minutes: 30 + name: E2e test + needs: image-prepare + env: + GO111MODULE: on + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + + + keadm_deprecated_e2e_test: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Keadm deprecated e2e test + needs: image-prepare + env: + GO111MODULE: on + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + keadm_e2e_test: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Keadm e2e test + env: + GO111MODULE: on + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + + + docker_build: + runs-on: ubuntu-22.04 + timeout-minutes: 30 + name: Multiple docker image build + steps: + - run: 'echo "only docs modified, no need to trigger CI"' + |
