Skip to content

Commit

Permalink
fix: Remove unnecesary annotations from Pipeline-as-Code template
Browse files Browse the repository at this point in the history
  • Loading branch information
jrangelramos committed Oct 1, 2024
1 parent 6ee1781 commit 62fb9bb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions pkg/pipelines/tekton/templates_s2i.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ spec:
secret:
secretName: {{.SecretName}}
`
// s2iRunTemplatePAC contains the S2I template used for Tekton PAC PipelineRun
s2iRunTemplatePAC = `
// s2iRunTemplatePAC contains the S2I template used for Tekton PAC PipelineRun
s2iRunTemplatePAC = `
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
Expand All @@ -174,12 +174,6 @@ metadata:
# Fetch the git-clone task from hub
pipelinesascode.tekton.dev/task: {{.GitCloneTaskRef}}
# Fetch the func-s2i task
pipelinesascode.tekton.dev/task-1: {{.FuncS2iTaskRef}}
# Fetch the func-deploy task
pipelinesascode.tekton.dev/task-2: {{.FuncDeployTaskRef}}
# Fetch the pipelie definition from the .tekton directory
pipelinesascode.tekton.dev/pipeline: {{.PipelineYamlURL}}
Expand Down

0 comments on commit 62fb9bb

Please sign in to comment.