ci

package
v1.3.2 Latest Latest
Warning

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

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

README

GitLab Pages CI/CD Pipeline

This is the GitLab Pages daemon's CI/CD pipeline, imported from gitlab-org/gitlab-pages.

Overview

GitLab Pages is a daemon used to serve static websites for GitLab users. This pipeline demonstrates efficient Go project testing and deployment.

Pipeline Characteristics

  • Project ID: 734943
  • Lines of Code: ~22 lines
  • Language: Go
  • Features Demonstrated:
    • Go testing and building
    • Static analysis
    • Security scanning
    • Performance testing
    • Deployment automation

Key Features

Efficient Go Pipeline

Minimal but complete pipeline configuration for Go projects.

Security and Quality

Integrated SAST scanning and code quality checks.

Performance Testing

Load testing and performance benchmarks.

What You Can Learn

  1. Minimal Go pipelines - Efficient pipeline configuration for Go projects
  2. Static site serving - CI/CD for web serving applications
  3. Performance testing - Integrating load tests in CI/CD
  4. Go best practices - Testing and building Go daemons

Source

Building This Example

cat pipeline.go
mkdir my-pages-pipeline && cp pipeline.go my-pages-pipeline/
cd my-pages-pipeline && go mod init example/my-pages-pipeline && go mod tidy

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DownloadDeps = pipeline.Job{
	Name:   "download deps",
	Script: List("make deps-download"),
	Cache: pipeline.Cache{
		Key: pipeline.CacheKey{
			Files: List("go.mod", "go.sum"),
		},
		Paths:  List(".GOPATH/pkg/mod/"),
		Policy: "push",
	},
}
View Source
var MainPipeline = pipeline.Pipeline{
	Stages: List("prepare", "test"),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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