Skip to content

Commit

Permalink
chore: removed unused constants (#2402)
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek authored Jun 27, 2024
1 parent d7c4f1b commit 3eab5fc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/pipelines/tekton/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ const (
// Tasks references for PAC PipelineRun that are defined in the annotations
taskGitCloneRef = "git-clone"

// Following section contains references for Tasks to be used in Pipeline templates,
// there is a difference if we use PAC approach or standard Tekton approach.
//
// This can be simplified once we start consuming tasks from Tekton Hub
taskFuncBuildpacksPACTaskRef = `taskRef:
kind: Task
name: func-buildpacks`
taskFuncS2iPACTaskRef = `taskRef:
kind: Task
name: func-s2i`
taskFuncDeployPACTaskRef = `taskRef:
kind: Task
name: func-deploy`

// Following part holds a reference to Git Clone Task to be used in Pipeline template,
// the usage depends whether we use direct code upload or Git reference for a standard (non PAC) on-cluster build
taskGitClonePACTaskRef = `- name: fetch-sources
Expand Down

0 comments on commit 3eab5fc

Please sign in to comment.