Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Loong <long0dai@foxmail.com>
  • Loading branch information
daixiang0 committed Jan 20, 2025
1 parent 93468c4 commit a4f6357
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 31 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ jobs:
fail-fast: false
matrix:
include:
- name: v1.33.0
envoy_version: envoyproxy/envoy:v1.33.0
- name: latest
envoy_version: envoyproxy/envoy-dev:latest
- name: v1.33.0
envoy_version: envoyproxy/envoy:v1.33.0
- name: latest
envoy_version: envoyproxy/envoy-dev:latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -156,10 +156,10 @@ jobs:
fail-fast: false
matrix:
include:
- name: v1.2.5
envoy_gateway_version: v1.2.5
- name: latest
envoy_gateway_version: v0.0.0-latest
- name: v1.2.5
envoy_gateway_version: v1.2.5
- name: latest
envoy_gateway_version: v0.0.0-latest
steps:
- uses: actions/checkout@v4
if: github.event_name != 'pull_request_target'
Expand Down
2 changes: 0 additions & 2 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

ignore: |
manifests/charts/ai-gateway-helm
tests/cel-validation/testdata
.github/workflows/commit.yaml

rules:
braces:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ codespell: $(CODESPELL)
.PHONY: yamllint
yamllint: $(YAMLLINT)
@echo "yamllint => ./..."
@$(YAMLLINT) --config-file=.yamllint $$(git ls-files :*.yml :*.yaml | xargs -L1 dirname | sort -u)
@$(YAMLLINT) --config-file=.yamllint $$(git ls-files :*.yml :*.yaml | xargs -L1 dirname | sort -u)

# This runs the formatter on the codebase as well as goimports via gci.
.PHONY: format
Expand Down
8 changes: 4 additions & 4 deletions tests/cel-validation/testdata/aigatewayroutes/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ spec:
group: gateway.networking.k8s.io
rules:
- matches:
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
backendRefs:
- name: kserve
weight: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ spec:
name: OpenAI
rules:
- matches:
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
backendRefs:
- name: kserve
weight: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ spec:
group: gateway.networking.k8s.io
rules:
- matches:
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
backendRefs:
- name: kserve
weight: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ spec:
group: gateway.networking.k8s.io
rules:
- matches:
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
- headers:
- type: Exact
name: x-envoy-ai-gateway-model
value: llama3-70b
backendRefs:
- name: kserve
weight: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ spec:
group: gateway.networking.k8s.io
rules:
- matches:
- headers:
- type: RegularExpression
name: x-envoy-ai-gateway-model
value: llama3-70b
- headers:
- type: RegularExpression
name: x-envoy-ai-gateway-model
value: llama3-70b
backendRefs:
- name: kserve
weight: 20
Expand Down

0 comments on commit a4f6357

Please sign in to comment.