Commit Graph

3 Commits (f7974a110e454eb43ce9843126280b5089456f16)

Author SHA1 Message Date
Dustin a4b0af84e5 ci: Fix pod UIDs/GIDs
Now that we have _democratic-csi_ for storage management, the old manual
iSCSI volumes are being replaced with dynamically provisioned volumes.
ThiThe new _buildroot-airplaypi_ volume is completely blank, so _root_
owns everything.  The old volume had the correct ownership because it
was originally mounted in a pod that had the default `securityContext`,
before we changed the merge strategy.  We now need to explicitly set the
UIDs and GIDs, since we're not inheriting the default `securityContext`
anymore.
2025-09-09 07:10:46 -05:00
Dustin c28fad60a0 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-09-09 07:10:46 -05:00
Dustin 025bf8be34 Initial commit 2025-09-09 07:10:46 -05:00