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-heartbeat
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' .github/workflows/check-heartbeat.yml'
7+ - ' heartbeat/**'
8+ - ' x-pack/heartbeat/**'
9+
10+ env :
11+ BEAT_MODULE : ' heartbeat'
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-heartbeat
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' .github/workflows/check-xpack-heartbeat.yml'
7+ - ' x-pack/heartbeat/**'
8+ - ' heartbeat/**'
9+
10+ env :
11+ BEAT_MODULE : ' x-pack/heartbeat'
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-heartbeat
910 - check-metricbeat
1011 - check-packetbeat
1112 - check-winlogbeat
1213 - check-x-pack-auditbeat
1314 - check-x-pack-filebeat
1415 - check-x-pack-functionbeat
16+ - check-x-pack-heartbeat
1517 - check-x-pack-metricbeat
1618 - check-x-pack-osquerybeat
1719 - check-x-pack-packetbeat
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 heartbeat check;
19- make -C heartbeat update;
20- make -C x-pack/heartbeat check;
21- make -C x-pack/heartbeat update;
22- make check-no-changes;
23- stage : checks
2416 arm :
2517 mage : " mage build unitTest"
2618 platforms : # # override default label in this specific stage.
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/heartbeat check;
19- make -C x-pack/heartbeat update;
20- make -C heartbeat check;
21- make -C heartbeat update;
22- make check-no-changes;
23- stage : checks
2416 unitTest :
2517 mage : " mage build unitTest"
2618 withNodejs : true
You can’t perform that action at this time.
0 commit comments