Skip to content

Commit

Permalink
fix(gcb): Bind artifacts produced from GCB stage
Browse files Browse the repository at this point in the history
Because we didn't include the BindProducedArtifacts task in the
GCB stage, produced artifacts were not matched to expected artifacts,
which prevented correctly using them downstream.
  • Loading branch information
ezimanyi authored and maggieneterval committed Jun 11, 2019
1 parent 5a047c9 commit 76f128f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import com.netflix.spinnaker.orca.pipeline.StageDefinitionBuilder;
import com.netflix.spinnaker.orca.pipeline.TaskNode;
import com.netflix.spinnaker.orca.pipeline.model.Stage;
import com.netflix.spinnaker.orca.pipeline.tasks.artifacts.BindProducedArtifactsTask;
import javax.annotation.Nonnull;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand All @@ -38,6 +39,7 @@ public void taskGraph(@Nonnull Stage stage, @Nonnull TaskNode.Builder builder) {
builder
.withTask("startGoogleCloudBuildTask", StartGoogleCloudBuildTask.class)
.withTask("monitorGoogleCloudBuildTask", MonitorGoogleCloudBuildTask.class)
.withTask("getGoogleCloudBuildArtifactsTask", GetGoogleCloudBuildArtifactsTask.class);
.withTask("getGoogleCloudBuildArtifactsTask", GetGoogleCloudBuildArtifactsTask.class)
.withTask("bindProducedArtifacts", BindProducedArtifactsTask.class);
}
}

0 comments on commit 76f128f

Please sign in to comment.