Skip to content
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

[8.13](backport #39126) Beats DRA pipeline #39198

Merged
merged 12 commits into from May 3, 2024
Merged

Commits on Apr 24, 2024

  1. Beats DRA pipeline (#39126)

    * Packaging pipieline resource
    
    * Revetred agentbeat pipeline deletion
    
    * Cleanup
    
    * Test auditbeat packaging pipeline
    
    * Fix steps keys
    
    * Fix steps keys
    
    * Fix env vars
    
    * Fix env vars
    
    * Fix env vars
    
    * Unified artifacts dir
    
    * Implemented DRA steps
    
    * Test filebeat
    
    * Test matrix
    
    * Aligned artifacts directories
    
    * Aligned artifacts directories
    
    * Aligned artifacts directories
    
    * Aligned artifacts directories
    
    * Debug
    
    * Debug
    
    * Package all beats
    
    * Test DRA snapshot
    
    * Test DRA snapshot
    
    * Rename artifacts
    
    * fix dashboards artifacts
    
    * Cleanup
    
    * cleanup
    
    * No need to install msi tools
    
    * Apply suggestions from code review
    
    Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
    
    * Extraced platforms variables
    
    * Cleanup
    
    * Added RUN_SNAPSHOT condition
    
    * Cleanup
    
    * Boolean dry-run
    
    * Boolean dry-run
    
    ---------
    
    Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
    (cherry picked from commit c6444db)
    
    # Conflicts:
    #	.buildkite/packaging.pipeline.yml
    pazone authored and mergify[bot] committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    a0d3f9f View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Removed agentbeat steps

    pazone committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    d066eaf View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Fixes for Buildkite packaging pipeline (#39207)

    This PR fixes a number of bugs from #39126
    dliappis authored and pazone committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    8616c4c View commit details
    Browse the repository at this point in the history
  2. Fix BK DRA pipeline (#39212)

    This commit fixes the error
    "interpolating remaining fields: Expected identifier to start with a letter, got /"
    dliappis authored and pazone committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    4d60a5f View commit details
    Browse the repository at this point in the history
  3. Fix permissions for packaging (#39218)

    This commit fixes the release-manager error
    
    > # > java.io.FileNotFoundException: /artifacts/build/distributions/... (Permission denied)
    
    by adjusting the permissions of parent directories.
    Additionally there are a few logging enhancements to improve debugging, as well as the introduction
    of a new optional `DRA_BRANCH` environment variable, to help running and debugging via PRs.
    
    Relates elastic/ingest-dev#3095
    
    ---------
    
    Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
    Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
    2 people authored and pazone committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    191d8b4 View commit details
    Browse the repository at this point in the history
  4. Added DEV flag to snapshot. prepare-release-manager.sh staging param (#…

    …39217)
    
    Added DEV flag to snapshot builds. Specified the workflow for prepare-release-manager.sh
    
    Relates: elastic/ingest-dev#3095
    pazone committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    4597106 View commit details
    Browse the repository at this point in the history
  5. merged

    pazone committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    c406c0e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    0e2e5c2 View commit details
    Browse the repository at this point in the history
  2. Ensure ordered DRA artifacts (#39270)

    As things are now we allow parallel builds on the
    packaging pipeline, which could result in out of order
    artifacts (depending on which one takes longer to finish).
    
    This commit implements two "queues" (snapshot/staging)
    to ensure ordered builds of DRA artifacts.
    
    Relates elastic/ingest-dev#3095
    dliappis authored and pazone committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    29a1372 View commit details
    Browse the repository at this point in the history
  3. Fix missing docker staging DRA artifacts (#39297)

    The DRA staging release is failing because the Buildkite step isn't capturing the right artifacts.
    This commit fixes the issue by adjusting the artifact_paths to match the other steps.
    dliappis authored and pazone committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0faac67 View commit details
    Browse the repository at this point in the history
  4. Fix the annotating for snapshot and staging (#39299)

    * Fix the annotating for snapshot and staging
    
    This commit adds the `--append` flag to the buildkite-annotate so that
    when it is called by the snapshot and staging steps, it will not overwrite
    the other annotation.
    
    Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
    alexsapran authored and pazone committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    9c618bf View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Branch specific concurrency gates (#39298)

    PR #39293 introduced one concurrency queue per staging/snapshot but
    this slows down unnecessarily concurrent DRA builds for main and other
    release branches.
    
    This commit makes the concurrency gates (additionally) specific per branch.
    dliappis committed May 2, 2024
    Configuration menu
    Copy the full SHA
    77c2571 View commit details
    Browse the repository at this point in the history