-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single pipeline entrypoint #38783
Single pipeline entrypoint #38783
Conversation
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
/test |
The triggered pipeline by the comment |
@@ -65,6 +65,7 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "beats" || "$BUILDKITE_PIPELINE_SLUG" == "fi | |||
fi | |||
|
|||
ENABLED_BEATS_PIPELINES_SLUGS=( | |||
"beats" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need any of those env vars or secrets since the job triggers the other pipelines? (ie delete this line)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment from me, let's remove this because it's not useful in anyway for the execution of the mainpipeline, via the monorepo plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the pre-exit
hook. It uses util.sh
and it needs BIN
var
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically LGTM -- once we've addressed the comment about the unnecessary change in pre-command
let's ship this.
@@ -65,6 +65,7 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "beats" || "$BUILDKITE_PIPELINE_SLUG" == "fi | |||
fi | |||
|
|||
ENABLED_BEATS_PIPELINES_SLUGS=( | |||
"beats" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment from me, let's remove this because it's not useful in anyway for the execution of the mainpipeline, via the monorepo plugin.
@pazone note that for backports we should only backport to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but needs further improvement that can happen in follow up work
* Single pipeline entrypoint * Fix indentations * Notifications (cherry picked from commit d0a3b45) # Conflicts: # .buildkite/auditbeat/auditbeat-pipeline.yml # .buildkite/heartbeat/heartbeat-pipeline.yml # .buildkite/pipeline.yml # .buildkite/scripts/common.sh
* Single pipeline entrypoint * Fix indentations * Notifications (cherry picked from commit d0a3b45) # Conflicts: # .buildkite/heartbeat/heartbeat-pipeline.yml # .buildkite/pipeline.yml # .buildkite/scripts/generate_auditbeat_pipeline.sh
* This commit refactors the x-pack/osquerybeat pipeline to the pipeline selector approach, as laid out in #38783. Relates: elastic/ingest-dev#3072 * remove pull-requests.json entry * fix typo in pipeline name * fix copy/pasta for aws label from metricbeat --------- Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co> Co-authored-by: Julien Lind <julien.lind@elastic.co>
* This commit refactors the x-pack/osquerybeat pipeline to the pipeline selector approach, as laid out in #38783. Relates: https://github.com/elastic/ingest-dev/issues/3072 * remove pull-requests.json entry * fix typo in pipeline name * fix copy/pasta for aws label from metricbeat --------- Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co> Co-authored-by: Julien Lind <julien.lind@elastic.co> (cherry picked from commit 6e3be8b)
* This commit refactors the x-pack/osquerybeat pipeline to the pipeline selector approach, as laid out in #38783. Relates: https://github.com/elastic/ingest-dev/issues/3072 * remove pull-requests.json entry * fix typo in pipeline name * fix copy/pasta for aws label from metricbeat --------- Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co> Co-authored-by: Julien Lind <julien.lind@elastic.co> (cherry picked from commit 6e3be8b) # Conflicts: # .buildkite/x-pack/pipeline.xpack.osquerybeat.yml
This commit refactors the x-pack/osquerybeat pipeline to the pipeline selector approach, as laid out in #38783. Relates: https://github.com/elastic/ingest-dev/issues/3072 --------- (cherry picked from commit 6e3be8b)
…#38974) This commit refactors the x-pack/osquerybeat pipeline to the pipeline selector approach, as laid out in #38783. Relates: https://github.com/elastic/ingest-dev/issues/3072 (cherry picked from commit 6e3be8b)
elastic#38821) After the introduction of a centralized beats pipeline and statically defined changeset rules in elastic#38783, we still need a way to grab changes for modules for IT tests. Currently this is done in common.sh#defineModuleFromTheChangeSet(). This commit adds a new script that has only the changeset related functionality, required to build the `MODULE` env var. The functions themselves, are copied from common.sh (with minor enhancements in documentation), paving the way to sunset common.sh in the future. Relates: elastic/ingest-dev#3072 (cherry picked from commit d0dda41) Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
) * Single pipeline entrypoint (elastic#38783) * Single pipeline entrypoint * Fix indentations * Notifications (cherry picked from commit d0a3b45) # Conflicts: # .buildkite/auditbeat/auditbeat-pipeline.yml # .buildkite/heartbeat/heartbeat-pipeline.yml # .buildkite/pipeline.yml # .buildkite/scripts/common.sh * Resolved conflicts --------- Co-authored-by: Pavel Zorin <pavel.zorin@elastic.co>
…eat (elastic#38858) This commit refactors the metricbeat pipeline to the pipeline selector approach as laid out in elastic#38783 Relates: elastic/ingest-dev#3072 (comment) (cherry picked from commit 60b3774) Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
…metricbeat (elastic#38931) This commit refactors the x-pack/metricbeat pipeline to the pipeline selector approach, as laid out in elastic#38783 Relates: elastic/ingest-dev#3072 (cherry picked from commit 4f4fad6)
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in elastic#38783.
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates elastic/ingest-dev#3072
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates https://github.com/elastic/ingest-dev/issues/3072 (cherry picked from commit 8f8f313) # Conflicts: # .buildkite/packetbeat/pipeline.packetbeat.yml # .buildkite/pipeline.yml # .buildkite/scripts/common.sh
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates https://github.com/elastic/ingest-dev/issues/3072 (cherry picked from commit 8f8f313) # Conflicts: # .buildkite/pipeline.yml # .buildkite/scripts/common.sh
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates https://github.com/elastic/ingest-dev/issues/3072 (cherry picked from commit 8f8f313) # Conflicts: # .buildkite/pipeline.yml # .buildkite/scripts/common.sh
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in elastic#38783. Relates elastic/ingest-dev#3072
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in elastic#38783. Relates elastic/ingest-dev#3072
This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in elastic#38783. Relates elastic/ingest-dev#3072
…ne (#39108) This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates elastic/ingest-dev#3072 Cherry-picked from 8f8f313
…ne (#39109) This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates elastic/ingest-dev#3072 Cherry-picked from 8f8f313
…ne (#39110) This commit refactors the packetbeat pipeline to the pipeline selector approach as laid out in #38783. Relates elastic/ingest-dev#3072 Cherry-picked from 8f8f313
Proposed commit message
A single pipeline entry point that triggers other pipelines according to the changeset.
The Main pipeline triggers corresponding pipelines: Auditbeat and Heartbeat.
the statuses are reported back to GH (Simply
auditbeat
andheartbeat
) :Labels and other critical env vars are passed to the trigger step
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs