Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove quality gate Makefile db age check #2036

Merged

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Aug 6, 2024

Since we lowered the number of days in the database listing file, it causes an issue in the quality tests here, since the Makefile validates the database exists in the listing file and would require updating the database URL quite frequently. This PR just removes the pseudo-age-check since we're already updating this every month with an automated workflow.

@kzantow kzantow added the changelog-ignore Don't include this issue in the release changelog label Aug 6, 2024
$(YARDSTICK) -v result capture -r $(RESULT_SET)

.PHONY: check-db
check-db:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to set a DB max age in yardstick config or something to ensure that we don't run grype quality against a super old DB forever?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wagoodman

This comment was marked as outdated.

@wagoodman wagoodman merged commit b12a6f2 into anchore:main Aug 12, 2024
10 checks passed
@kzantow kzantow deleted the chore/remove-quality-gate-db-age-check branch August 12, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-ignore Don't include this issue in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants