This file contains hidden or 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
Using Docker executor with image klud/docker:17.06.2 ... | |
Pulling docker image klud/docker:17.06.2 ... | |
Using docker image sha256:6e7bb2ace469be046bfdb7bce2968d4362bc790522b6cec2f79a92347e1d936b for klud/docker:17.06.2 ... | |
Running on runner-af867d3f-project-19417-concurrent-0 via f534f2e5bdef... | |
Cloning repository... | |
Cloning into '/builds/poddingue/docker-adb'... | |
Checking out 32995770 as master... | |
Skipping Git submodules setup | |
$ echo Building for branch ${CI_BUILD_REF_NAME} | |
Building for branch master |
This file contains hidden or 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
concurrent = 1 | |
check_interval = 0 | |
[[runners]] | |
name = "Raspberry Pi 3B+ Runner (Hypriot)" | |
url = "https://gitlab.com/" | |
token = "the_token_that_is_yours_and_yours_alone" | |
executor = "docker" | |
[runners.docker] | |
tls_verify = false | |
image = "klud/docker:17.06.2" |
This file contains hidden or 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
Cannot connect to the Docker daemon. Is the docker daemon running on this host?. | |
Running with gitlab-runner 11.1.0 (081978aa) | |
on Raspberry Pi 3B+ Runner (Hypriot) dca49eeb | |
Using Docker executor with image docker … | |
Pulling docker image gitlab/gitlab-runner-helper:arm-081978aa … | |
Using docker image sha256:4de44d1f76654c5a9032c4e26bc19c3b559ef1f617ab21738869b007f09b9f15 for gitlab/gitlab-runner-helper:arm-081978aa … | |
Pulling docker image docker … | |
Using docker image sha256:b2ff6f46b64f84f5ddbc5216f8931dfd1c0daa7bc37484d9f8b6240ebf3e6643 for docker … | |
Running on runner-dca49eeb-project-17323-concurrent-0 via 021a78260a8a… | |
Cloning repository… |
This file contains hidden or 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
$ docker exec -it arm-runner \ | |
gitlab-runner register -n \ | |
- url https://gitlab.com/ \ | |
- registration-token the_token_that_is_yours_and_yours_alone \ | |
- executor docker \ | |
- description "Raspberry Pi 3B+ Runner (Hypriot)" \ | |
- docker-image "klud/docker:17.06.2" \ | |
- tag-list "ARM" \ | |
- docker-privileged | |
This file contains hidden or 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
$ docker exec -it arm-runner gitlab-runner register | |
Running in system-mode. | |
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): | |
https://gitlab.com/ | |
Please enter the gitlab-ci token for this runner: | |
the_token_that_is_yours_and_yours_alone | |
Please enter the gitlab-ci description for this runner: | |
[021a78260a8a]: Raspberry Pi 3B+ Runner (Hypriot) | |
Please enter the gitlab-ci tags for this runner (comma separated): |
This file contains hidden or 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
$ docker run -d - name arm-runner - restart=always \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v $(pwd)/.runner:/etc/gitlab-runner \ | |
klud/gitlab-runner | |
021a78260a8adcdabacd1f00e9885348a3462cb674617901d00d881c702ef087 | |
$ |
This file contains hidden or 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
$ docker run -d - name arm-runner \ | |
-v $(pwd)/.runner:/etc/gitlab-runner \ | |
- restart=always \ | |
klud/gitlab-runner | |
Unable to find image 'klud/gitlab-runner:latest' locally | |
latest: Pulling from klud/gitlab-runner | |
95d54dd4bdad: Pull complete | |
72bf7d76c392: Pull complete | |
2fccc182bcc6: Pull complete |
This file contains hidden or 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
sudo date "+%Y%m%d %T" -s "20180801 21:43:32" | |
20180801 21:43:32 |
This file contains hidden or 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
$ systemctl show - property=Environment docker | |
Environment=HTTP_PROXY=http://your-proxy:your-proxy-port/ NO_PROXY=localhost,127.0.0.1,*.your.localnet HTTPS_PROXY=http://your-proxy:your-proxy-port/ |
This file contains hidden or 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
$ sudo systemctl daemon-reload | |
$ sudo systemctl restart docker |