未验证 提交 9b6c0d1b 编写于 作者: K kezhenxu94 提交者: GitHub

chore: for scheduled tasks, only run on main repo not fork repos (#7121)

上级 efcb396f
...@@ -31,6 +31,7 @@ concurrency: ...@@ -31,6 +31,7 @@ concurrency:
jobs: jobs:
CI: CI:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
steps: steps:
...@@ -69,6 +70,7 @@ jobs: ...@@ -69,6 +70,7 @@ jobs:
run: tools/dependencies/check-LICENSE.sh run: tools/dependencies/check-LICENSE.sh
CI-on-JDK11: CI-on-JDK11:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
steps: steps:
...@@ -97,6 +99,7 @@ jobs: ...@@ -97,6 +99,7 @@ jobs:
run: ./mvnw --batch-mode -P"agent,backend,ui,dist" clean verify install run: ./mvnw --batch-mode -P"agent,backend,ui,dist" clean verify install
CI-on-Windows: CI-on-Windows:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: windows-latest runs-on: windows-latest
timeout-minutes: 90 timeout-minutes: 90
steps: steps:
...@@ -116,6 +119,7 @@ jobs: ...@@ -116,6 +119,7 @@ jobs:
CI-on-MacOS: CI-on-MacOS:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: macos-latest runs-on: macos-latest
timeout-minutes: 90 timeout-minutes: 90
steps: steps:
......
...@@ -30,6 +30,7 @@ concurrency: ...@@ -30,6 +30,7 @@ concurrency:
jobs: jobs:
analyze: analyze:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Analyze name: Analyze
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -34,6 +34,7 @@ env: ...@@ -34,6 +34,7 @@ env:
LOG_DIR: /tmp/skywalking LOG_DIR: /tmp/skywalking
jobs: jobs:
build: build:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
strategy: strategy:
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
Alarm: Alarm:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Alarm name: Alarm
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
......
...@@ -30,6 +30,7 @@ concurrency: ...@@ -30,6 +30,7 @@ concurrency:
jobs: jobs:
CoordinatorsStorage: CoordinatorsStorage:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Coordinators & Storage name: Coordinators & Storage
timeout-minutes: 90 timeout-minutes: 90
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -61,6 +62,7 @@ jobs: ...@@ -61,6 +62,7 @@ jobs:
test_class: org.apache.skywalking.e2e.ClusterE2E test_class: org.apache.skywalking.e2e.ClusterE2E
Cluster: Cluster:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
needs: [CoordinatorsStorage] needs: [CoordinatorsStorage]
......
...@@ -27,6 +27,7 @@ concurrency: ...@@ -27,6 +27,7 @@ concurrency:
jobs: jobs:
Compatibility: Compatibility:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Compatibility name: Compatibility
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
......
...@@ -33,6 +33,7 @@ env: ...@@ -33,6 +33,7 @@ env:
jobs: jobs:
Event: Event:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Event name: Event
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
GOAgent: GOAgent:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: GO2SKY name: GO2SKY
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -37,6 +37,7 @@ concurrency: ...@@ -37,6 +37,7 @@ concurrency:
jobs: jobs:
als: als:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
strategy: strategy:
...@@ -175,6 +176,7 @@ jobs: ...@@ -175,6 +176,7 @@ jobs:
run: minikube delete run: minikube delete
metrics-service: metrics-service:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
name: Istio(${{ matrix.istio_version }})+MetricsService name: Istio(${{ matrix.istio_version }})+MetricsService
......
...@@ -27,6 +27,7 @@ concurrency: ...@@ -27,6 +27,7 @@ concurrency:
jobs: jobs:
JavaVersions: JavaVersions:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Agent Java Versions name: Agent Java Versions
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
...@@ -64,6 +65,7 @@ jobs: ...@@ -64,6 +65,7 @@ jobs:
test_class: org.apache.skywalking.e2e.simple.SimpleE2E test_class: org.apache.skywalking.e2e.simple.SimpleE2E
Single: Single:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
needs: [JavaVersions] needs: [JavaVersions]
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
JavaScriptClient: JavaScriptClient:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Java Script Client name: Java Script Client
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
...@@ -60,6 +61,7 @@ jobs: ...@@ -60,6 +61,7 @@ jobs:
with: with:
test_class: org.apache.skywalking.e2e.browser.BrowserE2E test_class: org.apache.skywalking.e2e.browser.BrowserE2E
JavaScriptClientWithRealAgent: JavaScriptClientWithRealAgent:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Java Script Client With Real Agent name: Java Script Client With Real Agent
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
......
...@@ -34,6 +34,7 @@ concurrency: ...@@ -34,6 +34,7 @@ concurrency:
jobs: jobs:
Kafka: Kafka:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Kafka (${{ matrix.case.name }}) name: Kafka (${{ matrix.case.name }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
Log: Log:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Log name: Log
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
NodeJSAgent: NodeJSAgent:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: NodeJSAgent name: NodeJSAgent
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
......
...@@ -30,6 +30,7 @@ concurrency: ...@@ -30,6 +30,7 @@ concurrency:
jobs: jobs:
PHPAgent: PHPAgent:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: PHP name: PHP
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
Profiling: Profiling:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Profiling name: Profiling
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
PythonAgent: PythonAgent:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: PythonAgent name: PythonAgent
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
SelfObservability: SelfObservability:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: SelfObservability name: SelfObservability
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -30,6 +30,7 @@ concurrency: ...@@ -30,6 +30,7 @@ concurrency:
jobs: jobs:
StoragePlugins: StoragePlugins:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Storage name: Storage
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
...@@ -60,6 +61,7 @@ jobs: ...@@ -60,6 +61,7 @@ jobs:
test_class: org.apache.skywalking.e2e.storage.StorageE2E test_class: org.apache.skywalking.e2e.storage.StorageE2E
Storage: Storage:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
needs: [StoragePlugins] needs: [StoragePlugins]
......
...@@ -33,6 +33,7 @@ concurrency: ...@@ -33,6 +33,7 @@ concurrency:
jobs: jobs:
TTL: TTL:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Storage TTL name: Storage TTL
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
...@@ -34,6 +34,7 @@ concurrency: ...@@ -34,6 +34,7 @@ concurrency:
jobs: jobs:
FeatureGroup01: FeatureGroup01:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: Feature name: Feature
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
...@@ -63,6 +64,7 @@ jobs: ...@@ -63,6 +64,7 @@ jobs:
test_class: org.apache.skywalking.e2e.simple.SimpleE2E test_class: org.apache.skywalking.e2e.simple.SimpleE2E
FeatureGroup02: FeatureGroup02:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking') || (github.event_name != 'schedule')
name: ${{ matrix.case.name }} name: ${{ matrix.case.name }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 90 timeout-minutes: 90
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册