Commit Graph

3 Commits (8a440df6f853529668f8e267a2cc248333e8e41b)

Author SHA1 Message Date
Dustin 8a440df6f8 ci: Fix pod UIDs/GIDs
dustin/airplaypi/pipeline/head This commit looks good Details
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-07 12:20:31 -05:00
Dustin baf0c0b034 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-03 11:27:46 -05:00
Dustin 097c6da70f Initial commit 2025-09-03 11:27:46 -05:00