Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaelabalutoiu committed Oct 19, 2023
1 parent 505b099 commit f09e1be
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Setup LXD
uses: canonical/setup-lxd@v0.1.1

- name: Build GARM
run: make build

Expand Down
27 changes: 27 additions & 0 deletions test/integration/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions test/integration/e2e/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ func ListProviders() params.Providers {
if err != nil {
panic(err)
}
if err := printJsonResponse(providers); err != nil {
panic(err)
}
return providers
}

Expand Down

0 comments on commit f09e1be

Please sign in to comment.