Created
June 4, 2021 08:44
-
-
Save maltoe/26b6d71dc96e0755d3e99ea05e329934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
image: docker:20.10.7 | |
services: | |
# hab dem auch mal einen alias gegeben, theoretisch muesste der als "docker" erreichbar sein | |
- docker:20.10.7-dind | |
variables: | |
# versucht mit oder ohne | |
DOCKER_DRIVER: overlay2 | |
# versucht mit oder ohne (deaktiviert TLS) | |
DOCKER_TLS_CERTDIR: "" | |
script: | |
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY | |
# hier nach noch mehr... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running with gitlab-runner 13.12.0 (7a6612da) | |
on vs5618.mymanaged.host 1oNZ4woR | |
Preparing the "docker" executor | |
Using Docker executor with image docker:20.10.7 ... | |
Starting service docker:20.10.7-dind ... | |
Pulling docker image docker:20.10.7-dind ... | |
Using docker image sha256:b0a9f712488ae3b3ddf576e14e56186f709e4735fe042b01f76521878929d535 for docker:20.10.7-dind with digest docker@sha256:89867815852358a38f503287ed126999c6a943845f8b3e6b89f1111f497a9f23 ... | |
Waiting for services to be up and running... | |
*** WARNING: Service runner-1onz4wor-project-2-concurrent-0-f39a534e56edbf3c-docker-0 probably didn't start properly. | |
Health check error: | |
service "runner-1onz4wor-project-2-concurrent-0-f39a534e56edbf3c-docker-0-wait-for-service" timeout | |
Health check container logs: | |
Service container logs: | |
2021-06-04T08:33:08.097770980Z Generating RSA private key, 4096 bit long modulus (2 primes) | |
2021-06-04T08:33:08.602121918Z .................................................................................++++ | |
2021-06-04T08:33:09.018976094Z ......................................................................++++ | |
2021-06-04T08:33:09.019489378Z e is 65537 (0x010001) | |
2021-06-04T08:33:09.038978712Z Generating RSA private key, 4096 bit long modulus (2 primes) | |
2021-06-04T08:33:09.195585855Z .........................++++ | |
2021-06-04T08:33:09.800649788Z .......................................................................................................++++ | |
2021-06-04T08:33:09.801243556Z e is 65537 (0x010001) | |
2021-06-04T08:33:09.838220842Z Signature ok | |
2021-06-04T08:33:09.838248163Z subject=CN = docker:dind server | |
2021-06-04T08:33:09.838416987Z Getting CA Private Key | |
2021-06-04T08:33:09.861847362Z /certs/server/cert.pem: OK | |
2021-06-04T08:33:09.865775239Z Generating RSA private key, 4096 bit long modulus (2 primes) | |
2021-06-04T08:33:10.250150942Z ..................................................................++++ | |
2021-06-04T08:33:10.585367960Z ........................................................++++ | |
2021-06-04T08:33:10.585949847Z e is 65537 (0x010001) | |
2021-06-04T08:33:10.618300066Z Signature ok | |
2021-06-04T08:33:10.618337026Z subject=CN = docker:dind client | |
2021-06-04T08:33:10.618459920Z Getting CA Private Key | |
2021-06-04T08:33:10.635635008Z /certs/client/cert.pem: OK | |
2021-06-04T08:33:10.639658716Z mount: permission denied (are you root?) | |
2021-06-04T08:33:10.639855220Z Could not mount /sys/kernel/security. | |
2021-06-04T08:33:10.639878707Z AppArmor detection and --privileged mode might break. | |
2021-06-04T08:33:10.641000445Z mount: permission denied (are you root?) | |
********* | |
Pulling docker image docker:20.10.7 ... | |
Using docker image sha256:08bdaf2f88f90320cd3e92a469969efb1f066c6d318631f94e7864828abd7c75 for docker:20.10.7 with digest docker@sha256:7a49f42626fed01146792e5add6e48e2c9f1eb3550a6840356757e55cc36ba25 ... | |
Preparing environment | |
00:00 | |
Running on runner-1onz4wor-project-2-concurrent-0 via vs5618.mymanaged.host... | |
Getting source from Git repository | |
00:01 | |
Fetching changes with git depth set to 50... | |
Reinitialized existing Git repository in /builds/db/dima/.git/ | |
Checking out 8adefb06 as refs/merge-requests/1/head... | |
Skipping Git submodules setup | |
Executing "step_script" stage of the job script | |
00:01 | |
Using docker image sha256:08bdaf2f88f90320cd3e92a469969efb1f066c6d318631f94e7864828abd7c75 for docker:20.10.7 with digest docker@sha256:7a49f42626fed01146792e5add6e48e2c9f1eb3550a6840356757e55cc36ba25 ... | |
$ ./script/ci/build-image base-build LATEST | |
error during connect: Post http://docker:2375/v1.24/auth: dial tcp: lookup docker on 212.83.32.201:53: no such host | |
Cleaning up file based variables | |
00:01 | |
ERROR: Job failed: exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment