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

ci: packaging pipeline for the snapshots #248

Closed
wants to merge 11 commits into from

Conversation

v1v
Copy link
Member

@v1v v1v commented Mar 24, 2022

🚧 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
"$IMAGE" \
cli collect \
--project elastic-agent \
--branch "main" \
Copy link
Member Author

Choose a reason for hiding this comment

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

TBR

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 24, 2022

💚 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!)

REPO = 'elastic-agent'
BASE_DIR = "src/github.com/elastic/${env.REPO}"
SLACK_CHANNEL = '#elastic-agent'
NOTIFY_TO = 'package+beats-contrib@elastic.co'
Copy link
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
Copy link
Contributor

mergify bot commented Jun 16, 2022

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
Copy link
Contributor

mergify bot commented Sep 26, 2022

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

.ci/Jenkinsfile Outdated Show resolved Hide resolved
@elasticmachine
Copy link
Contributor

elasticmachine commented Sep 26, 2022

🌐 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
Copy link
Contributor

mergify bot commented Apr 13, 2023

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