summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2022-11-30 12:04:17 +0800
committerGitHub <noreply@github.com>2022-11-30 12:04:17 +0800
commit8c349f074a687677d2adec80f1fe502585de39c9 (patch)
tree225ed3dcbbb72971df49101249b4363cc23b0fb0 /.github
parentMerge pull request #4448 from YTGhost/fix-ci-deprecated (diff)
parentpass checks when a PR that only changes the docs (diff)
downloadkubeedge-8c349f074a687677d2adec80f1fe502585de39c9.tar.gz
Merge pull request #4456 from gy95/master
pass checks when a PR that only changes the docs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cifuzz-doc.yaml22
-rw-r--r--.github/workflows/cifuzz.yml2
-rw-r--r--.github/workflows/fossa-doc.yaml21
-rw-r--r--.github/workflows/main-doc.yaml112
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"'
+