| ... | @@ -77,12 +77,12 @@ To configure Container Registry follow official guide [here](https://gitlab.labr |
... | @@ -77,12 +77,12 @@ To configure Container Registry follow official guide [here](https://gitlab.labr |
|
|
|
|
|
|
|
To enable autodevops for GitLab follow the official guide [here](https://docs.gitlab.com/ee/topics/autodevops/quick_start_guide.html#enabling-auto-devops).
|
|
To enable autodevops for GitLab follow the official guide [here](https://docs.gitlab.com/ee/topics/autodevops/quick_start_guide.html#enabling-auto-devops).
|
|
|
|
|
|
|
|
### Build issues:
|
|
### Build issues
|
|
|
|
|
|
|
|
1. If your registry is not working correctly your build will fail at push stage. Check that you have done [Container Registry domain configuration](#container-registry-domain-configuration)
|
|
1. If your registry is not working correctly your build will fail at push stage. Check that you have done [Container Registry domain configuration](#container-registry-domain-configuration)
|
|
|

|
|

|
|
|
|
|
|
|
|
### Production issues:
|
|
### Production issues
|
|
|
|
|
|
|
|
1. If your production fails:
|
|
1. If your production fails:
|
|
|

|
|

|
| ... | @@ -90,10 +90,18 @@ To enable autodevops for GitLab follow the official guide [here](https://docs.gi |
... | @@ -90,10 +90,18 @@ To enable autodevops for GitLab follow the official guide [here](https://docs.gi |
|
|
* You can disable Auto Devops from Settings -> CI/CD:
|
|
* You can disable Auto Devops from Settings -> CI/CD:
|
|
|

|
|

|
|
|
|
|
|
|
|
* Choose `CI/CD configuration` from your project
|
|
* Choose `CI/CD configuration` from your project and:
|
|
|
* Choose template: .gitlab-ci.yml
|
|
* Choose template: .gitlab-ci.yml
|
|
|
* Apply a template: Auto-DevOps
|
|
* Apply a template: Auto-DevOps
|
|
|
* edit the file like on **Line 45**
|
|
* edit the file like on **Line 45**
|
|
|

|
|

|
|
|
|
|
|
|
|
|
### Container scanner issues
|
|
|
|
|
|
|
|
1. If your container scanner gives following issue:
|
|
|
|
|
|
|
|
* You can follow [Production issues](#production-issues) set up to modify your `.gitlab-ci.yml`.
|
|
|
|
* Edit lines 472 and 473 to use `localhost:6060` instead of `docker:6060`:
|
|
|
|

|
|
|
|
|
|
|
|
|
|