Skip to content

Commit

Permalink
🎨 Update
Browse files Browse the repository at this point in the history
Signed-off-by: bitliu <bitliu@tencent.com>
  • Loading branch information
Xunzhuo committed Sep 7, 2023
1 parent 2ad660b commit e7b0395
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/experimental_conformance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Experimental Conformance Test
on:
push:
paths:
- 'charts/gateway-helm/crds/gatewayapi-crds.yaml'
pull_request:
paths:
- 'charts/gateway-helm/crds/gatewayapi-crds.yaml'

conformance-test:
runs-on: ubuntu-latest
needs: [build]
strategy:
matrix:
version: [ v1.26.6, v1.27.3, v1.28.0 ]
steps:
- uses: actions/checkout@v3
- uses: ./tools/github-actions/setup-deps

- name: Download EG Binaries
uses: actions/download-artifact@v3
with:
name: envoy-gateway
path: bin/

- name: Give Privileges To EG Binaries
run: |
chmod +x bin/linux/amd64/envoy-gateway
chmod +x bin/linux/arm64/envoy-gateway
# conformance
- name: Run Conformance Tests
env:
CONFORMANCE_REPORT_PATH: conformance-report-k8s-${{ matrix.version }}.yaml
KIND_NODE_TAG: ${{ matrix.version }}
IMAGE_PULL_POLICY: IfNotPresent
run: make experimental-conformance

- name: Upload Conformance Report
uses: actions/upload-artifact@v3
with:
name: conformance-report-k8s-${{ matrix.version }}
path: ./test/conformance/conformance-report-k8s-${{ matrix.version }}.yaml

- name: Comment Conformance Report

Check failure on line 45 in .github/workflows/experimental_conformance.yaml

View workflow job for this annotation

GitHub Actions / lint

45:7 syntax error: expected <block end>, but found '-' (syntax)

Check failure on line 45 in .github/workflows/experimental_conformance.yaml

View workflow job for this annotation

GitHub Actions / lint

45:7 syntax error: expected <block end>, but found '-' (syntax)

Check failure on line 45 in .github/workflows/experimental_conformance.yaml

View workflow job for this annotation

GitHub Actions / lint

45:7 syntax error: expected <block end>, but found '-' (syntax)
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting!'
})

0 comments on commit e7b0395

Please sign in to comment.