Skip to content

Commit

Permalink
FEAT: Add lxc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred78290 committed Oct 6, 2024
1 parent 55f5f6a commit 05696d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install LXD
uses: canonical/setup-lxd@main
with:
channel: 6.1/stable

- name: Cache vendor
uses: actions/cache@v4
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ container-arch-%: build-in-docker-arch-%

test-in-docker: docker-builder
docker run --rm -v `pwd`:/gopath/src/github.com/Fred78290/kubernetes-cloud-autoscaler/ kubernetes-cloud-autoscaler-builder:latest bash \
-c 'cd /gopath/src/github.com/Fred78290/kubernetes-cloud-autoscaler && ./test/bin/vsphere.sh && ./test/bin/aws.sh'
-c 'cd /gopath/src/github.com/Fred78290/kubernetes-cloud-autoscaler && ./test/bin/lxd.sh && ./test/bin/vsphere.sh && ./test/bin/aws.sh'

.PHONY: all build test-in-docker test-unit clean docker-builder build-in-docker push-image push-manifest

0 comments on commit 05696d0

Please sign in to comment.