1
0
Fork 0

Merge v3.0' into master

This commit is contained in:
mmatur 2024-02-08 16:14:39 +01:00
commit 4e831b920e
No known key found for this signature in database
GPG key ID: 2FFE42FC256CFF8E
301 changed files with 17759 additions and 7982 deletions

View file

@ -6,13 +6,13 @@ on:
- '*'
env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
CGO_ENABLED: 0
jobs:
build-webui:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
@ -26,7 +26,7 @@ jobs:
tar czvf webui.tar.gz ./webui/static/
- name: Artifact webui
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: webui.tar.gz
path: webui.tar.gz
@ -35,7 +35,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, macos-latest, windows-latest ]
os: [ ubuntu-22.04, macos-latest, windows-latest ]
needs:
- build-webui
@ -51,7 +51,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- name: Artifact webui
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: webui.tar.gz

View file

@ -9,7 +9,7 @@ jobs:
docs:
name: Check, verify and build documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code

View file

@ -14,7 +14,7 @@ jobs:
docs:
name: Doc Process
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'traefik/traefik'
steps:

View file

@ -7,7 +7,7 @@ on:
- v*
env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
CGO_ENABLED: 0
jobs:
@ -15,7 +15,7 @@ jobs:
experimental:
if: github.repository == 'traefik/traefik'
name: Build experimental image on branch
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:

42
.github/workflows/test-conformance.yaml vendored Normal file
View file

@ -0,0 +1,42 @@
name: Test K8s Gateway API conformance
on:
pull_request:
branches:
- '*'
paths:
- 'pkg/provider/kubernetes/gateway/**'
- 'integration/k8s_conformance_test.go'
env:
GO_VERSION: '1.21'
CGO_ENABLED: 0
jobs:
test-conformance:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Avoid generating webui
run: touch webui/static/index.html
- name: Build binary
run: make binary
- name: Setcap
run: |
sudo setcap 'cap_net_bind_service=+ep' dist/linux/amd64/traefik
- name: K8s Gateway API conformance test
run: make test-gateway-api-conformance-ci

View file

@ -4,18 +4,15 @@ on:
pull_request:
branches:
- '*'
push:
branches:
- 'gh-actions'
env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
CGO_ENABLED: 0
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
@ -35,7 +32,7 @@ jobs:
run: make binary
test-integration:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- build
strategy:

View file

@ -6,12 +6,12 @@ on:
- '*'
env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
jobs:
test-unit:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code

View file

@ -6,14 +6,14 @@ on:
- '*'
env:
GO_VERSION: '1.21'
GOLANGCI_LINT_VERSION: v1.55.2
GO_VERSION: '1.22'
GOLANGCI_LINT_VERSION: v1.56.0
MISSSPELL_VERSION: v0.4.1
jobs:
validate:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
@ -39,7 +39,7 @@ jobs:
run: make validate
validate-generate:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code