Documentation
¶
Index ¶
- func AddComment(comment string)
- func AddLabel(label, color, description string)
- func AssertPACInfoInstall()
- func CleanupPAC(c *clients.Clients, smeeDeploymentName, namespace string)
- func ConfigurePreviewChanges()
- func GeneratePipelineRunYaml(eventType, branch string)
- func GetPipelineName(validateMR bool) (pipelineName string)
- func GetPipelineNameFromMR() (pipelineName string)
- func GetPushPipelineNameFromMain() (pipelineName string)
- func InitGitLabClient() *gitlab.Client
- func SetGitLabClient(c *gitlab.Client)
- func SetupGitLabProject() *gitlab.Project
- func SetupSmeeDeployment()
- func TriggerPushOnForkMain()
- func UpdateAnnotation(annotationKey, annotationValue string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPACInfoInstall ¶
func AssertPACInfoInstall()
func CleanupPAC ¶
func ConfigurePreviewChanges ¶
func ConfigurePreviewChanges()
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 SetGitLabClient ¶
func SetupGitLabProject ¶
func SetupSmeeDeployment ¶
func SetupSmeeDeployment()
func TriggerPushOnForkMain ¶
func TriggerPushOnForkMain()
func UpdateAnnotation ¶
func UpdateAnnotation(annotationKey, annotationValue string)
updateAnnotation updates the specified annotation in the pull-request.yaml file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.