This is the log.
Running with gitlab-runner 13.0.1 (xxx)
on x-runner xxx
Preparing the "docker" executor
Job succeeded
The Job succeeded message comes after 0 seconds after the Preparing the "docker" executor message.
The scripts is echo hello and npm ci
Update: When I do docker exec -it gitlab-runner gitlab-runner --debug run, I get the error panic: runtime error: invalid memory address or nil pointer dereference after starting a pipeline. How do I fix this?
Update:
Versions
gitlab: 12.9.0
gitlab-runner: 13.0.1
docker: 19.03.11, build 42e35e61f3
Config
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "nuc-runner"
url = "https://gitlab.x.y/"
token = "xyz"
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
Update:
.gitlab-cli.yml
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
stages:
- install
- build
- test
- clean
build:
stage: build
script: npm run build
install:
stage: install
script: npm ci
test:
stage: test
script: npm run test
clean:
stage: clean
script: npm run clean
Update
When I type
root@xxxxxxxxxxxx:/# gitlab-runner status
Stdout
Runtime platform arch=amd64 os=linux pid=365 revision=21cb397c version=13.0.1
gitlab-runner: Service is not running.