From 00c107637ee12c26bca3d67be96aebef7ec19ed4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:23:37 +0000 Subject: [PATCH 1/2] Initial plan From b8a6e2c942b61f3cacd61871dc8abdd671dbd064 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:25:50 +0000 Subject: [PATCH 2/2] Migrate CI from Travis to GitHub Actions (main branch) --- .github/workflows/unit-tests.yml | 35 ++++++++++++++++++++++++++++++++ .travis.yml | 2 -- README.md | 2 +- 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/unit-tests.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 00000000..4276fc20 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,35 @@ +name: Unit Tests + +on: + push: + branches: ['6.x', main] + pull_request: + branches: ['6.x', main] + schedule: + # Daily run that fans out across every active branch via the matrix + # job below. A `schedule:` trigger only fires from the workflow file + # on the default branch, so this block lives here and the matrix + # supplies the per-branch ref. + - cron: '0 8 * * *' + workflow_dispatch: + +jobs: + tests: + if: github.event_name != 'schedule' + uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/6.x' && github.ref != 'refs/heads/main' }} + with: + timeout-minutes: 60 + + scheduled: + if: github.event_name == 'schedule' + strategy: + fail-fast: false + matrix: + branch: ['6.x', 'main'] + uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x + with: + ref: ${{ matrix.branch }} + timeout-minutes: 60 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a50fc739..00000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -import: -- logstash-plugins/.ci:travis/travis.yml@1.x \ No newline at end of file diff --git a/README.md b/README.md index 6c74816b..bbb01124 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Logstash Plugin -[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-beats.svg)](https://travis-ci.com/logstash-plugins/logstash-input-beats) +[![Unit Tests](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml/badge.svg?branch=main)](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml) This is a plugin for [Logstash](https://github.com/elastic/logstash).