debian-forge-composer/internal
Brian C. Lane 856eb59edf client: Move the weldrcheck integration tests to client
With this change the integration tests can now also be run as unit tests
against the mocked server. The way it works is this:

internal/client/unit_test.go sets up the mock server and is built
when the `integration` build tag is *not* included.

internal/client/integration_test.go sets up the connection to an
existing server and is built when the `integration` build tag *is*
included.

The test code is built and run for both cases.

Currently they all pass for the integration test run. The unit test
cases need some work because the mocked server isn't a real server with
real depsolving and package lists. A future commit will fix this.
2020-03-27 19:07:33 +01:00
..
blueprint osbuild: remove dead code 2020-03-26 00:31:37 +01:00
client client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
common common/Architecture: drop unused code 2020-03-24 15:46:57 +01:00
compose compose/ImageBuild: drop the distro field 2020-03-24 14:13:03 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro tree-wide: use uuid.MustParse() when possible 2020-03-25 10:22:16 +01:00
jobqueue worker: move ComposerClient to jobqueue package 2020-03-25 14:05:44 +01:00
mocks internal: pass architecture from the APIs to dnf-json 2020-03-24 20:45:30 +01:00
osbuild Add coverage for *assembler.go 2020-03-27 16:37:12 +02:00
rcm internal: pass architecture from the APIs to dnf-json 2020-03-24 20:45:30 +01:00
rpmmd rpmmd: Fix the format of BuildTime to match the weldr API 2020-03-25 10:01:14 +01:00
store tree-wide: panic when json marshalling fails 2020-03-25 10:22:16 +01:00
target target: pass the image filename in each target 2020-03-22 22:26:09 +01:00
test test: Move temporary repo setup into test/helpers.go 2020-03-23 21:08:01 +01:00
upload lint: fix unhandled errors 2020-03-02 14:28:55 +01:00
weldr client: Add /modules/ support 2020-03-25 10:01:14 +01:00