PR feedback

cloud-runner-develop
Frostebite 2025-12-06 00:29:16 +00:00
parent ad9f2d31c3
commit f9ef711978
1 changed files with 18 additions and 8 deletions

View File

@ -41,6 +41,21 @@ jobs:
run: | run: |
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
k3d version | cat k3d version | cat
- name: Start LocalStack (S3)
uses: localstack/setup-localstack@v0.2.4
with:
install-awslocal: true
- name: Configure LocalStack for k3d access
run: |
# LocalStack should be accessible, but verify and configure if needed
# Check if LocalStack is running and accessible
curl -s http://localhost:4566/_localstack/health || echo "LocalStack health check failed"
# Ensure LocalStack is listening on all interfaces (should be default)
echo "LocalStack should be accessible at localhost:4566 and host.k3d.internal:4566"
- name: Create S3 bucket for tests (host LocalStack)
run: |
awslocal s3 mb s3://$AWS_STACK_NAME || true
awslocal s3 ls
- name: Create k3s cluster (k3d) - name: Create k3s cluster (k3d)
timeout-minutes: 5 timeout-minutes: 5
run: | run: |
@ -63,14 +78,9 @@ jobs:
kubectl get storageclass kubectl get storageclass
# Show node resources # Show node resources
kubectl describe nodes | grep -A 5 "Allocated resources" || true kubectl describe nodes | grep -A 5 "Allocated resources" || true
- name: Start LocalStack (S3) # Verify LocalStack is accessible from cluster via host.k3d.internal
uses: localstack/setup-localstack@v0.2.4 echo "Testing LocalStack connectivity from k3d cluster..."
with: kubectl run test-localstack-connectivity --image=curlimages/curl --rm -i --restart=Never --timeout=10s -- curl -s --max-time 5 http://host.k3d.internal:4566/_localstack/health 2>&1 || echo "Note: LocalStack connectivity test - this is expected to work once LocalStack is fully ready"
install-awslocal: true
- name: Create S3 bucket for tests (host LocalStack)
run: |
awslocal s3 mb s3://$AWS_STACK_NAME || true
awslocal s3 ls
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20