š 1. Introduction
AutoForge is a modern DevOps automation tool designed to help teams automate:
- CI/CD pipelines
- Infrastructure provisioning
- Secrets management
- Monitoring setup
Built for speed, security, and scalability, AutoForge works across cloud providers and supports GitOps workflows out of the box.
š ļø 2. Installation
š§ Prerequisites
- Node.js >= 18
- Docker (optional, for container builds)
- Git
- A supported CI provider (GitHub Actions, GitLab CI, etc.)
š¦ Install via NPM
npm install -g autoforge
Or use Docker:
docker run --rm -it autoforge/autoforge:latest
āļø 3. Configuration
AutoForge uses a single YAML configuration file:
# autoforge.yml
project: my-app
environment: staging
pipeline:
- lint
- test
- build
- deploy
notifications:
slack: true
šļø File Structure
.
āāā autoforge.yml
āāā scripts/
ā āāā build.sh
ā āāā deploy.sh
āāā .github/workflows/
ā āāā ci.yml
š 4. Usage
š Running the Pipeline
autoforge run
You can target specific steps:
autoforge run --steps=lint,test
š¤ Deploy
autoforge deploy --env=production
š§ 5. CLI Reference
autoforge init
Initialize a new project:
autoforge init
autoforge run
Run all or some of the pipeline steps:
autoforge run --steps=build,test
autoforge deploy
Trigger a deployment:
autoforge deploy --env=staging
āļø 6. CI/CD Integration
AutoForge supports native CI/CD integration.
ā GitHub Actions Example
# .github/workflows/ci.yml ]
name: AutoForge CI
on:
push:
branches: [ mainjobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install -g autoforge
- run: autoforge run
š 7. Troubleshooting
| Problem | Solution |
|---|---|
autoforge: command not found | Ensure it's installed globally (npm install -g autoforge) |
| Pipeline step fails unexpectedly | Run with --debug to get detailed logs |
| Deployment hangs | Check SSH or cloud provider access credentials |
ā 8. FAQs
Q: Does AutoForge support multi-cloud?
Yes. You can define separate pipeline steps for AWS, GCP, and Azure.
Q: Is there a UI?
Not yet. It's currently CLI-only, with dashboard support planned in v1.2.
š 9. Support & Contributing
š¬ Contact Support
- Email:
support@autoforge.dev - Slack: Join our Slack
š¤ Contribute
We welcome contributions!
- Fork the repo
- Create a new branch
- Submit a pull request
See CONTRIBUTING.md for more info.