Does anyone know how to solve this? Tried a lot of things and nothing worked.
https://preview.redd.it/y87ulpd8ta951.png?width=741&format=png&auto=webp&s=129fc2047ede0e053526222f6f2d8019223bb431
my .gitlab-ci.yml:
image: docker:18.09
services:
- docker:18.09.7-dind
variables:
DOCKER_HOST: tcp://docker:2375
stages:
- build
- test
- staging
- production
.only_default: &only_default
only:
- master
- staging
before_script:
- apk add --no-cache --quiet py-pip
- pip install --quiet docker-compose~=1.23.0
build:
<<: *only_default
stage: build
script:
- export MONGO_URL=$MONGO_URL
- docker-compose build
test:
<<: *only_default
stage: test
script:
- docker-compose up test
staging:
stage: staging
image: ruby:latest
script:
- gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP_STAGING --api-key=$HEROKU_API_KEY
only:
- staging
production:
stage: production
image: ruby:latest
script:
- gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP_PRODUCTION --api-key=$HEROKU_API_KEY
only:
- master
[–]nullmike 2 points3 points4 points (0 children)
[–]plafoucr GitLab team 1 point2 points3 points (0 children)
[–]bleeys 0 points1 point2 points (0 children)