File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : check-metricbeat
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' .github/workflows/check-metricbeat.yml'
7+ - ' metricbeat/**'
8+ - ' x-pack/metricbeat/**'
9+
10+ env :
11+ BEAT_MODULE : ' metricbeat'
12+
13+ jobs :
14+ check :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Fetch Go version from .go-version
19+ run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20+ - uses : actions/setup-go@v3
21+ with :
22+ go-version : ${{ env.GO_VERSION }}
23+ - name : Run check/update
24+ run : |
25+ go install github.com/magefile/mage
26+ make -C ${{ env.BEAT_MODULE }} check update
27+ make check-no-changes
Original file line number Diff line number Diff line change 1+ name : check-x-pack-metricbeat
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' .github/workflows/check-xpack-metricbeat.yml'
7+ - ' x-pack/metricbeat/**'
8+ - ' metricbeat/**'
9+
10+ env :
11+ BEAT_MODULE : ' x-pack/metricbeat'
12+
13+ jobs :
14+ check :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Fetch Go version from .go-version
19+ run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20+ - uses : actions/setup-go@v3
21+ with :
22+ go-version : ${{ env.GO_VERSION }}
23+ - name : Run check/update
24+ run : |
25+ go install github.com/magefile/mage
26+ make -C ${{ env.BEAT_MODULE }} check update
27+ make check-no-changes
Original file line number Diff line number Diff line change 66 - check-auditbeat
77 - check-dev-tools
88 - check-filebeat
9+ - check-metricbeat
910 - check-packetbeat
1011 - check-winlogbeat
1112 - check-x-pack-auditbeat
1213 - check-x-pack-filebeat
1314 - check-x-pack-functionbeat
15+ - check-x-pack-metricbeat
1416 - check-x-pack-osquerybeat
1517 - check-x-pack-packetbeat
1618 - check-x-pack-winlogbeat
Original file line number Diff line number Diff line change 1313 tags : true # # for all the tags
1414platform : " immutable && ubuntu-18" # # default label for all the stages
1515stages :
16- checks :
17- make : |
18- make -C metricbeat check;
19- make -C metricbeat update;
20- make -C x-pack/metricbeat check;
21- make -C x-pack/metricbeat update;
22- make check-no-changes;
23- stage : checks
2416 unitTest :
2517 mage : " mage build unitTest"
2618 stage : mandatory
Original file line number Diff line number Diff line change 1313 tags : true # # for all the tags
1414platform : " immutable && ubuntu-18" # # default label for all the stages
1515stages :
16- checks :
17- make : |
18- make -C x-pack/metricbeat check;
19- make -C x-pack/metricbeat update;
20- make -C metricbeat check;
21- make -C metricbeat update;
22- make check-no-changes;
23- stage : checks
2416 unitTest :
2517 mage : " mage build unitTest"
2618 stage : mandatory
You can’t perform that action at this time.
0 commit comments