Draft
Migrate CI from Travis to GitHub Actions (main branch)#15
Conversation
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)
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Targets
mainand migrates this plugin’s Travis-based CI to GitHub Actions with parity to the fully-resolved Travis matrix fromlogstash-plugins/.ci@1.x. The resolved config runs only the shared unit-test matrix onmain, so this change adds only the unit-test workflow and retires Travis configuration.CI migration
.github/workflows/unit-tests.ymlas the GHA consumer forlogstash-plugins/.ci/.github/workflows/unit-tests.yml@1.xmain:push,pull_request,schedule, andworkflow_dispatchsecrets: inheriton both callable jobs and explicitpermissions: contents: readTravis → GHA parity
ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack8.current,snapshot: falseELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack9.previous,snapshot: falseELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack9.current,snapshot: falseSNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack8.current,snapshot: trueSNAPSHOT=true ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack9.previous,snapshot: trueSNAPSHOT=true ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stack9.current,snapshot: trueSNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.envUnit Testsreusable workflow, stackmain,snapshot: trueINTEGRATION=trueentries in the resolved Travis configSECURE_INTEGRATION=trueentries in the resolved Travis configHAS_PERFORMANCE_TESTS=1absent).ci/assets or Travis-provided service/env reconciliation required in this repoRepository cleanup
README.mdwith the branch-scoped GitHub Actions unit-test badge.travis.ymlWorkflow added
.github/workflows/unit-tests.ymlExample