1515# specific language governing permissions and limitations
1616# under the License.
1717
18- name : APISIX E2E Test Kubernetes
18+ name : E2E Test For Kubernetes
1919
2020on :
2121 push :
@@ -34,7 +34,7 @@ concurrency:
3434jobs :
3535 prepare :
3636 name : Prepare
37- runs-on : buildjet-2vcpu-ubuntu-2204
37+ runs-on : buildjet-2vcpu-ubuntu-1804
3838 steps :
3939 - name : Checkout
4040 uses : actions/checkout@v4
@@ -47,21 +47,18 @@ jobs:
4747
4848 - name : Install kind
4949 run : |
50- go install sigs.k8s.io/[email protected] 50+ go install sigs.k8s.io/[email protected] 51+
52+ - name : Install Helm
53+ run : |
54+ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
55+ chmod 700 get_helm.sh
56+ ./get_helm.sh
5157
5258 e2e-test :
5359 needs :
5460 - prepare
55- strategy :
56- matrix :
57- provider_type :
58- - apisix-standalone
59- - apisix
60- cases_subset :
61- - apisix.apache.org
62- - networking.k8s.io
63- fail-fast : false
64- runs-on : buildjet-2vcpu-ubuntu-2204
61+ runs-on : buildjet-2vcpu-ubuntu-1804
6562 steps :
6663 - name : Checkout
6764 uses : actions/checkout@v4
@@ -80,13 +77,19 @@ jobs:
8077 username : ${{ secrets.DOCKER_USERNAME }}
8178 password : ${{ secrets.DOCKER_PASSWORD }}
8279
80+ - name : Login to Private Registry
81+ uses : docker/login-action@v1
82+ with :
83+ registry : hkccr.ccs.tencentyun.com
84+ username : ${{ secrets.PRIVATE_DOCKER_USERNAME }}
85+ password : ${{ secrets.PRIVATE_DOCKER_PASSWORD }}
86+
8387 - name : Build images
8488 env :
8589 TAG : dev
8690 ARCH : amd64
8791 ENABLE_PROXY : " false"
8892 BASE_IMAGE_TAG : " debug"
89- ADC_VERSION : " dev"
9093 run : |
9194 echo "building images..."
9295 make build-image
@@ -102,24 +105,26 @@ jobs:
102105
103106 - name : Launch Kind Cluster
104107 env :
105- KIND_NAME : apisix-ingress-cluster
106108 KIND_NODE_IMAGE : kindest/node:v1.18.20@sha256:38a8726ece5d7867fb0ede63d718d27ce2d41af519ce68be5ae7fcca563537ed
107109 run : |
108- kind create cluster --name
109-
110- - name : Loading Docker Image to Kind Cluster
111- run : |
112- make kind-load-ingress-image
110+ make kind-up
113111
114112 - name : Install Gateway API And CRDs
115113 run : |
116114 make install
117115
116+ - name : Download API7EE3 Chart
117+ run : |
118+ make download-api7ee3-chart
119+
120+ - name : Loading Docker Image to Kind Cluster
121+ run : |
122+ make kind-load-images
123+
118124 - name : Run E2E test suite
119125 shell : bash
120126 env :
121- TEST_DIR : " ./test/e2e/apisix/"
122- PROVIDER_TYPE : ${{ matrix.provider_type }}
123- TEST_LABEL : ${{ matrix.cases_subset }}
127+ API7_EE_LICENSE : ${{ secrets.API7_EE_LICENSE }}
128+ PROVIDER_TYPE : api7ee
124129 run : |
125130 make e2e-test
0 commit comments