Hey ๐ ,
I need your help. I want to run my GitLab Pipeline with a Dagger function.
I get the attached error.
My GitLab yml looks like this:
.docker:
image: alpine:latest
services:
- docker:${DOCKER_VERSION}-dind
variables:
DOCKER_HOST: tcp://tcp:2376
DOCKER_TLS_VERIFY: '1'
DOCKER_TLS_CERTDIR: '/certs'
DOCKER_CERT_PATH: '/certs/client'
DOCKER_DRIVER: overlay2
DOCKER_VERSION: '20.10.16'
DAGGER_CLOUD_TOKEN: $DAGGER_CLOUD_TOKEN
.dagger:
extends: [.docker]
before_script:
- apk add docker-cli curl
- curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=/usr/local/bin sh
build:
tags:
- dind
extends: [.dagger]
script:
- dagger install github.com/shykes/daggerverse/hello@3338120927f8e291c4780de691ef63a7c9d825c0
- dagger -m github.com/shykes/daggerverse/hello@3338120927f8e291c4780de691ef63a7c9d825c0 call hello
As I can see the first step installing the dagger module is ok.
After executing Dagger with the module I get the error.
If I add a variable _EXPERIMENTAL_DAGGER_RUNNER_HOST: tcp://dagger-engine:1234
I get another error: connect ERROR: new client: context deadline exceeded
build:
tags:
- dind
extends: [.dagger]
variables:
_EXPERIMENTAL_DAGGER_RUNNER_HOST: tcp://dagger-engine:1234
script:
- dagger install github.com/shykes/daggerverse/hello@3338120927f8e291c4780de691ef63a7c9d825c0
- dagger -m github.com/shykes/daggerverse/hello@3338120927f8e291c4780de691ef63a7c9d825c0 call hello
