diff --git a/go.mod b/go.mod index 4097271..7bd0f43 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 //replace github.com/kube-cicd/pipelines-feedback-core => /home/damian/Projekty/open-source/pipelines-feedback/pipelines-feedback-core require ( - github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231124134255-f9c518b17d83 + github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231125185757-d3992108f3f0 github.com/pkg/errors v0.9.1 github.com/tektoncd/cli v0.33.0 github.com/tektoncd/pipeline v0.53.0 diff --git a/go.sum b/go.sum index 7864da0..1da45b0 100644 --- a/go.sum +++ b/go.sum @@ -322,6 +322,8 @@ github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231107214332-2d6cc283fb5b github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231107214332-2d6cc283fb5b/go.mod h1:lR+kCNBZTHxFZrWsZbA+V1PsjkwUDLs4lmgKlBN6xoo= github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231124134255-f9c518b17d83 h1:NoHCiGi0Th96AKQPhkONQVtG1rXWN/Rtk6+MXNlrmZY= github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231124134255-f9c518b17d83/go.mod h1:yACKqojfh1AmTpE5hqtGW2lHUae2a25kPFuKr81L7KQ= +github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231125185757-d3992108f3f0 h1:GTT4unCWIboPDvmFG+WKMfNxynUXA88k5gdM2iaCN0M= +github.com/kube-cicd/pipelines-feedback-core v0.0.0-20231125185757-d3992108f3f0/go.mod h1:yACKqojfh1AmTpE5hqtGW2lHUae2a25kPFuKr81L7KQ= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= diff --git a/pkgs/core/provider.go b/pkgs/core/provider.go index f24d756..1d19fee 100644 --- a/pkgs/core/provider.go +++ b/pkgs/core/provider.go @@ -114,6 +114,7 @@ func (prp *PipelineRunProvider) ReceivePipelineInfo(ctx context.Context, name st stages, labels.Set(pipelineRun.GetLabels()), labels.Set(pipelineRun.GetAnnotations()), + &globalCfg, contract.PipelineInfoWithUrl(dashboardUrl), contract.PipelineInfoWithLogsCollector(func() string { return prp.fetchLogs(pipelineRun) }), )