Skip to content

Commit

Permalink
Merge pull request #945 from stuartwdouglas/rebase-issue2
Browse files Browse the repository at this point in the history
  • Loading branch information
rnc authored Nov 28, 2023
2 parents ce7f188 + 1e4185b commit 755eb93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/reconciler/dependencybuild/dependencybuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ func (r *ReconcileDependencyBuild) handleBuildPipelineRunReceived(ctx context.Co
var digest string
var passedVerification bool
var verificationResults string
var gavs []string
var hermeticBuildImage string
var deployed []string
for _, i := range pr.Status.Results {
Expand All @@ -676,6 +675,8 @@ func (r *ReconcileDependencyBuild) handleBuildPipelineRunReceived(ctx context.Co
} else if i.Name == artifactbuild.PipelineResultDeployedResources && len(i.Value.StringVal) > 0 {
//we need to create 'DeployedArtifact' resources for the objects that were deployed
deployed = strings.Split(i.Value.StringVal, ",")
} else if i.Name == artifactbuild.PipelineResultHermeticBuildImage {
hermeticBuildImage = i.Value.StringVal
}
}
err = r.createRebuiltArtifacts(ctx, log, pr, db, image, digest, deployed)
Expand All @@ -688,7 +689,7 @@ func (r *ReconcileDependencyBuild) handleBuildPipelineRunReceived(ctx context.Co
ImageDigest: digest,
Verified: passedVerification,
VerificationResults: verificationResults,
Gavs: gavs,
Gavs: deployed,
HermeticBuildImage: hermeticBuildImage,
}
problemContaminates := db.Status.ProblemContaminates()
Expand Down

0 comments on commit 755eb93

Please sign in to comment.