Commit 62a5710
fix(ci): harden Podman dev-container bring-up per #568 review
Addresses remaining self-review threads on the CI-migration action:
- Verify the cache-restored image carries the projectkeystone-dev:latest
tag after `podman load`; rebuild if a stale/mistagged tarball loaded
(so it can no longer silently fail at `podman-compose up`).
- Drop the broad `restore-keys: podman-` so a partial cache hit can no
longer load a tarball built from a different Containerfile/conanfile;
exact hashFiles key only, rebuild on any input change.
- Set vm.mmap_rnd_bits=28 on the runner host so in-container ASan/TSan/LSan
do not abort with shadow-memory mapping errors on the noble kernel.
- Assert `podman info` reports rootless=true instead of merely printing it,
so a rootful runner fails the step.
- Defensively run `conan profile detect --exist-ok` in `make deps` before
`conan install` (the dev image already detects a profile at build time).
Refs #568
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>1 parent cf5972e commit 62a5710
2 files changed
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
| |||
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
126 | 138 | | |
127 | | - | |
128 | | - | |
129 | 139 | | |
130 | 140 | | |
131 | 141 | | |
| 142 | + | |
132 | 143 | | |
133 | | - | |
134 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
135 | 155 | | |
136 | 156 | | |
137 | 157 | | |
| |||
157 | 177 | | |
158 | 178 | | |
159 | 179 | | |
160 | | - | |
| 180 | + | |
161 | 181 | | |
162 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
163 | 188 | | |
164 | 189 | | |
165 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments