Skip to content

Commit

Permalink
[7.17](backport #32752) action: checks for x-pack/functionbeat (#32807)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Aug 25, 2022
1 parent a61acd3 commit 2dd91cc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check-xpack-functionbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: check-x-pack-functionbeat

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

env:
BEAT_MODULE: 'x-pack/functionbeat'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes
2 changes: 2 additions & 0 deletions .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: OpenTelemetry Export Trace
on:
workflow_run:
workflows:
- check-dev-tools
- check-x-pack-functionbeat
- check-x-pack-packetbeat
- check-dev-tools
- check-packetbeat
Expand Down
6 changes: 0 additions & 6 deletions x-pack/functionbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ when:
tags: true ## for all the tags
platform: "immutable && ubuntu-18" ## default label for all the stages
stages:
lint:
make: |
make -C x-pack/functionbeat check;
make -C x-pack/functionbeat update;
make check-no-changes;
stage: lint
arm:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
Expand Down

0 comments on commit 2dd91cc

Please sign in to comment.