diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-15 03:09:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-15 03:09:11 +0000 |
commit | b71a496c7a3e109f7c85ad7ac453e6f7bf7cda45 (patch) | |
tree | 0a76fc00ef860bd369dcaa3f136ee36275eb47f5 /doc/topics/autodevops/index.md | |
parent | c2041156b8b3063d6cf29b324416e8469e588923 (diff) | |
download | gitlab-ce-b71a496c7a3e109f7c85ad7ac453e6f7bf7cda45.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/topics/autodevops/index.md')
-rw-r--r-- | doc/topics/autodevops/index.md | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md index 043bb0dfcfa..7ed6625bea3 100644 --- a/doc/topics/autodevops/index.md +++ b/doc/topics/autodevops/index.md @@ -418,12 +418,23 @@ spec: ## Troubleshooting -- Auto Build and Auto Test may fail in detecting your language/framework. There - may be no buildpack for your application, or your application may be missing the - key files the buildpack is looking for. For example, for Ruby applications, you must - have a `Gemfile` to be properly detected, even though it is possible to write a - Ruby app without a `Gemfile`. Try specifying a [custom - buildpack](customize.md#custom-buildpacks). +- Auto Build and Auto Test may fail to detect your language or framework with the + following error: + + ```plaintext + Step 5/11 : RUN /bin/herokuish buildpack build + ---> Running in eb468cd46085 + -----> Unable to select a buildpack + The command '/bin/sh -c /bin/herokuish buildpack build' returned a non-zero code: 1 + ``` + + The following are possible reasons: + + - Your application may be missing the key files the buildpack is looking for. For + example, for Ruby applications you must have a `Gemfile` to be properly detected, + even though it is possible to write a Ruby app without a `Gemfile`. + - There may be no buildpack for your application. Try specifying a + [custom buildpack](customize.md#custom-buildpacks). - Auto Test may fail because of a mismatch between testing frameworks. In this case, you may need to customize your `.gitlab-ci.yml` with your test commands. - Auto Deploy will fail if GitLab can not create a Kubernetes namespace and |