Skip to content

Commit 3e9ca82

Browse files
authored
chore: use Namespace cluster action for QA chart tests (#14)
## Summary - replace kind-based Kubernetes provisioning with Namespace nscloud setup + cluster action for chart installs - pin to specific commit SHAs and request 4x16 shape to ensure chart-testing throughput ## Testing - bun run check - bun run typecheck - bun run test ## Summary by Sourcery CI: - Replace helm/kind-action with namespacelabs/nscloud-setup and nscloud-cluster-action for Kubernetes provisioning in QA workflow, pinned to specific commit SHAs and configured with 4x16 machine shape
1 parent b0abb43 commit 3e9ca82

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/qa.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,18 @@ jobs:
205205
CT_CONFIG: .github/ct.yaml
206206
run: ct lint --config "$CT_CONFIG" --validate-yaml=false
207207

208-
- name: Create kind cluster
208+
- name: Configure Namespace access
209209
if: (github.event_name == 'pull_request' || github.event_name == 'push') && steps.ct-changed.outputs.changed == 'true'
210-
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
210+
id: nscloud
211+
uses: namespacelabs/nscloud-setup@v0
212+
213+
- name: Provision Namespace Kubernetes cluster
214+
if: (github.event_name == 'pull_request' || github.event_name == 'push') && steps.ct-changed.outputs.changed == 'true'
215+
uses: namespacelabs/nscloud-cluster-action@v0
216+
with:
217+
wait-kube-system: "true"
218+
machine-shape: "4x16"
219+
duration: "20m"
211220

212221
- name: Run chart-testing (install)
213222
if: (github.event_name == 'pull_request' || github.event_name == 'push') && steps.ct-changed.outputs.changed == 'true'

0 commit comments

Comments
 (0)