Skip to content

Commit

Permalink
update package deploy order to not make flux sad
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Feb 8, 2022
1 parent 0e84f6c commit 3a3e90e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cli/internal/packager/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ func deployComponents(tempPath tempPaths, component types.ZarfComponent) {
images.PushToZarfRegistry(tempPath.images, component.Images, config.ZarfRegistry)
}

if hasRepos {
// Push all the repos from the extracted archive
git.PushAllDirectories(componentPath.repos)
}

for _, chart := range component.Charts {
// zarf magic for the value file
for idx := range chart.ValuesFiles {
Expand Down Expand Up @@ -250,11 +255,6 @@ func deployComponents(tempPath tempPaths, component types.ZarfComponent) {
}
}

if hasRepos {
// Push all the repos from the extracted archive
git.PushAllDirectories(componentPath.repos)
}

for _, script := range component.Scripts.After {
loopScriptUntilSuccess(script, component.Scripts.Retry)
}
Expand Down

0 comments on commit 3a3e90e

Please sign in to comment.