Discover Packages
github.com/glincker/levelrail
internal
ciimport
package
Version:
v1.5.20
Opens a new window with list of versions in this module.
Published: Dec 4, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ciimport converts other CI systems' pipeline files into pipeline
definitions. It only reads text: nothing from the input is ever executed.
DefaultImage is the job image used when the source names a hosted runner.
View Source
var DefaultLimits = Limits {MaxBytes: 512 << 10, MaxDepth: 40, MaxNodes: 20000, MaxFiles: 100}
DefaultLimits are used for any limit left at zero.
Sources lists the supported source names.
File is one converted pipeline.
type Limits struct {
MaxBytes int
MaxDepth int
MaxNodes int
MaxFiles int
}
Limits bound what one import reads and walks.
LimitsFromEnv reads APP_CI_IMPORT_MAX_* overrides.
Options tune a conversion.
type Report struct {
Source string `json:"source"`
Rows []Row `json:"rows"`
Secrets []string `json:"secrets"`
}
Report lists every construct and the secrets the pipelines expect, by name.
Counts tallies rows per status.
Markdown renders the report.
Summary is a one line tally.
Result is the converted pipelines and the account of every construct.
Import converts a file, or every pipeline file under a directory.
type Row struct {
File string `json:"file"`
Line int `json:"line"`
Construct string `json:"construct"`
Status Status `json:"status"`
Note string `json:"note,omitempty"`
}
Row accounts for one source construct.
Status says how faithfully one construct was converted.
const (
StatusMapped Status = "mapped"
StatusPartial Status = "partial"
StatusUnsupported Status = "unsupported"
)
Report statuses.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.