Skip to content

Commit

Permalink
fixup! (WIP) (gha) add fleet test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Apr 4, 2024
1 parent 9389d78 commit 28e95bc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/fleet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ concurrency:

jobs:
create-cluster:
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-32-cores
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
Expand All @@ -24,6 +26,11 @@ jobs:
cluster_name: fleet
version: v0.22.0

- name: setup k alias
run: |
echo "alias k='kubectl'" >> ~/.bashrc
echo "complete -F __start_kubectl k" >> ~/.bashrc
- run: kubectl get nodes
- run: ip -c a
- run: ip route
Expand All @@ -39,12 +46,12 @@ jobs:
run: |
helm repo add fleet https://rancher.github.io/fleet-helm-charts/
helm -n cattle-fleet-system install --create-namespace --wait fleet-crd fleet/fleet-crd
helm -n cattle-fleet-system install --create-namespace --wait fleet fleet/fleet
helm -n cattle-fleet-system install --create-namespace --wait fleet fleet/fleet --set agentCheckinInterval=15s
kubectl -n fleet-local patch clusters local --type merge --patch-file ./clusters-local.yaml
kubectl patch node fleet-control-plane --type merge --patch-file node-fleet-control-plane.yaml
kubectl apply -f gitrepo-local.yaml
- run: kubectl get clusters -A
- run: kubectl get gitrepo -A
- run: ./wait-for-bundle.sh
timeout-minutes: 15
timeout-minutes: 60

0 comments on commit 28e95bc

Please sign in to comment.