Skip to content

Commit

Permalink
Add x-pack
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 17, 2021
1 parent ad9b8a5 commit 466810b
Show file tree
Hide file tree
Showing 6 changed files with 156 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-auditbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-auditbeat

on:
pull_request:
paths:
- 'x-pack/auditbeat/**'
- '.github/workflows/macos-xpack-auditbeat.yml'

env:
BEAT_MODULE: 'x-pack/auditbeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-filebeat

on:
pull_request:
paths:
- 'x-pack/filebeat/**'
- '.github/workflows/macos-xpack-filebeat.yml'

env:
BEAT_MODULE: 'x-pack/filebeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-functionbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-functionbeat

on:
pull_request:
paths:
- 'x-pack/functionbeat/**'
- '.github/workflows/macos-xpack-functionbeat.yml'

env:
BEAT_MODULE: 'x-pack/functionbeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-heartbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-heartbeat

on:
pull_request:
paths:
- 'x-pack/heartbeat/**'
- '.github/workflows/macos-xpack-heartbeat.yml'

env:
BEAT_MODULE: 'x-pack/heartbeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-osquerybeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-heartbeat

on:
pull_request:
paths:
- 'x-pack/heartbeat/**'
- '.github/workflows/macos-xpack-heartbeat.yml'

env:
BEAT_MODULE: 'x-pack/heartbeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest
26 changes: 26 additions & 0 deletions .github/workflows/macos-xpack-packetbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: x-pack-metricbeat

on:
pull_request:
paths:
- 'x-pack/metricbeat/**'
- '.github/workflows/macos-xpack-metricbeat.yml'

env:
BEAT_MODULE: 'x-pack/metricbeat'

jobs:
macos:
runs-on: macos-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.2'
- name: Install dependencies
run: go get -u github.com/magefile/mage
- uses: actions/checkout@v2
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
run: cd ${{ env.BEAT_MODULE }} && mage unitTest

0 comments on commit 466810b

Please sign in to comment.