mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Add docker image tests - container-structure-test-config and dive-ci (#365)
This commit is contained in:
parent
f1822ed810
commit
4874cfe42e
4 changed files with 95 additions and 6 deletions
13
.github/.dive-ci.yaml
vendored
Normal file
13
.github/.dive-ci.yaml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
rules:
|
||||
# If the efficiency is measured below X%, mark as failed.
|
||||
# Expressed as a ratio between 0-1.
|
||||
lowestEfficiency: 0.99
|
||||
|
||||
# If the amount of wasted space is at least X or larger than X, mark as failed.
|
||||
# Expressed in B, KB, MB, and GB.
|
||||
highestWastedBytes: 12MB
|
||||
|
||||
# If the amount of wasted space makes up for X% or more of the image, mark as failed.
|
||||
# Note: the base image layer is NOT included in the total image size.
|
||||
# Expressed as a ratio between 0-1; fails if the threshold is met or crossed.
|
||||
highestUserWastedPercent: 0.02
|
||||
Loading…
Add table
Add a link
Reference in a new issue