I want to configure GitLab runner for my Android applications, to run CI jobs, on my private GitLab server, but with no success so far.
I have created a very simple .gitlab-ci.yml file, which uses a local docker image that I have created.
- I tested building applications with the docker and it worked perfectly.
Also, I added a pull policy in my /etc/gitlab-runner/config.yoml file to never so, if I understand the documentation correctly, should prevent the runner from searching the image in DockerHub.
I would really appreciate any help that you guys can give me, I’m really stuck.
thank you and I hope someday I will be able to help someone else :)).
image: 1xx.x.x.x:xxxx/gitlab-docker-ci:latest stages: - build lintDebug: stage: build script: - ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint
concurrent = 1 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "First specific runner test" url = "http://1xx.x.x.x:xxxx/" token = "xxxxxxxx" executor = "shell" [runners.cache] [runners.cache.s3] [runners.cache.gcs] [[runners]] name = "test-runner" url = "http://1xx.xxx.x.x:xxxx/" token = "xxxxxxxxxx" executor = "docker" [runners.docker] **pull_policy = never** tls_verify = false image = "1xx.x.x.x:xxxx/gitlab-docker-ci:latest" privileged = false disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false volumes = ["/cache"] shm_size = 0 [runners.cache] [runners.cache.s3] [runners.cache.gcs]
This is a screenshot of the error that I see in my GildLab Jobs: