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

Crafty 4 Minecraft Server Controller CI/CD Pipeline

This is Crafty 4's CI/CD pipeline, imported from crafty-controller/crafty-4.

Overview

Crafty 4 is a Minecraft server wrapper and controller with a web interface. This pipeline demonstrates Python web application testing and packaging.

Pipeline Characteristics

  • Project ID: 20430749
  • Lines of Code: ~21 lines
  • Language: Python
  • Features Demonstrated:
    • Python web application testing
    • Linting with pylint/flake8
    • Package building
    • Container image creation
    • Bedrock server support

Key Features

Python Web Application Pipeline

Clean, straightforward pipeline for Python web applications.

Code Quality Checks

Integrated linting and code quality tools.

Multi-Platform Support

Supports both Java Edition and Bedrock Edition Minecraft servers.

Container Distribution

Packages the application as a container for easy deployment.

What You Can Learn

  1. Python web app CI/CD - Testing and deploying Python web applications
  2. Code quality - Integrating linters and formatters
  3. Game server automation - Managing game servers programmatically
  4. Container packaging - Distributing Python apps as containers

Source

Building This Example

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainPipeline = pipeline.Pipeline{
	Stages: List("lint", "test", "build-and-deploy", "release"),
	Variables: Json{
		"DOCKER_HOST":        "tcp://docker:2376",
		"DOCKER_TLS_CERTDIR": "/certs",
	},
}
View Source
var SecretDetection = pipeline.Job{
	Name: "secret_detection",
	Variables: Json{
		"SECRET_DETECTION_EXCLUDED_PATHS": "migrations, vendors",
	},
}

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