Skip to content

ci: packaging pipeline for the snapshots - #248

Closed
v1v wants to merge 11 commits into
elastic:mainfrom
v1v:feature/packaging-dra
Closed

v1v wants to merge 11 commits into
elastic:mainfrom
v1v:feature/packaging-dra

Conversation

@v1v

@v1v v1v commented Mar 24, 2022 •

Copy link
Copy Markdown
Member

🚧 phase 2

What is the problem this PR solves?

Enable the Daily Release Artifacts for the Elastic Agent project (Snapshots only)

If something bad happens then it sends an email/slack to:

  • #elastic-agent
  • package+beats-contrib@...

How does this PR solve the problem?

A specific pipeline in charge of publishing the snapshots on a merge-commit only

Related issues

Requires #247

Revisit the e2e-testing gate keeper if #695 is merged (cc @cmacknz )

Follow ups

Support BCs (to be done later on)

@v1v v1v self-assigned this Mar 24, 2022
Comment thread .ci/scripts/release-manager.sh Outdated
"$IMAGE" \
cli collect \
--project elastic-agent \
--branch "main" \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBR

@elasticmachine

elasticmachine commented Mar 24, 2022 •

Copy link
Copy Markdown
Contributor

💚 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

  • Start Time: 2022-11-07T15:59:16.586+0000

  • Duration: 60 min 4 sec

Test stats 🧪

Test Results
Failed 0
Passed 10017
Skipped 35
Total 10052

💚 Flaky test report

Tests succeeded.

🤖 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.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

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

Comment thread .ci/packaging.groovy Outdated
REPO = 'elastic-agent'
BASE_DIR = "src/github.com/elastic/${env.REPO}"
SLACK_CHANNEL = '#elastic-agent'
NOTIFY_TO = 'package+beats-contrib@elastic.co'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NOTIFY_TO = 'package+beats-contrib@elastic.co'
NOTIFY_TO = 'beats-contrib+build-package@elastic.co'

@mergify

mergify Bot commented Jun 16, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b feature/packaging-dra upstream/feature/packaging-dra
git merge upstream/main
git push upstream feature/packaging-dra

1 similar comment
@mergify

mergify Bot commented Sep 26, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b feature/packaging-dra upstream/feature/packaging-dra
git merge upstream/main
git push upstream feature/packaging-dra

Comment thread .ci/Jenkinsfile Resolved
@elasticmachine

elasticmachine commented Sep 26, 2022 •

Copy link
Copy Markdown
Contributor

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 97.297% (72/74) 👍
Files 69.13% (159/230) 👍
Classes 69.231% (315/455) 👍
Methods 53.254% (892/1675) 👍
Lines 39.307% (9635/24512) 👎 -0.041
Conditionals 100.0% (0/0) 💚

v1v added 5 commits November 7, 2022 15:36
* upstream/main: (63 commits)
  [Automation] Update elastic stack version to 8.6.0-f20b7179 for testing (elastic#1692)
  Remove non-agent Dockerfile templates. (elastic#1539)
  [Automation] Update elastic stack version to 8.6.0-3f5f98b7 for testing (elastic#1685)
  [Automation] Update elastic stack version to 8.6.0-8a615646 for testing (elastic#1682)
  Disable creating GH issues for build failures. (elastic#1677)
  [Automation] Update elastic stack version to 8.6.0-4765d2b0 for testing (elastic#1674)
  Generate the consolidated 8.5.0 changelog. (elastic#1642) (elastic#1670)
  [Automation] Update elastic stack version to 8.6.0-26dc1164 for testing (elastic#1660)
  Update node version to 18.12.0 on complete image (elastic#1657)
  [Automation] Update elastic stack version to 8.6.0-949a38d2 for testing (elastic#1647)
  [Automation] Add GH action to add issues to ingest board (elastic#1629)
  [Automation] Update elastic stack version to 8.6.0-89d224d2 for testing (elastic#1633)
  Improve shutdown logs (elastic#1618)
  [Automation] Update elastic stack version to 8.6.0-a892f234 for testing (elastic#1621)
  Create stale config (elastic#1607)
  [Automation] Update elastic stack version to 8.6.0-b8b35931 for testing (elastic#1602)
  Fix: Windows Agent Left Unhealthy After Removing Endpoint Integration (elastic#1286)
  [automation] Publish kubernetes templates for elastic-agent (elastic#1594)
  [Automation] Update elastic stack version to 8.6.0-22d60ec9 for testing (elastic#1587)
  [Automation] Update elastic stack version to 8.6.0-baf193e8 for testing (elastic#1579)
  ...
…endencies

to be honoured by the build system
@mergify

mergify Bot commented Apr 13, 2023

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b feature/packaging-dra upstream/feature/packaging-dra
git merge upstream/main
git push upstream feature/packaging-dra

@v1v v1v closed this Apr 20, 2023
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.

2 participants