You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
keys | 6 months ago | |
README.md | 3 years ago | |
after | 4 months ago | |
base_image.run | 9 months ago | |
build_image | 3 years ago | |
build_image.run | 2 months ago | |
check_updates | 1 year ago | |
check_updates.run | 3 years ago | |
keys.asc | 6 months ago | |
nginx-registry | 3 years ago | |
playbook.yml | 2 months ago | |
update_images | 3 years ago | |
vars.yml | 2 years ago | |
verify_commits | 2 months ago | |
webhook.conf | 2 months ago |
README.md
Set a laminar CI to build your containers.
architecture
...................----------.
.-------. . .---------. | build VM |
| gitea |---http---->| webhook | '----------'
'-------' . '---------' .
. . | .
. . v .
. . .---------. .
'....git pull...>| laminar |......... .
. '---------' v .
. | ^ gpg verify .
. docker| '...git commits .
. push | .
. v .
. .----------. .
. | registry | .
. '----------' .
. . .
. proxy. .
. v .
. .-------. .
. | nginx | .
. '-------' .
........^.....................
.--------. |
| docker |---------------'
'--------' docker pull
webhook
It will configure a webhook to listen in: http://ip:9000/hooks/build_image
The gitea of your organization should be configured to ping this url with {{ secret }} on each push event.
keys
The openpgp keys used to sign git commits are in the keys
folder, ansible uses keys.asc
to configure them in the server. We can generate this file by concatenating all the keys in one file:
$ cat keys/* > keys.asc