Commit 425039d6 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'feature/sm/2783-rename-codeclimate-to-codequality-ce' into 'master'

Backport to CE: Support `codequality` job name for Code Quality feature

See merge request !13833
parents 096850a4 16719ce1
...@@ -50,12 +50,15 @@ Apart from those, here is an collection of tutorials and guides on setting up yo ...@@ -50,12 +50,15 @@ Apart from those, here is an collection of tutorials and guides on setting up yo
- **Articles:** - **Articles:**
- [Setting up GitLab CI for Android projects](https://about.gitlab.com/2016/11/30/setting-up-gitlab-ci-for-android-projects/) - [Setting up GitLab CI for Android projects](https://about.gitlab.com/2016/11/30/setting-up-gitlab-ci-for-android-projects/)
### Code quality analysis
- [Analyze code quality with the Code Climate CLI](code_climate.md)
### Other ### Other
- [Using `dpl` as deployment tool](deployment/README.md) - [Using `dpl` as deployment tool](deployment/README.md)
- [Repositories with examples for various languages](https://gitlab.com/groups/gitlab-examples) - [Repositories with examples for various languages](https://gitlab.com/groups/gitlab-examples)
- [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml) - [The .gitlab-ci.yml file for GitLab itself](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.gitlab-ci.yml)
- [Analyze code quality with the Code Climate CLI](code_climate.md)
- **Articles:** - **Articles:**
- [Continuous Deployment with GitLab: how to build and deploy a Debian Package with GitLab CI](https://about.gitlab.com/2016/10/12/automated-debian-package-build-with-gitlab-ci/) - [Continuous Deployment with GitLab: how to build and deploy a Debian Package with GitLab CI](https://about.gitlab.com/2016/10/12/automated-debian-package-build-with-gitlab-ci/)
......
...@@ -5,10 +5,10 @@ GitLab CI and Docker. ...@@ -5,10 +5,10 @@ GitLab CI and Docker.
First, you need GitLab Runner with [docker-in-docker executor][dind]. First, you need GitLab Runner with [docker-in-docker executor][dind].
Once you set up the Runner, add a new job to `.gitlab-ci.yml`, called `codeclimate`: Once you set up the Runner, add a new job to `.gitlab-ci.yml`, called `codequality`:
```yaml ```yaml
codeclimate: codequality:
image: docker:latest image: docker:latest
variables: variables:
DOCKER_DRIVER: overlay DOCKER_DRIVER: overlay
...@@ -22,7 +22,7 @@ codeclimate: ...@@ -22,7 +22,7 @@ codeclimate:
paths: [codeclimate.json] paths: [codeclimate.json]
``` ```
This will create a `codeclimate` job in your CI pipeline and will allow you to This will create a `codequality` job in your CI pipeline and will allow you to
download and analyze the report artifact in JSON format. download and analyze the report artifact in JSON format.
For GitLab [Enterprise Edition Starter][ee] users, this information can be automatically For GitLab [Enterprise Edition Starter][ee] users, this information can be automatically
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment