diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 86da6bb1..7c2c185c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -18,7 +18,7 @@ jobs: - name: Setup LXD uses: canonical/setup-lxd@v0.1.1 - + - name: Build GARM run: make build diff --git a/test/integration/config/config.toml b/test/integration/config/config.toml index 8fbd139c..fb6c9d4f 100644 --- a/test/integration/config/config.toml +++ b/test/integration/config/config.toml @@ -50,6 +50,33 @@ description = "Local LXD installation" protocol = "simplestreams" skip_verify = false +[[provider]] +name = "lxd_remote" +provider_type = "lxd" +description = "Remote LXD installation" +[provider.lxd] + unix_socket_path = "/var/snap/lxd/common/lxd/unix.socket" + include_default_profile = false + instance_type = "container" + secure_boot = false + project_name = "default" + [provider.lxd.image_remotes] + [provider.lxd.image_remotes.ubuntu] + addr = "https://cloud-images.ubuntu.com/releases" + public = true + protocol = "simplestreams" + skip_verify = false + [provider.lxd.image_remotes.ubuntu_daily] + addr = "https://cloud-images.ubuntu.com/daily" + public = true + protocol = "simplestreams" + skip_verify = false + [provider.lxd.image_remotes.images] + addr = "https://images.linuxcontainers.org" + public = true + protocol = "simplestreams" + skip_verify = false + [[github]] name = "${CREDENTIALS_NAME}" description = "GARM GitHub OAuth token" diff --git a/test/integration/e2e/e2e.go b/test/integration/e2e/e2e.go index 63cfbc5a..9e6dde7a 100644 --- a/test/integration/e2e/e2e.go +++ b/test/integration/e2e/e2e.go @@ -24,6 +24,9 @@ func ListProviders() params.Providers { if err != nil { panic(err) } + if err := printJsonResponse(providers); err != nil { + panic(err) + } return providers }