Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CI: add GitHub actions for macos (push based) #29032

Merged
merged 24 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/macos-auditbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: auditbeat

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

env:
BEAT_MODULE: '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-filebeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: filebeat

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

env:
BEAT_MODULE: '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-heartbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: heartbeat

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

env:
BEAT_MODULE: '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-metricbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: metricbeat

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

env:
BEAT_MODULE: '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
26 changes: 26 additions & 0 deletions .github/workflows/macos-packetbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: packetbeat

on:
pull_request:
paths:
- 'packetbeat/**'
- '.github/workflows/macos-packetbeat.yml'

env:
BEAT_MODULE: 'packetbeat'

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-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-metricbeat.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
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
Empty file added metricbeat/test.tmp
Empty file.