-
Notifications
You must be signed in to change notification settings - Fork 5k
actions: run check for x-pack/packetbeat and packebeat #32711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b1a9570
d3ac5be
f0671bc
bd925b1
51305cc
a315907
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: check-packetbeat | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - '.github/workflows/check-packetbeat.yml' | ||
| - 'packetbeat/**' | ||
| - 'x-pack/packetbeat/**' | ||
|
Comment on lines
+6
to
+8
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When changes in those files |
||
|
|
||
| env: | ||
| BEAT_MODULE: 'packetbeat' | ||
|
|
||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Fetch Go version from .go-version | ||
| run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | ||
| - uses: actions/setup-go@v2 | ||
| with: | ||
| go-version: ${{ env.GO_VERSION }} | ||
| - name: Install libpcap-dev | ||
| run: sudo apt-get install -y libpcap-dev | ||
| - name: Run check/update | ||
| run: | | ||
| export PATH=$PATH:$(go env GOPATH)/bin | ||
| go install github.com/magefile/mage@latest | ||
| make -C ${{ env.BEAT_MODULE }} check update | ||
| make check-no-changes | ||
rdner marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+27
to
+30
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then run |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: check-x-pack-packetbeat | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - '.github/workflows/check-xpack-packetbeat.yml' | ||
| - 'x-pack/packetbeat/**' | ||
| - 'packetbeat/**' | ||
|
Comment on lines
+6
to
+8
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When changes in these files |
||
|
|
||
| env: | ||
| BEAT_MODULE: 'x-pack/packetbeat' | ||
|
|
||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Fetch Go version from .go-version | ||
| run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | ||
| - uses: actions/setup-go@v2 | ||
| with: | ||
| go-version: ${{ env.GO_VERSION }} | ||
| - name: Install libpcap-dev | ||
| run: sudo apt-get install -y libpcap-dev | ||
| - name: Run check/update | ||
| uses: magefile/mage-action@v2 | ||
| with: | ||
| args: check update | ||
rdner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| workdir: "${{ env.BEAT_MODULE }}" | ||
Uh oh!
There was an error while loading. Please reload this page.