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

Move back merged coverage report to build folder #5799

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

alexsapran
Copy link
Contributor

What does this PR do?

Restore the file location of the coverage report file back to /build folder.

Why is it important?

A recent commit change the generate coverage report file location and moved it from the /build to the root of the repo. This had a side effect on the Sonar scanning step that expected the file to be on the /build folder

Closes: https://github.com/elastic/ingest-dev/issues/4258

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: elastic/ingest-dev#4258
Signed-off-by: Alexandros Sapranidis <[email protected]>
Copy link
Contributor

mergify bot commented Oct 16, 2024

This pull request does not have a backport label. Could you fix it @alexsapran? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

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

Copy link
Contributor

mergify bot commented Oct 16, 2024

backport-v8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label and remove the backport-8.x label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Oct 16, 2024
@alexsapran alexsapran added backport-skip skip-changelog and removed backport-8.x Automated backport to the 8.x branch with mergify labels Oct 16, 2024
Signed-off-by: Alexandros Sapranidis <[email protected]>
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@alexsapran
Copy link
Contributor Author

See the build https://buildkite.com/elastic/elastic-agent/builds/13168#01929440-74f7-45b6-a79f-4bc63daa3e09/108-225

INFO: Load coverage report from '/buildkite/builds/bk-agent-prod-k8s-1729066270056414271/elastic/elastic-agent/build/TEST-go-unit.cov'

It worked.

Copy link
Contributor

@rowlandgeoff rowlandgeoff left a comment

Choose a reason for hiding this comment

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

Thanks, Alex! Once this is merged, I'll reenable the Sonar required PR check and monitor other PRs for issues.

@alexsapran alexsapran merged commit fc05e0d into elastic:main Oct 16, 2024
14 checks passed
@alexsapran alexsapran deleted the ci/fix-sonar-coverage-report branch October 16, 2024 15:22
@rdner rdner added backport-8.x Automated backport to the 8.x branch with mergify and removed backport-skip labels Dec 13, 2024
mergify bot pushed a commit that referenced this pull request Dec 13, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)
rdner pushed a commit that referenced this pull request Dec 13, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)

Co-authored-by: Alexandros Sapranidis <[email protected]>
@pazone pazone added backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify labels Dec 13, 2024
mergify bot pushed a commit that referenced this pull request Dec 13, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)
mergify bot pushed a commit that referenced this pull request Dec 13, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)
ev1yehor pushed a commit that referenced this pull request Dec 17, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)

Co-authored-by: Alexandros Sapranidis <[email protected]>
ev1yehor added a commit that referenced this pull request Dec 17, 2024
* Move back merged coverage report to build folder

A recent commit change the generate coverage report file location and
moved it from the `/build` to the root of the repo. This had a side
effect on the Sonar scanning step that expected the file to be on the
`/build` folder

Closes: https://github.com/elastic/ingest-dev/issues/4258
Signed-off-by: Alexandros Sapranidis <[email protected]>

* Fix the sonar step

Signed-off-by: Alexandros Sapranidis <[email protected]>

---------

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fc05e0d)

Co-authored-by: Alexandros Sapranidis <[email protected]>
Co-authored-by: Yehor Shvedov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify ci skip-changelog Team:Ingest-EngProd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants