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

Fixes for packaging pipeline #39207

Merged
merged 9 commits into from
Apr 25, 2024

Conversation

dliappis
Copy link
Contributor

Proposed commit message

This PR fixes a number of bugs from #39126

@dliappis dliappis self-assigned this Apr 25, 2024
@dliappis dliappis requested a review from a team as a code owner April 25, 2024 09:38
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Apr 25, 2024
Copy link
Contributor

mergify bot commented Apr 25, 2024

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @dliappis? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v8./d.0 is the label to automatically backport to the 8./d branch. /d is the digit

@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 25, 2024

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Duration: 13 min 41 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@pazone
Copy link
Contributor

pazone commented Apr 25, 2024

Can we make the regex a bit more strict? ^\d{1,2}\.\d{1,2}$

@dliappis
Copy link
Contributor Author

Can we make the regex a bit more strict? ^\d{1,2}\.\d{1,2}$

Fixed in 8faf07f

@dliappis dliappis enabled auto-merge (squash) April 25, 2024 12:57
@pazone pazone self-requested a review April 25, 2024 12:58
@dliappis dliappis merged commit 9457f64 into elastic:main Apr 25, 2024
83 of 106 checks passed
pazone pushed a commit that referenced this pull request Apr 26, 2024
This PR fixes a number of bugs from #39126
pazone pushed a commit that referenced this pull request Apr 26, 2024
This PR fixes a number of bugs from #39126
pazone pushed a commit that referenced this pull request Apr 26, 2024
This PR fixes a number of bugs from #39126
pazone added a commit that referenced this pull request Apr 30, 2024
* 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

* Fixes for Buildkite packaging pipeline (#39207)

This PR fixes a number of bugs from #39126

* Fix BK DRA pipeline (#39212)

This commit fixes the error
"interpolating remaining fields: Expected identifier to start with a letter, got /"

* 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 https://github.com/elastic/ingest-dev/issues/3095

---------

Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>

* 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: https://github.com/elastic/ingest-dev/issues/3095

---------

Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Co-authored-by: Pavel Zorin <pavel.zorin@elastic.co>
Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants