diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30be4f08..2f584860 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ Please be aware that we are not actively looking for feature contributions. The With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make. -Make sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset#code-style) and all tests are passing (Cirrus CI build is executed for each pull request). +Make sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset#code-style) and all tests are passing (the GitHub Actions build is executed for each pull request). ## Next steps diff --git a/DEVELOPER.md b/DEVELOPER.md index ec6db775..65a12235 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -69,12 +69,11 @@ docker run -e SONAR_HOST_URL=http://sq:9000 --network="scanner-sq-network" -it - ``` ## Automatic tests -The QA process is handled on `.cirrus.yml`, which is responsible for the following: +The QA process is handled by GitHub Actions: -- linting the Dockerfile to make sure it complies with best practices -- build the image -- test the image by running a scan on a sample project -- run scans to find potential vulnerabilities +- `.github/workflows/hadolint-analysis.yml` lints the Dockerfile to make sure it complies with best practices +- `.github/workflows/build.yml` builds the image and pushes it to the Repox builds registry, tests it by running a + scan on a sample project (`test/qa.bats`), and analyzes this repository with SonarQube ## Releasing diff --git a/README.md b/README.md index e7c81f8a..41cd49ca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SonarScanner CLI [![Build Status](https://api.cirrus-ci.com/github/SonarSource/sonar-scanner-cli-docker.svg)](https://cirrus-ci.com/github/SonarSource/sonar-scanner-cli-docker) +# SonarScanner CLI [![Build Status](https://github.com/SonarSource/sonar-scanner-cli-docker/actions/workflows/build.yml/badge.svg)](https://github.com/SonarSource/sonar-scanner-cli-docker/actions/workflows/build.yml) This is the Git repository that contains the source for [SonarScanner CLI](https://github.com/SonarSource/sonar-scanner-cli) Docker images. Images are available on [Docker Hub](https://hub.docker.com/r/sonarsource/sonar-scanner-cli).