diff --git a/.github/workflows/macos-auditbeat.yml b/.github/workflows/macos-auditbeat.yml deleted file mode 100644 index 39c97c8b719..00000000000 --- a/.github/workflows/macos-auditbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: auditbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-auditbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'auditbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-filebeat.yml b/.github/workflows/macos-filebeat.yml deleted file mode 100644 index 513b87be316..00000000000 --- a/.github/workflows/macos-filebeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: filebeat - -on: - pull_request: - paths: - - '.github/workflows/macos-filebeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'filebeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-heartbeat.yml b/.github/workflows/macos-heartbeat.yml deleted file mode 100644 index b707e9c7d42..00000000000 --- a/.github/workflows/macos-heartbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: heartbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-heartbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'heartbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-metricbeat.yml b/.github/workflows/macos-metricbeat.yml deleted file mode 100644 index 0f37cfb937b..00000000000 --- a/.github/workflows/macos-metricbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: metricbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-metricbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'metricbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && echo "See https://github.com/elastic/beats/issues/29038" - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-packetbeat.yml b/.github/workflows/macos-packetbeat.yml deleted file mode 100644 index bebbc5eed90..00000000000 --- a/.github/workflows/macos-packetbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: packetbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-packetbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'packetbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-auditbeat.yml b/.github/workflows/macos-xpack-auditbeat.yml deleted file mode 100644 index e0484908a9e..00000000000 --- a/.github/workflows/macos-xpack-auditbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-auditbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-auditbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/auditbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-filebeat.yml b/.github/workflows/macos-xpack-filebeat.yml deleted file mode 100644 index 93950c24b57..00000000000 --- a/.github/workflows/macos-xpack-filebeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-filebeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-filebeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/filebeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-functionbeat.yml b/.github/workflows/macos-xpack-functionbeat.yml deleted file mode 100644 index 430d8834bb4..00000000000 --- a/.github/workflows/macos-xpack-functionbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-functionbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-functionbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/functionbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-heartbeat.yml b/.github/workflows/macos-xpack-heartbeat.yml deleted file mode 100644 index 9c4995ce20d..00000000000 --- a/.github/workflows/macos-xpack-heartbeat.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: x-pack-heartbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-heartbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/heartbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: | - go install github.com/magefile/mage - cd ${{ env.BEAT_MODULE }} && npm install -g @elastic/synthetics - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-metricbeat.yml b/.github/workflows/macos-xpack-metricbeat.yml deleted file mode 100644 index 2d2531cd286..00000000000 --- a/.github/workflows/macos-xpack-metricbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-metricbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-metricbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/metricbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-osquerybeat.yml b/.github/workflows/macos-xpack-osquerybeat.yml deleted file mode 100644 index 7678df4b2f2..00000000000 --- a/.github/workflows/macos-xpack-osquerybeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-osquerybeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-osquerybeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/osquerybeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos-xpack-packetbeat.yml b/.github/workflows/macos-xpack-packetbeat.yml deleted file mode 100644 index 8167486eb0c..00000000000 --- a/.github/workflows/macos-xpack-packetbeat.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: x-pack-packetbeat - -on: - pull_request: - paths: - - '.github/workflows/macos-xpack-packetbeat.yml' - push: - branches: - - main - - 7.1* - - 8.* - -env: - BEAT_MODULE: 'x-pack/packetbeat' - -permissions: - contents: read - -jobs: - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v3 - with: - go-version-file: .go-version - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies - run: go install github.com/magefile/mage - - name: Run build - run: cd ${{ env.BEAT_MODULE }} && mage build - - name: Run test - run: cd ${{ env.BEAT_MODULE }} && mage unitTest - - uses: v1v/otel-upload-test-artifact-action@v2 - if: always() - continue-on-error: true - with: - jobName: "macos" - stepName: "Run test" - path: "${{ env.BEAT_MODULE }}/build/TEST*.xml" - type: "junit" - githubToken: ${{ secrets.GITHUB_TOKEN }}