Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 23, 2025

This commit adds a GH action for bumping the logstash version. It uses the updatescli based on a suggestion for how the beats team is doing file updates. There is a workflow_dispatch trigger that accepts a new logstash version. Both the versions.yml and lock file are updated. If it is a branch where we are not vendoring a lockfile that file is skipped without failing the workflow step.

Implements https://github.com/elastic/ingest-dev/issues/5977


This is an automatic backport of pull request #18035 done by Mergify.

* GH action for updating logstash version

This commit adds a GH action for bumping the logstash version. It uses the
updatescli based on a suggestion for how the beats team is doing file updates.
There is a workflow_dispatch trigger that accepts a new logstash version. Both
the versions.yml and lock file are updated. If it is a branch where we are not
vendoring a lockfile that file is skipped without failing the workflow step.

* use stub workflow to test

* Separate step when modifying

* dont track temp updatecli file and install action

* restore stub

* Refactor updatecli workflow

use pattern suggested in code review

* Use test stub to validate changes

* fix inputs section

* fix branch

* dont fail if file is not present

* try with no global conditionals

* file condition

* name conditional

* split into separate pipeline files

* remove unused scmid

* no explicit pr action?

* add back PR

* try sources pattern

* explicitly connect target with scmid

* ensure lock file lookup executes from checkout

* Cleanup

* test

* restore LOGSTASH_BRANCH

* codereview feedback

(cherry picked from commit ad20032)
@elastic-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @donoghuc

@donoghuc donoghuc merged commit bc3d375 into 8.18 Sep 23, 2025
8 checks passed
@donoghuc donoghuc deleted the mergify/bp/8.18/pr-18035 branch September 23, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants