Merge pull request #88 from chubchubsancho/validate_manifest_on_sync

feat: allow --validate on sync command
This commit is contained in:
Quan TRAN
2022-05-30 10:11:53 +02:00
committed by GitHub
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -363,6 +363,7 @@ func (a *App) Sync(c SyncConfigProvider) error {
WaitForJobs: c.WaitForJobs(),
IncludeCRDs: &includeCRDs,
IncludeTransitiveNeeds: c.IncludeTransitiveNeeds(),
Validate: c.Validate(),
}, func() {
ok, errs = a.sync(run, c)
})
+2
View File
@@ -85,6 +85,8 @@ type SyncConfigProvider interface {
Wait() bool
WaitForJobs() bool
Validate() bool
SkipNeeds() bool
IncludeNeeds() bool
IncludeTransitiveNeeds() bool