diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 69ede912c..4e014ee07 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -37,11 +37,9 @@ jobs: - name: "consul@v1.11.5 + consul-k8s@v0.44.0" consul-image: "hashicorp/consul:1.11" envoy-image: "envoyproxy/envoy:v1.20-latest" - consul-k8s-version: "0.44.0" - name: "consul@v1.12.2 + consul-k8s@v0.44.0" consul-image: "hashicorp/consul:1.12" envoy-image: "envoyproxy/envoy:v1.22-latest" - consul-k8s-version: "0.44.0" fail-fast: true name: "${{ matrix.config.name }}" @@ -49,12 +47,20 @@ jobs: # Clone repos side-by-side: # GITHUB_WORKSPACE/ # consul-api-gateway/ + # consul-k8s/ # gateway-api/ - name: Checkout consul-api-gateway uses: actions/checkout@v2 with: path: "consul-api-gateway" + - name: Clone consul-k8s + uses: actions/checkout@v2 + with: + repository: "hashicorp/consul-k8s" + ref: "charts/capigw-controller-clusterrole-referencegrants" + path: "consul-k8s" + - name: Clone gateway-api uses: actions/checkout@v2 with: @@ -102,8 +108,7 @@ jobs: - name: Install Consul working-directory: "consul-api-gateway/internal/testing/conformance" run: | - helm repo add hashicorp https://helm.releases.hashicorp.com - helm install --values ./consul-config.yaml consul hashicorp/consul --version "${{ matrix.config.consul-k8s-version }}" --set global.image=${{ matrix.config.consul-image }} --set global.imageEnvoy=${{ matrix.config.envoy-image }} --create-namespace --namespace=consul + helm install --values ./consul-config.yaml consul $GITHUB_WORKSPACE/consul-k8s/charts/consul --set global.image=${{ matrix.config.consul-image }} --set global.imageEnvoy=${{ matrix.config.envoy-image }} --create-namespace --namespace=consul kubectl wait --for=condition=Ready --timeout=60s --namespace=consul pods --all - name: Patch testing resources