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
#include <tunables/global> | |
# Put in "/etc/apparmor.d" and load with: | |
# apparmor_parser -r -W /etc/apparmor.d/docker-gitlab | |
profile docker-gitlab flags=(attach_disconnected,mediate_deleted) { | |
#include <abstractions/base> | |
network, | |
capability, |
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
// For the GitLab Docker Executor: | |
// Remove this comment, minimize using `jq -c` and add the result to the Runner config inline(!) like this: | |
// security_opt = ['seccomp={"defaultAction": ... | |
{ | |
"defaultAction": "SCMP_ACT_ERRNO", | |
"defaultErrnoRet": 1, | |
"archMap": [ | |
{ | |
"architecture": "SCMP_ARCH_X86_64", |
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
#!/usr/bin/env python3 | |
import sys | |
import os | |
import gnupg | |
TRUST_LEVEL_MAP = { | |
'q': '???', |