Learn DRONE-CI with Real Code Examples
Updated Nov 27, 2025
Installation Setup
Install Drone server (Docker image or binary)
Install Drone agents (Docker or Kubernetes)
Configure SCM webhooks (GitHub, GitLab, Bitbucket)
Set up secrets and credentials for pipelines
Verify server and agent connectivity
Environment Setup
Install Drone server
Install Drone agents
Configure SCM webhooks
Add secrets and credentials
Verify server/agent connectivity
Config Files
.drone.yml - pipeline definition
Dockerfiles for step images
Environment variable files (.env)
Scripts referenced by steps
Secrets configuration
Cli Commands
drone lint .drone.yml
drone exec
drone build <repo>
drone info <repo>
drone secret add <repo> <name> <value>
Internationalization
Supports Unicode in outputs
Time-zone aware cron triggers
Multi-lingual notifications via plugins
Integration with multi-region SCM
YAML supports UTF-8 and international characters
Accessibility
Web-based UI
CLI for automation
Pipeline as code ensures portability
Accessible across platforms supporting Docker
Notification integrations for visibility
Ui Styling
Drone web UI for pipeline visualization
Step execution graphs
Logs and metrics visualization
Lightweight dashboard
CLI interface for pipelines
State Management
Step logs
Pipeline execution state
Agent workspace cleanup
Artifact tracking
Event-triggered pipeline runs
Data Management
Source code in SCM
Pipeline YAML definition
Secrets stored securely
Build artifacts and images
Test reports