appgitlab

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitLabWorkflowTask

func GitLabWorkflowTask(taskContext taskcommon.TaskContext, dryRun bool) (apptask.WorkflowTaskResult, error)

GitLabWorkflowTask generates a project-specific GitLab workflow file and creates a pull request

Links of interest: https://gitlab.com/gitlab-org/gitlab/-/tree/master/doc/ci/runners/hosted_runners?ref_type=heads for all available runner tags

Types

type RenderWorkflowResult

type RenderWorkflowResult struct {
	WorkflowContent string
}

type TemplateData

type TemplateData struct {
	Version                      string                           `json:"version"`
	ContainerRuntime             string                           `json:"container_runtime"`
	RunnerTags                   []string                         `json:"runner_tags,omitempty"`
	Stages                       []string                         `json:"stages"`
	Workflows                    []appconfig.WorkflowData         `json:"workflows"`
	WorkflowDependency           map[string]dependency.Dependency `json:"workflow_dependency"`
	ReferencedWorkflowDependency map[string]dependency.Dependency `json:"-"`
}

func (*TemplateData) GetDependency

func (t *TemplateData) GetDependency(key string) dependency.Dependency

func (*TemplateData) GetDependencyReference

func (t *TemplateData) GetDependencyReference(key string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL