moby/integration/build
Sebastiaan van Stijn 64a6cc3afd
integration/build: improve some asserts, and add asserts for unhandled errs
- add some asserts for unhandled errors
- use consts for fixed values, and slightly re-format Dockerfile contentt
- inline one-line Dockerfiles
- fix some vars to be properly camel-cased
- improve assert for error-types;

Before:

    === RUN   TestBuildPlatformInvalid
        build_test.go:685: assertion failed: expression is false: errdefs.IsInvalidParameter(err)
    --- FAIL: TestBuildPlatformInvalid (0.01s)
    FAIL

After:

    === RUN   TestBuildPlatformInvalid
        build_test.go:689: assertion failed: error is Error response from daemon: "foobar": unknown operating system or architecture: invalid argument (errdefs.errSystem), not errdefs.IsInvalidParameter
    --- FAIL: TestBuildPlatformInvalid (0.01s)
    FAIL

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-21 13:45:06 +01:00
..
testdata Using test names instead of hardcoded ones in integration/build directory 2020-05-18 16:36:23 +01:00
build_cgroupns_linux_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
build_session_test.go integration(-cli): remove skips for old daemon versions (<20.10) 2023-12-05 01:03:50 +01:00
build_squash_test.go api/types: move ContainerLogsOptions to api/types/container 2023-10-12 11:30:12 +02:00
build_test.go integration/build: improve some asserts, and add asserts for unhandled errs 2024-01-21 13:45:06 +01:00
build_traces_test.go vendor: github.com/moby/buildkit v0.12.2 2023-09-21 14:18:45 -06:00
build_userns_linux_test.go frozen images: update to debian:bookworm-slim 2023-11-30 12:01:06 +01:00
main_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00