mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
Scale down minikube specs and runner (#245)
* Scale down minikube specs and runner * Scale down registry-cache and minikube again * Use runner which can be used in a public repo * Increase minikube size for services without resource requests Also rename github action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Docker Compose integration tests
|
||||
name: Minikube Integration Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -50,7 +50,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: gha-ubuntu-32
|
||||
runs-on: gha-ubuntu-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
### Minimum Requirements
|
||||
|
||||
- **CPU:** 8 cores
|
||||
- **Memory:** 64 GB RAM
|
||||
- **Memory:** 16 GB RAM
|
||||
- **Storage:** 100 GB available disk space
|
||||
- **Network:** Stable internet connection for downloading dependencies
|
||||
|
||||
@@ -137,4 +137,4 @@ kubectl logs -n crs <pod-name> -f
|
||||
- [Manual Setup Guide](MANUAL_SETUP.md) - Detailed manual installation steps
|
||||
- [AKS Deployment Guide](AKS_DEPLOYMENT.md) - Production deployment on Azure
|
||||
- [Contributing Guidelines](CONTRIBUTING.md) - Development workflow and standards
|
||||
- [Deployment Documentation](deployment/README.md) - Advanced deployment configuration
|
||||
- [Deployment Documentation](deployment/README.md) - Advanced deployment configuration
|
||||
|
||||
@@ -87,7 +87,7 @@ up() {
|
||||
;;
|
||||
*)
|
||||
echo -e "${BLU}Deploying minikube cluster${NC}"
|
||||
minikube status | grep -q "kubelet: Running" || minikube start --force --extra-config=kubeadm.skip-phases=preflight --cpus=8 --memory=32g --disk-size=80g --driver=docker --kubernetes-version=stable
|
||||
minikube status | grep -q "kubelet: Running" || minikube start --force --extra-config=kubeadm.skip-phases=preflight --cpus=6 --memory=10g --disk-size=80g --driver=docker --kubernetes-version=stable
|
||||
echo -e "${GRN}Minikube cluster status:${NC}"
|
||||
minikube status
|
||||
|
||||
|
||||
@@ -56,5 +56,5 @@ resources:
|
||||
cpu: 2000m
|
||||
memory: 2048Mi
|
||||
requests:
|
||||
cpu: 1000m
|
||||
memory: 1024Mi
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
|
||||
Reference in New Issue
Block a user