airplaypi/ci
Dustin d4460d2b4d
dustin/airplaypi/pipeline/head This commit looks good Details
ci: Skip SELinux relabel on start
By default, CRI-O assigns a random SELinux category to every pod, and
then must adjust the label of every file and directory in the persistent
volume to match.  For very large volumes like a Buildroot output
directory, this can take quite some time.  Fortunately, if we assign a
static category, we can tell CRI-O to skip the relabel step.

Unfortunately, Jenkins does not merge the `securityContext` field of the
pod spec when the `yamlMergeStrategy` is set to `merge`.  For our custom
settings to apply, we have to leave the merge strategy at the default,
`override`.
2025-08-31 10:58:39 -05:00
..
Jenkinsfile ci: Skip SELinux relabel on start 2025-08-31 10:58:39 -05:00
podTemplate.yaml ci: Skip SELinux relabel on start 2025-08-31 10:58:39 -05:00