Quick Start Guide¶
Get up and running with WebGrip Infrastructure in minutes, not hours.
Prerequisites¶
Before you begin, ensure you have:
- Docker installed and running
- Git for cloning repositories
- Access to the WebGrip organization on GitHub
Option 1: Using Pre-built Images (Recommended)¶
The fastest way to get started is using our pre-built images from Docker Hub.
π¦ Rust Development¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
π End-to-End Testing¶
1 2 3 4 5 6 7 8 9 | |
βοΈ Local GitHub Actions Testing¶
1 2 3 4 5 6 7 8 9 10 | |
βΈοΈ Kubernetes Deployment¶
1 2 3 4 5 6 7 8 9 10 | |
Option 2: Building Locally¶
If you need to modify images or test local changes:
Clone the Repository¶
1 2 | |
Build Specific Images¶
1 2 3 4 5 6 7 | |
Verify Local Builds¶
1 2 3 4 5 6 7 8 | |
Common Use Cases¶
π Setting Up CI/CD for a New Project¶
-
Choose the appropriate images for your technology stack:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# .github/workflows/ci.yml jobs: test: runs-on: ubuntu-latest container: webgrip/rust-ci-runner:latest steps: - uses: actions/checkout@v4 - run: cargo test e2e-test: runs-on: ubuntu-latest container: webgrip/playwright-runner:latest steps: - uses: actions/checkout@v4 - run: npx playwright test -
Configure deployment using the Helm image:
1 2 3 4 5 6 7
deploy: needs: [test, e2e-test] runs-on: ubuntu-latest container: webgrip/helm-deploy:latest steps: - uses: actions/checkout@v4 - run: helm upgrade --install myapp ./charts/myapp
π§ͺ Local Development Workflow¶
-
Start your development environment:
1 2 3
# For Rust projects docker run -it --rm -v $(pwd):/workspace -w /workspace \ webgrip/rust-ci-runner:latest bash -
Test your changes locally before pushing:
1 2 3 4
# Test GitHub Actions workflows docker run -it --rm -v $(pwd):/workspace -w /workspace \ -v /var/run/docker.sock:/var/run/docker.sock \ webgrip/act-runner:latest act -
Run end-to-end tests:
1 2
docker run -it --rm -v $(pwd):/app -w /app \ webgrip/playwright-runner:latest npx playwright test
π Release Process¶
For Rust projects, use our release automation:
1 2 3 4 5 6 7 8 9 10 | |
Environment-Specific Configurations¶
Development Environment¶
1 2 3 4 5 6 | |
Production Environment¶
1 2 3 4 5 6 | |
Troubleshooting¶
Common Issues¶
"Permission denied" errors
1 2 3 4 | |
Image not found
1 2 3 4 5 | |
Container exits immediately
1 2 3 4 5 | |
Getting Help¶
-
Check the logs first:
1docker logs -f <container-name> -
Verify image integrity:
1docker inspect webgrip/rust-ci-runner:latest -
Test with minimal setup:
1docker run --rm webgrip/rust-ci-runner:latest rustc --version
Next Steps¶
Now that you're up and running:
- Explore individual images: Check out detailed documentation for each Docker image
- Understand the CI/CD pipeline: Learn about our automated building process
- Contribute improvements: Read our contributing guide
- Set up testing: Configure Playwright testing for your projects
Quick Reference¶
Image Quick Reference¶
| Need | Use This Image | Quick Command |
|---|---|---|
| Rust development | webgrip/rust-ci-runner |
docker run -it --rm -v $(pwd):/workspace webgrip/rust-ci-runner bash |
| E2E testing | webgrip/playwright-runner |
docker run --rm -v $(pwd):/app webgrip/playwright-runner npx playwright test |
| K8s deployment | webgrip/helm-deploy |
docker run --rm -v $(pwd):/workspace webgrip/helm-deploy helm version |
| Local Actions testing | webgrip/act-runner |
docker run --rm -v $(pwd):/workspace webgrip/act-runner act |
| GitHub Actions runner | webgrip/github-runner |
See GitHub Runner docs |
| Release automation | webgrip/rust-releaser |
See Rust Releaser docs |
Resource Links¶
- π Architecture Overview - Understanding the big picture
- π οΈ Operations Guide - Building and maintaining images
- π Issue Tracker - Report problems or request features
- π¬ Team Contact - Get help from the ops team