Get access to the Gitlabrunner playground with one click
Welcome to the GitLab Runner Playground!
GitLab Runner — the open-source agent that executes CI/CD jobs defined in your .gitlab-ci.yml. Learn registration, executor types, and pipeline execution.
Tip: To register this runner with a real GitLab project, you need a registration token from Settings → CI/CD → Runners in your GitLab project.
What’s Pre-installed
- gitlab-runner (latest) — the full runner binary
- Shell: bash (running as
codeground) - Base tools: curl, wget, git, vim, nano
Quick Start
gitlab-runner --version gitlab-runner --help gitlab-runner status
Common Workflows
# Register a runner (shell executor) gitlab-runner register \ --non-interactive \ --url "https://gitlab.com/" \ --registration-token "YOUR_TOKEN" \ --executor "shell" \ --description "my-runner" \ --tag-list "linux,shell" # List registered runners gitlab-runner list # Run a single job manually gitlab-runner exec shell <job-name>
Advanced Tips
# Verify runner configuration
cat ~/.gitlab-runner/config.toml
# Run in debug mode
gitlab-runner --debug run
# Custom executor: Docker (requires Docker daemon)
# Register with executor=docker and image=alpine:latest
# .gitlab-ci.yml example
cat > .gitlab-ci.yml <<'EOF'
stages:
- build
- test
build:
stage: build
script:
- echo "Building..."
test:
stage: test
script:
- echo "Testing..."
EOFSession Notes
- Session lasts 1 hour.
- You need a GitLab project token to register this runner with a real project.