Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Bruno Verachten gounthar

💭
I may be slow to respond.
  • ATOS Worldline
  • Seclin, France
Block or report user

Report or block gounthar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Makefile
.PHONY: usage tests build deploy_test deploy_prod html man install
PIP=pip3
PYTHON=python3
EXAMPLES_DIR=docs/examples
CASTS_DIR=$(EXAMPLES_DIR)/casts
.DEFAULT: usage
View docker run.txt
docker run --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged -ti acencini/rpi-python-serial-wiringpi /bin/bash
View first docker build.txt
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
View config.toml
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"
View daemon.txt
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…
View register II.txt
$ 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
View register.txt
$ 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):
View docker run II.txt
$ 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
$
View docker run txt
$ 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
View date.txt
sudo date "+%Y%m%d %T" -s "20180801 21:43:32"
20180801 21:43:32
You can’t perform that action at this time.