Skip to content

Migrate CI from Travis to GitHub Actions (main branch)#180

Draft
donoghuc with Copilot wants to merge 3 commits into
mainfrom
copilot/migrate-ci-from-travis-to-github-actions
Draft

Migrate CI from Travis to GitHub Actions (main branch)#180
donoghuc with Copilot wants to merge 3 commits into
mainfrom
copilot/migrate-ci-from-travis-to-github-actions

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown

This PR migrates CI on main from Travis to GitHub Actions using the shared logstash-plugins/.ci@1.x reusable workflows, preserving the effective Travis test surface. It replaces Travis-specific wiring, updates status signaling in README, and retires Travis config from the branch.

  • Travis matrix parity (resolved imports)

    • Resolved .travis.yml import chain (travis.ymldefaults.yml + matrix.yml + exec.yml) and mapped the effective matrix to GHA.
    • Effective Travis test type on this plugin was unit tests only (no INTEGRATION=true, no SECURE_INTEGRATION=true; performance gated by HAS_PERFORMANCE_TESTS=1 and not enabled here).
    • Result: added only the unit-test workflow caller.
  • Workflow changes

    • Added: .github/workflows/unit-tests.yml
    • Calls: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
    • Includes required trigger/model shape:
      • push + pull_request on main
      • schedule with branch fan-out matrix ([main]) using ref: ${{ matrix.branch }}
      • workflow_dispatch
    • Includes secrets: inherit on both caller jobs.
    • Adds explicit least-privilege token permissions:
      • permissions: { contents: read }
  • README badge migration

    • Replaced Travis badge with GitHub Actions Unit Tests badge pinned to ?branch=main.
  • Travis retirement

    • Deleted .travis.yml.
jobs:
  tests:
    if: github.event_name != 'schedule'
    uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
    secrets: inherit
    with:
      timeout-minutes: 60

  scheduled:
    if: github.event_name == 'schedule'
    strategy:
      matrix:
        branch: [main]
    uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
    secrets: inherit
    with:
      ref: ${{ matrix.branch }}
      timeout-minutes: 60

Copilot AI changed the title [WIP] Migrate CI from Travis to GitHub Actions Migrate CI from Travis to GitHub Actions (main branch) Jul 6, 2026
Copilot AI requested a review from donoghuc July 6, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate CI from Travis to GitHub Actions (main branch)

2 participants