Skip to content

feat(ci): migrate sonar analysis, nightly from Drone to GitHub Actions#297

Merged
Ashim-Stha merged 1 commit intomainfrom
sonarAnalysis
Apr 24, 2026
Merged

feat(ci): migrate sonar analysis, nightly from Drone to GitHub Actions#297
Ashim-Stha merged 1 commit intomainfrom
sonarAnalysis

Conversation

@Ashim-Stha
Copy link
Copy Markdown
Contributor

@Ashim-Stha Ashim-Stha commented Apr 15, 2026

Description

Migrates the following Drone CI pipelines to GitHub Actions:

  • sonarAnalysis
  • nightly

Related Issue

@Ashim-Stha Ashim-Stha self-assigned this Apr 15, 2026
@Ashim-Stha Ashim-Stha force-pushed the sonarAnalysis branch 3 times, most recently from 486d293 to 066aa4a Compare April 16, 2026 10:33
@Ashim-Stha Ashim-Stha force-pushed the sonarAnalysis branch 13 times, most recently from eb3fe2e to 6b6d394 Compare April 17, 2026 08:31
@Ashim-Stha Ashim-Stha mentioned this pull request Apr 17, 2026
8 tasks
@Ashim-Stha Ashim-Stha changed the title feat(ci): migrate sonar analysis from Drone to GitHub Actions feat(ci): migrate sonar analysis, nightly from Drone to GitHub Actions Apr 17, 2026
@Ashim-Stha Ashim-Stha force-pushed the sonarAnalysis branch 8 times, most recently from d848b33 to 69fb66c Compare April 20, 2026 10:10
@Ashim-Stha Ashim-Stha marked this pull request as ready for review April 20, 2026 10:17
Comment thread .github/workflows/ci.yml
runs-on: ubuntu-latest
needs: [php-unit-tests, php-integration-tests]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess the checkout is not needed ....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think the checkout is needed as it requires source code too and also the file sonar-project.properties

Copy link
Copy Markdown
Member

@saw-jan saw-jan Apr 23, 2026

Choose a reason for hiding this comment

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

we do not need to checkout for sonar-analysis
so I thought, you can check if this is true by removing the checkout and see what happens with the sonarcloud step. Include the CI link to that and we will have a visual proof for the future refs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

05:58:19.800 INFO  Loaded core extensions: a3s, architecture, sca
05:58:20.062 INFO  Process project properties
05:58:20.112 ERROR You must define the following mandatory properties for 'Unknown': sonar.projectKey, sonar.organization
05:58:20.438 INFO  EXECUTION FAILURE
05:58:20.439 INFO  Total time: 12.548s
Error: Action failed: The process '/opt/hostedtoolcache/sonar-scanner-cli/8.0.1.6346/linux-x64/bin/sonar-scanner' failed with exit code 3

Comment thread .github/workflows/ci.yml Outdated
…ions

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

@Ashim-Stha Ashim-Stha requested a review from saw-jan April 23, 2026 06:12
Copy link
Copy Markdown
Member

@DeepDiver1975 DeepDiver1975 left a comment

Choose a reason for hiding this comment

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

as far as I can tell ... 👍

@Ashim-Stha Ashim-Stha merged commit f665dab into main Apr 24, 2026
21 of 22 checks passed
@Ashim-Stha Ashim-Stha deleted the sonarAnalysis branch April 24, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move CI to Github Actions

3 participants