Skip to content

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

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

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

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown

This PR migrates main from Travis to GitHub Actions with strict parity to the fully-resolved Travis config. The resolved Travis matrix runs unit coverage only, so this migration adds only the unit-test consumer workflow and retires Travis config.

  • CI migration (Travis parity)

    • Added .github/workflows/unit-tests.yml calling logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x.
    • Kept the required branch-aware trigger/schedule shape (push, pull_request, schedule, workflow_dispatch) with scheduled matrix fan-out across 6.x and main.
    • Added workflow token scoping:
      • permissions: contents: read
  • Status badge update

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

    • Deleted .travis.yml.
  • Resolved Travis → GHA mapping

    • import: logstash-plugins/.ci:travis/travis.yml@1.x (and imports) resolves to base test matrix without INTEGRATION=true, SECURE_INTEGRATION=true, or HAS_PERFORMANCE_TESTS=1.
    • Result: unit workflow added; integration/secure-integration/performance workflows intentionally not added.
jobs:
  tests:
    if: github.event_name != 'schedule'
    uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
  scheduled:
    if: github.event_name == 'schedule'
    strategy:
      matrix:
        branch: ['6.x', main]
    uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
    with:
      ref: ${{ matrix.branch }}

Copilot AI changed the title [WIP] Migrate CI from Travis to GitHub Actions for main branch Migrate CI from Travis to GitHub Actions (main branch) Jun 4, 2026
Copilot AI requested a review from donoghuc June 4, 2026 21:06
@donoghuc donoghuc closed this Jun 22, 2026
@donoghuc donoghuc deleted the copilot/migrate-ci-from-travis-to-github-actions-yet-again branch June 22, 2026 21:12
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