gitlabimport

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gitlabimport converts a .gitlab-ci.yml into a local-ci config. The formats are siblings, so most of a typical file maps one-to-one (stages, scripts, images, variables, services, artifacts, needs, retry, timeout, cache, extends, parallel:matrix). Whatever has no local-ci equivalent is dropped and reported as a note instead of failing the import — the goal is a runnable starting point plus an honest list of what didn't carry over.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	YAML  []byte
	Notes []string
}

func Convert

func Convert(data []byte) (*Result, error)

Convert translates .gitlab-ci.yml content into local-ci YAML plus notes about everything that could not be carried over.

Jump to

Keyboard shortcuts

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