mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-13 19:52:20 -04:00
attestationconfigapi: revise upload frequency (#3238)
* Add attestationconfigapi compare command * Only upload the lowest version for each verify test --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
a6b0885f18
commit
6c24963570
8 changed files with 153 additions and 50 deletions
|
@ -27,8 +27,11 @@ const (
|
|||
distributionID = constants.CDNDefaultDistributionID
|
||||
envCosignPwd = "COSIGN_PASSWORD"
|
||||
envCosignPrivateKey = "COSIGN_PRIVATE_KEY"
|
||||
// versionWindowSize defines the number of versions to be considered for the latest version. Each week 5 versions are uploaded for each node of the verify cluster.
|
||||
versionWindowSize = 15
|
||||
// versionWindowSize defines the number of versions to be considered for the latest version.
|
||||
// Through our weekly e2e tests, each week 2 versions are uploaded:
|
||||
// One from a stable release, and one from a debug image.
|
||||
// A window size of 6 ensures we update only after a version has been "stable" for 3 weeks.
|
||||
versionWindowSize = 6
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -56,6 +59,7 @@ func newRootCmd() *cobra.Command {
|
|||
|
||||
rootCmd.AddCommand(newUploadCmd())
|
||||
rootCmd.AddCommand(newDeleteCmd())
|
||||
rootCmd.AddCommand(newCompareCmd())
|
||||
|
||||
return rootCmd
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue