Skip to content

[WIP] Add a workflow to debug kind cluster on self-hosted-runners #757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Kind debug Workflow

on:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on:
- self-hosted-ncn-dind
strategy:
matrix:
instance: [1]
steps:
- name: install packges
run: sudo apt-get install -y iputils-ping curl wget dnsutils

- name: install kubectl
run: curl -LO "https://dl.k8s.io/release/v1.29.5/bin/linux/amd64/kubectl" && chmod +x kubectl && sudo mv kubectl /usr/local/bin/

- name: install kind
run: curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64 && chmod +x kind && sudo mv kind /usr/local/bin/

- name: Checkout code
uses: actions/checkout@v4

- name: docker info
run: docker info

- name: Create k8s Kind Cluster
uses: helm/kind-action@v1

- name: sleep for a while
run: sleep 7200
Loading