Skip to content

Commit ee6b97f

Browse files
committed
chore(ci): provision namespace kubernetes cluster
1 parent 3ad607e commit ee6b97f

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
@@ -192,9 +192,18 @@ jobs:
192192
CT_CONFIG: .github/ct.yaml
193193
run: ct lint --config "$CT_CONFIG" --validate-yaml=false
194194

195-
- name: Create kind cluster
195+
- name: Configure Namespace access
196196
if: (github.event_name == 'pull_request' || github.event_name == 'push') && steps.ct-changed.outputs.changed == 'true'
197-
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
197+
id: nscloud
198+
uses: namespacelabs/nscloud-setup@v0
199+
200+
- name: Provision Namespace Kubernetes cluster
201+
if: (github.event_name == 'pull_request' || github.event_name == 'push') && steps.ct-changed.outputs.changed == 'true'
202+
uses: namespacelabs/nscloud-cluster-action@v0
203+
with:
204+
wait-kube-system: "true"
205+
machine-shape: "4x16"
206+
duration: "20m"
198207

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

0 commit comments

Comments
 (0)