From 316ce856f7949e043ce21dbd50df0b36e2760c59 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 26 Jun 2022 20:43:03 -0700 Subject: [PATCH] cleanup, remove -race flag when testing (requires CGO) --- .github/workflows/remove-old-artifacts.yaml | 19 ------------------- Makefile | 2 +- docker/Dockerfile.xgo | 7 ------- docker/Vagrantfile | 18 ------------------ 4 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 .github/workflows/remove-old-artifacts.yaml delete mode 100644 docker/Dockerfile.xgo delete mode 100644 docker/Vagrantfile diff --git a/.github/workflows/remove-old-artifacts.yaml b/.github/workflows/remove-old-artifacts.yaml deleted file mode 100644 index f3cfe09..0000000 --- a/.github/workflows/remove-old-artifacts.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Cleanup Artifacts - -on: - schedule: - # Every day at 1am - - cron: '0 1 * * *' - -jobs: - remove-old-artifacts: - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - name: Remove old artifacts - uses: c-hive/gha-remove-artifacts@v1 - with: - age: '1 day' - skip-tags: true - skip-recent: 5 diff --git a/Makefile b/Makefile index 11e2ff9..fc70739 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ binary-test: binary-dep .PHONY: binary-test-coverage binary-test-coverage: binary-dep - go test -race -coverprofile=coverage.txt -covermode=atomic -v $(STATIC_TAGS) ./... + go test -coverprofile=coverage.txt -covermode=atomic -v $(STATIC_TAGS) ./... .PHONY: binary-collector binary-collector: binary-dep diff --git a/docker/Dockerfile.xgo b/docker/Dockerfile.xgo deleted file mode 100644 index dd4d856..0000000 --- a/docker/Dockerfile.xgo +++ /dev/null @@ -1,7 +0,0 @@ -FROM techknowlogick/xgo:go-1.17.x - -WORKDIR /go/src/github.com/analogj/scrutiny - -COPY . /go/src/github.com/analogj/scrutiny - -RUN make all diff --git a/docker/Vagrantfile b/docker/Vagrantfile deleted file mode 100644 index 52310af..0000000 --- a/docker/Vagrantfile +++ /dev/null @@ -1,18 +0,0 @@ -# This vagrant file is only used for local development & testing. - -Vagrant.configure("2") do |config| - config.vm.guest = :freebsd - config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true - config.vm.box = "freebsd/FreeBSD-11.0-CURRENT" - config.ssh.shell = "sh" - config.vm.base_mac = "080027D14C66" - - config.vm.provider :virtualbox do |vb| - vb.customize ["modifyvm", :id, "--memory", "1024"] - vb.customize ["modifyvm", :id, "--cpus", "1"] - vb.customize ["modifyvm", :id, "--hwvirtex", "on"] - vb.customize ["modifyvm", :id, "--audio", "none"] - vb.customize ["modifyvm", :id, "--nictype1", "virtio"] - vb.customize ["modifyvm", :id, "--nictype2", "virtio"] - end -end