I am trying to run Auto DevOps with my new project. I can’t seem to get it to build and I have no idea how to troubleshoot it.
Here is my pipeline yml:
image:
name: docker:latest
entrypoint: ["/bin/sh", "-c"]
variables:
DOCKER_DRIVER: overlay2
# Create the certificates inside this directory for both the server
# and client. The certificates used by the client will be created in
# /certs/client so we only need to share this directory with the
# volume mount in `config.toml`.
DOCKER_TLS_CERTDIR: "/certs"
services:
- docker:dind
include:
- template: Auto-DevOps.gitlab-ci.yml
before_script:
- apk add --no-cache docker-compose
- docker info
- docker-compose --version
build_artifact:
stage: build
script:
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
Here is the error I am getting:
Status: Downloaded newer image for heroku/pack:18
===> DETECTING
======== Output: heroku/ruby@0.0.1 ========
no
err: heroku/ruby@0.0.1 (1)
Warning: Warning: buildpack heroku/jvm has a "version" key. This key is deprecated in build plan requirements in buildpack API 0.3. "metadata.version" should be used instead
ERROR: No buildpack groups passed detection.
ERROR: failed to detect: buildpack(s) failed with err
ERROR: failed to build: executing lifecycle: failed with status code: 101
Cleaning up file based variables
00:01
ERROR: Job failed: exit code 1
I have no idea why it is even trying to pull heroku/ruby at all. I am pretty new to Gitlab and Gitlab CI/CD as well as using docker-compose so any help would be very appreciated.
Thanks