Skip to content

Lab 1: SonarCloud + GitHub Actions CI bootstrap#18

Open
nik-bykoff wants to merge 1 commit intolenagrin:masterfrom
nik-bykoff:lab-01-sonarcloud-ci
Open

Lab 1: SonarCloud + GitHub Actions CI bootstrap#18
nik-bykoff wants to merge 1 commit intolenagrin:masterfrom
nik-bykoff:lab-01-sonarcloud-ci

Conversation

@nik-bykoff
Copy link
Copy Markdown

Summary

Bootstrap CI integration with SonarCloud for the NetSdrClient solution.

  • Move SONAR_PROJECT_KEY and SONAR_ORGANIZATION into the workflow env block with an explicit fork-aware setup header in .github/workflows/sonarcloud.yml.
  • Update README.md with the student header (PZS-1, Bykov Nikita), fork/upstream links and a table of links to all eight lab reports under docs/labs/.
  • Replace upstream ppanchen SonarCloud badges with placeholders for nik-bykoff_ReengineeringCourse.
  • Add docs/labs/lab-01.md describing the manual SonarCloud setup steps (project creation, token, secret, Automatic Analysis off) and verification checklist.
  • Ignore local .env to prevent accidental token leaks.

Test plan

  • dotnet restore NetSdrClient.sln succeeds locally.
  • dotnet build NetSdrClient.sln -c Release --no-restore succeeds (0 errors).
  • dotnet test NetSdrClient.sln -c Release --no-build reports 8/8 passing.
  • After SonarCloud project + SONAR_TOKEN secret are configured, the Sonar Check job in this PR turns green and Quality Gate is shown in PR Checks.

Manual follow-ups (cannot be automated by code)

  1. Create a project in SonarCloud for the fork.
  2. Add SONAR_TOKEN to fork repository secrets.
  3. Disable Automatic Analysis in SonarCloud.
  4. Update SONAR_PROJECT_KEY / SONAR_ORGANIZATION in the workflow if they differ.

Discipline / Author

  • Subject: Реінжиніринг програмного забезпечення
  • Student: Биков Нікіта Вячеславович, group ПЗС-1

Made with Cursor

- Move SONAR_PROJECT_KEY/SONAR_ORGANIZATION into workflow env block with explicit setup instructions for fork-based usage.

- Update README with student header, fork/upstream links and a table of all eight lab reports.

- Replace SonarCloud badges with placeholders for nik-bykoff fork.

- Add docs/labs/lab-01.md report describing manual SonarCloud steps, CI workflow layout and verification checklist.

- Ignore local .env files to prevent accidental token leaks.
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.

1 participant