mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
ensure acceptance tests use existing snapshot dir
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
7f4e8ab97d
commit
37b96a241b
6
Makefile
6
Makefile
@ -176,8 +176,9 @@ $(SNAPSHOTDIR): ## Build snapshot release binaries and packages
|
|||||||
BUILD_GIT_TREE_STATE=$(GITTREESTATE) \
|
BUILD_GIT_TREE_STATE=$(GITTREESTATE) \
|
||||||
$(TEMPDIR)/goreleaser release --skip-publish --rm-dist --snapshot --config $(TEMPDIR)/goreleaser.yaml
|
$(TEMPDIR)/goreleaser release --skip-publish --rm-dist --snapshot --config $(TEMPDIR)/goreleaser.yaml
|
||||||
|
|
||||||
|
# note: we cannot clean the snapshot directory since the pipeline builds the snapshot separately
|
||||||
.PHONY: acceptance-mac
|
.PHONY: acceptance-mac
|
||||||
acceptance-mac: clean-snapshot $(SNAPSHOTDIR) ## Run acceptance tests on build snapshot binaries and packages (Mac)
|
acceptance-mac: $(SNAPSHOTDIR) ## Run acceptance tests on build snapshot binaries and packages (Mac)
|
||||||
$(call title,Running acceptance test: Run on Mac)
|
$(call title,Running acceptance test: Run on Mac)
|
||||||
$(ACC_DIR)/mac.sh \
|
$(ACC_DIR)/mac.sh \
|
||||||
$(SNAPSHOTDIR) \
|
$(SNAPSHOTDIR) \
|
||||||
@ -185,8 +186,9 @@ acceptance-mac: clean-snapshot $(SNAPSHOTDIR) ## Run acceptance tests on build s
|
|||||||
$(ACC_TEST_IMAGE) \
|
$(ACC_TEST_IMAGE) \
|
||||||
$(RESULTSDIR)
|
$(RESULTSDIR)
|
||||||
|
|
||||||
|
# note: we cannot clean the snapshot directory since the pipeline builds the snapshot separately
|
||||||
.PHONY: acceptance-linux
|
.PHONY: acceptance-linux
|
||||||
acceptance-linux: clean-snapshot acceptance-test-deb-package-install acceptance-test-rpm-package-install ## Run acceptance tests on build snapshot binaries and packages (Linux)
|
acceptance-linux: acceptance-test-deb-package-install acceptance-test-rpm-package-install ## Run acceptance tests on build snapshot binaries and packages (Linux)
|
||||||
|
|
||||||
# note: this is used by CI to determine if the inline-scan report cache should be busted for the inline-compare tests
|
# note: this is used by CI to determine if the inline-scan report cache should be busted for the inline-compare tests
|
||||||
.PHONY: compare-fingerprint
|
.PHONY: compare-fingerprint
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user