Skip to content

Commit

Permalink
Remove git lfs from the repo to avoid quota exhausted issues in CI bu…
Browse files Browse the repository at this point in the history
…ild (#269)
  • Loading branch information
ddelnano authored Oct 7, 2023
1 parent 9d5e647 commit 42db18a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ main.tf
terraform.tfstate*
dist/
vendor
xoa/testdata/alpine-virt-3.17.0-x86_64.iso
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: import testacc testclient test dist
.PHONY: import testacc testclient test dist ci

TIMEOUT ?= 40m
GOMAXPROCS ?= 5
Expand Down Expand Up @@ -36,7 +36,12 @@ test: testclient testacc
testclient:
cd client; go test $(TEST) -v -count 1

testacc:
testacc: xoa/testdata/alpine-virt-3.17.0-x86_64.iso
TF_ACC=1 $(TF_LOG) go test $(TEST) -parallel $(GOMAXPROCS) -v -count 1 -timeout $(TIMEOUT) -sweep=true
ci:

# This file was previously stored in the git repo with git lfs. GitHub
# has a very low quota for number of allowed clones and so this needed
# to be removed from the repo. Add a target to enforce that the CI system
# has copied that file into place before the tests run
ci: xoa/testdata/alpine-virt-3.17.0-x86_64.iso
TF_ACC=1 gotestsum --debug --rerun-fails=5 --max-fails=15 --packages=./xoa -- ./xoa -v -count=1 -timeout=$(TIMEOUT) -sweep=true -parallel=$(GOMAXPROCS)

0 comments on commit 42db18a

Please sign in to comment.