compose/pkg
Milas Bowman f94cb49062
test: fix e2e test for privileged builds (#10873)
We cannot guarantee the exact value of `CapEff` across
environments, and this test has started failing some places,
e.g. Docker Desktop, and now GitHub Actions (likely due to
a kernel upgrade on the runners or similar).

By setting `privileged: true` on the build, we're asking for
the `security.insecure` entitlement on the build. A safe
assumption is that will include `CAP_SYS_ADMIN`, which won't
be present otherwise, so mask the `CapEff` value and check
for that.

It's worth noting that realistically, the build won't even
be able to complete without the correct entitlement, since the
`Dockerfile` uses `RUN --security=insecure`, so this is really
an additional sanity check.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-08-03 12:23:24 -04:00
..
api build: do not attempt to push unnamed service images 2023-07-19 09:58:37 +02:00
compose watch: add tar sync implementation (#10853) 2023-08-01 14:39:08 -04:00
e2e test: fix e2e test for privileged builds (#10873) 2023-08-03 12:23:24 -04:00
mocks Add `docker compose wait` 2023-06-30 16:07:03 +02:00
progress use `--progress` to configure progress UI stylet push 2023-06-12 16:53:42 +02:00
prompt use a simpler prompt implementation when we lack a terminal 2023-01-09 10:28:16 +01:00
utils support `attach` 2023-07-10 14:34:28 +02:00
watch watch: add tar sync implementation (#10853) 2023-08-01 14:39:08 -04:00