Documentation
¶
Index ¶
- func AddCancelCommentForLatestPipelineRunOnTag(tag string)
- func AddComment(comment string)
- func AddCommitCommentOnTag(comment, tag string)
- func AddLabel(label, color, description string)
- func AddTestCommentForLatestPipelineRunOnTag(tag string)
- func AssertPACInfoInstall()
- func CleanupPAC(c *clients.Clients, smeeDeploymentName, namespace string)
- func CleanupPACGitHub(c *clients.Clients, smeeDeploymentName, namespace string)
- func ConfigurePreviewChanges()
- func ConfigurePreviewChangesGitHub()
- func CreateTagOnBranch(tagName, branch string)
- func GeneratePipelineRunYaml(eventType, branch string)
- func GetPipelineName(validateMR bool) (pipelineName string)
- func GetPipelineNameFromMR() (pipelineName string)
- func GetPushPipelineNameFromMain() (pipelineName string)
- func InitGitHubClient() *github.Client
- func InitGitLabClient() *gitlab.Client
- func SetGitHubClient(c *github.Client)
- func SetGitLabClient(c *gitlab.Client)
- func SetupGitHubProject() *github.Repository
- func SetupGitLabProject() *gitlab.Project
- func SetupSmeeDeployment()
- func TriggerPushOnForkMain()
- func TriggerPushOnGitHubMain()
- func UpdateAnnotation(annotationKey, annotationValue string)
- func UpdatePushOnTargetBranch(target string)
- func WaitForNewPipelineRunName(previousName string) string
- func WaitForNewPipelineRunNameByEventType(previousName, eventType string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCancelCommentForLatestPipelineRunOnTag ¶
func AddCancelCommentForLatestPipelineRunOnTag(tag string)
func AddCommitCommentOnTag ¶
func AddCommitCommentOnTag(comment, tag string)
func AddTestCommentForLatestPipelineRunOnTag ¶
func AddTestCommentForLatestPipelineRunOnTag(tag string)
func AssertPACInfoInstall ¶
func AssertPACInfoInstall()
func CleanupPAC ¶
func CleanupPACGitHub ¶
func ConfigurePreviewChanges ¶
func ConfigurePreviewChanges()
func ConfigurePreviewChangesGitHub ¶
func ConfigurePreviewChangesGitHub()
func CreateTagOnBranch ¶
func CreateTagOnBranch(tagName, branch string)
CreateTagOnBranch creates a Git tag on the specified branch in the current GitLab project.
func GeneratePipelineRunYaml ¶
func GeneratePipelineRunYaml(eventType, branch string)
func GetPipelineName ¶
GetPipelineName gets the latest pipeline run
func GetPipelineNameFromMR ¶
func GetPipelineNameFromMR() (pipelineName string)
func GetPushPipelineNameFromMain ¶
func GetPushPipelineNameFromMain() (pipelineName string)
func InitGitHubClient ¶
InitGitHubClient initializes a GitHub client for GitHub
func SetGitHubClient ¶
func SetGitLabClient ¶
func SetupGitHubProject ¶
func SetupGitHubProject() *github.Repository
SetupGitHubProject creates a new GitHub repository
func SetupGitLabProject ¶
func SetupSmeeDeployment ¶
func SetupSmeeDeployment()
func TriggerPushOnForkMain ¶
func TriggerPushOnForkMain()
func TriggerPushOnGitHubMain ¶
func TriggerPushOnGitHubMain()
func UpdateAnnotation ¶
func UpdateAnnotation(annotationKey, annotationValue string)
updateAnnotation updates the specified annotation in the pull-request.yaml file
func UpdatePushOnTargetBranch ¶
func UpdatePushOnTargetBranch(target string)
UpdatePushOnTargetBranch updates the pipelinesascode.tekton.dev/on-target-branch
func WaitForNewPipelineRunNameByEventType ¶
WaitForNewPipelineRunNameByEventType waits for a new PipelineRun with the given PaC event type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.