-
Notifications
You must be signed in to change notification settings - Fork 4
chore: 1.18 kubernetes-ci use self-hosted #390
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
Changes from all commits
6289455
1759820
4f134bd
32f903b
9f97499
f0516ad
ed4d2b5
f84722b
8420942
5155e4b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,35 +34,27 @@ jobs: | |
| matrix: | ||
| cases_subset: | ||
| - v2 | ||
| runs-on: buildjet-2vcpu-ubuntu-2004 | ||
| runs-on: self-hosted | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Setup Go Env | ||
| uses: actions/setup-go@v4 | ||
| with: | ||
| go-version: "1.24" | ||
| - name: Check Go Env | ||
| run: | | ||
| go env | ||
|
|
||
| - name: Install kind | ||
| - name: Check Kind Version | ||
| run: | | ||
| go install sigs.k8s.io/kind@v0.13.0 | ||
| kind version | ||
|
|
||
| - name: Install Helm | ||
| run: | | ||
| curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | ||
| chmod 700 get_helm.sh | ||
| ./get_helm.sh | ||
|
|
||
| - name: Login to Registry | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ${{ secrets.DOCKER_REGISTRY }} | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
|
||
| - name: Login to Private Registry | ||
| uses: docker/login-action@v3 | ||
| with: | ||
|
|
@@ -72,9 +64,15 @@ jobs: | |
|
|
||
| - name: Launch Kind Cluster | ||
| env: | ||
| KIND_NODE_IMAGE: kindest/node:v1.18.20@sha256:38a8726ece5d7867fb0ede63d718d27ce2d41af519ce68be5ae7fcca563537ed | ||
| KIND_NODE_IMAGE: kindest/node:v1.18.15 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cd "$(git rev-parse --show-toplevel)" && head -80 .github/workflows/e2e-test-k8s.yml | tail -20Repository: api7/api7-ingress-controller Length of output: 817 🌐 Web query:
💡 Result:
Sources: [1] [2] [3] 🏁 Script executed: grep -n "image:" .github/workflows/e2e-test-k8s.yml | grep -v "@sha256"Repository: api7/api7-ingress-controller Length of output: 54 🏁 Script executed: grep -n "kindest/node\|docker pull\|_IMAGE:" .github/workflows/e2e-test-k8s.ymlRepository: api7/api7-ingress-controller Length of output: 123 Pin KIND node image by digest. Line 67 uses a mutable tag ( 🤖 Prompt for AI Agents |
||
| run: | | ||
| make kind-up | ||
| KIND_NODE_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' apisix-ingress-cluster-control-plane) | ||
| echo $KIND_NODE_IP | ||
|
|
||
| kubectl config get-clusters | ||
| kubectl config set-cluster kind-apisix-ingress-cluster --server=https://$KIND_NODE_IP:6443 | ||
| kubectl wait --for=condition=Ready nodes --all | ||
|
AlinsRan marked this conversation as resolved.
|
||
|
|
||
| - name: Build images | ||
| env: | ||
|
|
@@ -107,7 +105,6 @@ jobs: | |
| node $(pwd)/adc.js -v | ||
| echo "ADC_BIN=node $(pwd)/adc.js" >> $GITHUB_ENV | ||
|
|
||
|
|
||
| - name: Start OpenLDAP server | ||
| run: make e2e-ldap | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.