Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge traefik main branches changes into the fork #1

Open
wants to merge 945 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
945 commits
Select commit Hold shift + click to select a range
f3479f5
Fix ECS config for OIDC + IRSA
mmatur Jul 1, 2024
98c624b
Fix a typo in the ACME docker-compose docs
ciacon Jul 1, 2024
900784a
Disable QUIC 0-RTT
mmatur Jul 2, 2024
927f0bc
Prepare release v2.11.6
kevinpollet Jul 2, 2024
8d016f5
Merge branch v2.11 into v3.0
kevinpollet Jul 2, 2024
d42e75b
Prepare release v3.0.4
kevinpollet Jul 2, 2024
8910897
Merge branch v3.0 into v3.1
rtribotte Jul 2, 2024
876899b
Prepare release v3.1.0 rc3
rtribotte Jul 2, 2024
173a18f
Bump opentelemetry-go to v1.28
arukiidou Jul 4, 2024
f32884d
Update PR approval process
emilevauge Jul 10, 2024
58dcbb4
Retry on Gateway API resource status update
rtribotte Jul 11, 2024
127c0a7
Improve doc on sensitive data stored into labels/tags
emilevauge Jul 11, 2024
a52c81f
Incorrect value in default priority computation example
rltas Jul 11, 2024
aa760b5
Rework Kubernetes Gateway API documentation
kevinpollet Jul 15, 2024
d700e95
Merge branch v2.11 into v3.0
kevinpollet Jul 15, 2024
fc17406
Merge current v3.0 into v3.1
rtribotte Jul 15, 2024
4b4eaa4
Prepare release v3.1.0
rtribotte Jul 15, 2024
87db330
Merge current v3.1 into master
rtribotte Jul 16, 2024
f5a811d
Make the log about new version more accurate
jmcbri Jul 17, 2024
a5df24a
Upgrade dependencies
mmatur Jul 19, 2024
c5a6b49
Merge current v2.11 into v3.1
mmatur Jul 22, 2024
4720cae
Update open connections gauge with connections count
rtribotte Jul 23, 2024
c3e9436
Modify certificatesDuration documentation
peacewalker122 Jul 23, 2024
70dd7cd
Enforce default cipher suites list
rtribotte Jul 23, 2024
0f4e72d
Update the supported versions table for v3.1 release
jnoordsij Jul 25, 2024
ecdfb10
Remove duplicated kubectl apply from kubernetes-gateway.md
battery-staple Jul 25, 2024
5142733
Bump google.golang.org/grpc to v1.64.1
kevinpollet Jul 26, 2024
3ba53df
Document Docker port selection on multiple exposed ports
mbrodala Jul 29, 2024
266a2d8
Fix grafana dashboard to work with scrape interval greater than 15s
davhdavh Jul 29, 2024
386c2ff
Use ServiceName in traefik_service_server_up metric
KrishnaSindhur Jul 29, 2024
5a70910
Improve explanation on API exposition
mloiseleur Jul 29, 2024
957a5f5
feat: forwardAuth support LogUserHeader
GaleHuang Jul 29, 2024
898eab2
Improve error and documentation on the needed link between router and…
mloiseleur Jul 29, 2024
7dbd3f8
Do not update route status when nothing changed
kevinpollet Jul 29, 2024
ba6b4cb
chore(ci): fix deprecation and optimization
mloiseleur Jul 29, 2024
2104009
Prepare release v2.11.7
rtribotte Jul 30, 2024
2ffa6c6
Merge current v2.11 into v3.1
mmatur Jul 30, 2024
f52a36b
Prepare release v3.1.1
mmatur Jul 30, 2024
e832413
Merge current v3.1 into master
mmatur Jul 30, 2024
0f7af2b
Updated index.md to include video
tomatokoolaid Jul 31, 2024
de732ba
Add Access logs section to the migration guide
lbenguigui Jul 31, 2024
8970ae9
Update to github.com/docker/docker v27.1.1
rtribotte Jul 31, 2024
930f848
Merge current v2.11 intov3.1
mmatur Jul 31, 2024
02de683
Fix embedded youtube video
mmatur Aug 1, 2024
ea019be
Upgrade webui dependencies
mmatur Aug 1, 2024
bd93e22
Support HTTP BasicAuth for docker and swarm endpoint
985492783 Aug 1, 2024
a50345b
Allow to disable Kubernetes cluster scope resources discovery
rtribotte Aug 1, 2024
c0b704e
Fix grafana dashboard to work with scrape interval greater than 15s
swiffer Aug 2, 2024
0f57f10
Fix missing codeblock ending in HTTP discover documentation
djcode Aug 5, 2024
ccc11a6
Fix yaml config example for HTTP provider headers
djcode Aug 5, 2024
5380e48
Include status addresses when comparing Gateway statuses
kevinpollet Aug 5, 2024
5bf4b53
Change logs output from stderr to stdout
rtribotte Aug 5, 2024
4eedcab
Use Standard channel by default with Gateway API
mloiseleur Aug 6, 2024
6b1adab
Prepare release v2.11.8
rtribotte Aug 6, 2024
926a8e8
Merge current v2.11 into v3.1
rtribotte Aug 6, 2024
4c4780f
Prepare release v3.1.2
kevinpollet Aug 6, 2024
b611f96
Merge branch v3.1 into master
kevinpollet Aug 6, 2024
8d9ff0c
Mention missing metrics removal in the migration guide
rtribotte Aug 7, 2024
0eb0a15
Remove documention for unimplemented service retries metric
rtribotte Aug 7, 2024
7588135
Add encodings option to the compression middleware
wollomatic Aug 7, 2024
7807937
Add 30 day certificatesDuration step
luker983 Aug 8, 2024
12a3734
Support ResponseHeaderModifier filter
kevinpollet Aug 12, 2024
e7dc097
Prevent error logging when TCP WRR pool is empty
kevinpollet Aug 12, 2024
ad613e5
Allow configuring rule syntax with Kubernetes Ingress annotation
rtribotte Aug 12, 2024
7056eef
Re-allow empty configuration for Kubernetes Ingress provider
rtribotte Aug 19, 2024
58bbc0c
Remove mentions about APIVersion traefik.io/v1
rtribotte Aug 26, 2024
d2030a5
Upgrade webui dependencies
mloiseleur Aug 27, 2024
e56ae1a
Update to go1.23
mloiseleur Aug 28, 2024
85f4fd0
Merge current v2.11 into v3.1
rtribotte Aug 28, 2024
8dc9607
Merge current v3.1 into master
mmatur Aug 29, 2024
3a80aa1
Give valid examples for exposing dashboard with default Helm values
holysoles Aug 29, 2024
6b1a584
Update quick-start-with-kubernetes.md to include required permissions
eastmane Aug 29, 2024
3040f26
Upgrade paerser to v0.2.1
mmatur Aug 29, 2024
1417da4
Update k8s quickstart permissions
mmatur Aug 29, 2024
6b3167d
Remove same email requirement for certresolvers
Emrio Aug 29, 2024
2714831
fix: otlp doc + potential panic
mmatur Aug 29, 2024
5ed972c
Support GRPC routes
kevinpollet Aug 30, 2024
51f7f61
Add versioning for Gateway API Conformance Test Report
rtribotte Aug 30, 2024
bf71560
Update go-acme/lego to v4.18.0
ldez Sep 2, 2024
eb99c8c
Add mirrorBody option to HTTP mirroring
MatteoPaier Sep 2, 2024
6009aae
Improve CI speed
mmatur Sep 3, 2024
8ca27b4
Merge current v2.11 into v3.1
mmatur Sep 3, 2024
cf28694
Wrap capture for services used by pieces of middleware
rtribotte Sep 3, 2024
0b34e0c
Merge current v3.1 into master
mmatur Sep 3, 2024
3eb7ecc
Improve Kubernetes GatewayAPI TCPRoute and TLSRoute support
rtribotte Sep 3, 2024
533c102
Fix tracing documentation
mmatur Sep 3, 2024
3f74993
Fix typo in multiple DNS challenge provider warning
tired-engineer Sep 3, 2024
3d92f16
Fix Go version to 1.23 when running Gateway API conformance tests
mmatur Sep 3, 2024
e8335a9
Record trace id and EntryPoint span id into access log
weijiany Sep 3, 2024
c2cb4fa
Sync docker images from docker hub to ghcr
mmatur Sep 5, 2024
9dc2155
Fix sync docker images latest tag
mmatur Sep 6, 2024
e222d5c
Add support for backend protocol selection in HTTP and GRPC routes
rtribotte Sep 9, 2024
be5c429
Unify tab titles
jsoref Sep 9, 2024
ac1dad3
Add support for custom CA certificates by certificate resolver
ldez Sep 9, 2024
71d4b3b
Make the keys of the `accessLog.fields.names` map case-insensitive
SpecLad Sep 13, 2024
d547b94
Spelling
jsoref Sep 13, 2024
0cf2032
Allow handling ACME challenges with custom routers
rtribotte Sep 13, 2024
5841441
Cleanup Connection headers before passing the middleware chain
kevinpollet Sep 16, 2024
8c977b8
Removes goexport dependency and adds _initialize
juliens Sep 16, 2024
9750bbc
Configurable max request header size
lucasrod16 Sep 16, 2024
f90f9df
Ensure proper logs for aborted streaming responses
hood Sep 16, 2024
06d7fab
Prepare release v2.11.9
kevinpollet Sep 16, 2024
093989f
Merge branch v2.11 into v3.1
kevinpollet Sep 16, 2024
89f3b27
Prepare release v3.1.3
kevinpollet Sep 16, 2024
1ebd12f
Add support for Gateway API BackendTLSPolicies
rtribotte Sep 17, 2024
bbeceba
Mention v3 in readme
kabaluyot Sep 17, 2024
42e1f2c
Add supported features to the Gateway API GatewayClass status
rtribotte Sep 17, 2024
4b5968e
Bump github.com/quic-go/quic-go to v0.47.0
rtribotte Sep 19, 2024
ac42dd8
Check if ACME certificate resolver is not nil
kevinpollet Sep 19, 2024
b00f640
Prepare release v2.11.10
rtribotte Sep 19, 2024
7e75dc0
Merge current v2.11 into v3.1
rtribotte Sep 19, 2024
f3eba8d
Guess Datadog socket type when prefix is unix
kevinpollet Sep 19, 2024
0be01cc
Prepare release v3.1.4
kevinpollet Sep 19, 2024
a398536
Merge branch v3.1 into master
kevinpollet Sep 20, 2024
312ebb1
Add support for ipv6 subnet in ipStrategy
Sep 24, 2024
a6db1ca
Update sigs.k8s.io/gateway-api to v1.2.0-rc1
rtribotte Sep 26, 2024
f8a78b3
Introduce a fast proxy mode to improve HTTP/1.1 performances with bac…
kevinpollet Sep 26, 2024
fbf6757
Support for watching instead of polling Nomad
deverton-godaddy Sep 26, 2024
7bb181d
Bump sigs.k8s.io/gateway-api to v1.2.0-rc2
kevinpollet Sep 27, 2024
a42d396
Clean connection headers for forward auth request only
rtribotte Sep 27, 2024
e62f8af
Rework condition to not log on timeout
rtribotte Sep 27, 2024
61bb3ab
Rework condition to not log on timeout
rtribotte Sep 27, 2024
eccfcc0
feat: allow setting service.name for OTLP metrics
cmartell-at-ocp Sep 27, 2024
d317cd9
Support HTTPRoute destination port matching
kevinpollet Sep 27, 2024
e485edb
Update API documentation to mention pagination
lyrandy Sep 27, 2024
14e5d4b
Remove unused boot files from webui
michelheusschen Sep 27, 2024
2bb7121
Specify default format value for access log
darkweaver87 Sep 27, 2024
c02b72c
Disable IngressClass lookup when disableClusterScopeResources is enabled
jnoordsij Sep 27, 2024
9eb804a
Bump github.com/klauspost/compress to 8e14b1b5a913
kevinpollet Sep 30, 2024
4d6cb6a
Ensure defaultGeneratedCert.main as Subject's CN
Lamatte Sep 30, 2024
b641d5c
Merge current v2.11 into v3.1
rtribotte Sep 30, 2024
373095f
Support NativeLB option in GatewayAPI provider
rtribotte Oct 2, 2024
518caa7
Prepare release v2.11.11
kevinpollet Oct 2, 2024
8cfa68a
Merge branch v2.11 into v3.1
kevinpollet Oct 2, 2024
a2ab3e5
Prepare release v3.1.5
kevinpollet Oct 2, 2024
54c3afd
Merge branch v3.1 into master
kevinpollet Oct 2, 2024
a7502c8
Prepare Release v3.2.0-rc1
rtribotte Oct 2, 2024
e8ab3af
Clarify only header fields may be redacted in access-logs
mattbnz Oct 3, 2024
6f7649f
Bump golangci-lint to 1.61.0
ldez Oct 4, 2024
306d3f2
Bump github.com/klauspost/compress to dbd6c381492a
kevinpollet Oct 4, 2024
a762cce
Close wasm middleware to prevent memory leak
ttys3 Oct 4, 2024
fc563d3
Fix the resolved TAG_NAME for commit in multiple tags
kevinpollet Oct 7, 2024
4529214
Detail CRD update with v3.2 in the migration guide
mloiseleur Oct 7, 2024
0a6b878
Adopt a layout for the large amount of entrypoint port numbers
framebassman Oct 8, 2024
7b08ecf
Bump sigs.k8s.io/gateway-api to v1.2.0
rtribotte Oct 8, 2024
d339bfc
Use correct default weight in Accept-Encoding
michelheusschen Oct 8, 2024
ab35b32
Ensure shellcheck failure exit code is reflected in GH job result
jnoordsij Oct 8, 2024
157cf75
Update business callout in docs
tomatokoolaid Oct 8, 2024
7b477f7
Upgrade to node 22.9 and yarn lock to fix vulnerabilities
kevinpollet Oct 8, 2024
4625bdf
Merge current v2.11 into v3.1
mmatur Oct 8, 2024
f16d14c
Reuse compression writers
michelheusschen Oct 9, 2024
934ca5f
Prepare release v2.11.12
kevinpollet Oct 9, 2024
1508a2c
Do not update gateway status when not selected by a gateway class
kevinpollet Oct 9, 2024
5d5dd9d
Merge branch v2.11 into v3.1
kevinpollet Oct 9, 2024
c441d04
Avoid updating Accepted status for routes matching no Gateways
rtribotte Oct 9, 2024
4613ddd
Prepare release v3.1.6
kevinpollet Oct 9, 2024
7edb9a2
Bump github.com/go-acme/lego to v4.19.2
ldez Oct 9, 2024
e9d677f
Support http and https appProtocol for Kubernetes Service
WillDaSilva Oct 9, 2024
be13b5b
Merge branch v3.1 into v3.2
kevinpollet Oct 9, 2024
b46665c
Prepare release v3.2.0-rc2
kevinpollet Oct 9, 2024
6f469ee
Only calculate basic auth hashes once for concurrent requests
michelheusschen Oct 10, 2024
be156f6
Ignore garbage collector flaky test
rtribotte Oct 10, 2024
06e64af
Merge branch v3.2 into master
kevinpollet Oct 10, 2024
ef168b8
Refactor compress handler to make it generic
kevinpollet Oct 10, 2024
f54f289
Add missing RBAC in the migration guide
mloiseleur Oct 11, 2024
ef5aa12
Fix broken links in Kubernetes Gateway provider page
mloiseleur Oct 11, 2024
6e1f5dc
Fix instructions for downloading CRDs of Gateway API v1.2
mloiseleur Oct 11, 2024
83871f2
Add an option to preserve server path
mmatur Oct 17, 2024
eeb99c3
Preserve HTTPRoute filters order
kevinpollet Oct 21, 2024
f18fcf3
Preserve GRPCRoute filters order
kevinpollet Oct 21, 2024
0605f8b
Document nativeLBByDefault annotation on Kubernetes Gateway provider
mloiseleur Oct 23, 2024
3d2336b
Use golangci-lint action
mmatur Oct 23, 2024
edc0a52
Updates to Business Callouts in Docs
tomatokoolaid Oct 24, 2024
62fa5f1
Merge branch v2.11 into v3.1
kevinpollet Oct 24, 2024
b22e081
Merge branch v3.1 into v3.2
kevinpollet Oct 24, 2024
e3ed52b
Detect and drop broken conns in the fastproxy pool
kevinpollet Oct 25, 2024
2794849
Panic on aborted requests to properly close the connection
tonybart1337 Oct 25, 2024
0dc3637
Ensuring Gateway API reflected Traefik resource name unicity
rtribotte Oct 28, 2024
08fe27c
Prepare release v2.11.13
kevinpollet Oct 28, 2024
20cdbdb
Merge branch v2.11 into v3.1
kevinpollet Oct 28, 2024
e90f4a7
Prepare release v3.1.7
kevinpollet Oct 28, 2024
8beba9f
Merge branch v3.1 into v3.2
kevinpollet Oct 28, 2024
25caa72
Prepare release v3.2.0
kevinpollet Oct 28, 2024
7004f0e
Merge branch v3.2 into master
kevinpollet Oct 29, 2024
8527369
Add Compress middleware to migration guide
logica0419 Oct 29, 2024
e8ff825
Set Host header in HTTP provider request
nikonhub Oct 29, 2024
6f18344
Add a warning about environment variables casing for static configura…
anchal00 Oct 30, 2024
47466a4
Document how to use Certificates of cert-manager
mloiseleur Oct 30, 2024
7f4ff35
Add tips about the use of docker in dynamic configuration for swarm p…
webash Nov 4, 2024
97caf75
Make the IngressRoute kind optional
skirtan1 Nov 4, 2024
f70949e
Fix case problem for websocket upgrade
juliens Nov 6, 2024
552bd8f
Add AbortOnPluginFailure option to abort startup on plugin load failure
bmagic Nov 6, 2024
ec00c4a
Configurable path for sticky cookies
IIpragmaII Nov 6, 2024
2096fd7
Drop untrusted X-Forwarded-Prefix header
rtribotte Nov 8, 2024
a79cdd1
Change level of peeking first byte error log to DEBUG
rtribotte Nov 8, 2024
00a5f4c
Fix a small typo in entrypoints documentation
quiode Nov 12, 2024
9c50129
Update go-acme/lego to v4.20.2
ldez Nov 12, 2024
f437fb4
chore: update linter
ldez Nov 12, 2024
e5c8063
Add X-Forwarded-Prefix to the migration guide
kevinpollet Nov 12, 2024
b7b4dd9
Merge branch v2.11 into v3.2
kevinpollet Nov 12, 2024
8c19652
Fix absolute link in the migration guide
kevinpollet Nov 12, 2024
fdce8c6
Change level of peeking first byte error log to DEBUG for Postgres
rtribotte Nov 12, 2024
ef5f1b1
Improve documentation on dashboard
mloiseleur Nov 14, 2024
1c80f12
Apply keepalive config to h2c entrypoints
davefu113 Nov 18, 2024
5658c8a
Fix spelling, grammar, and rephrase sections for clarity in some docu…
AntoineDeveloper Nov 18, 2024
6baa110
Update access-logs.md, add examples for accesslog.format
bluepuma77 Nov 18, 2024
8ffd185
Fix the defaultRule CLI examples
kevinpollet Nov 18, 2024
cc80568
Fix internal handlers ServiceBuilder composition
juliens Nov 19, 2024
ca5b70e
Merge branch v2.11 into v3.2
rtribotte Nov 20, 2024
8eadfbb
Prepare release v2.11.14
kevinpollet Nov 20, 2024
394f97b
Merge branch v2.11 into v3.2
kevinpollet Nov 20, 2024
8a0c1e6
Fix HostRegexp config for rule syntax v2
kevinpollet Nov 20, 2024
5cfc11f
Prepare release v3.2.1
kevinpollet Nov 20, 2024
090db6d
Merge branch v3.2 into master
kevinpollet Nov 21, 2024
ab0713d
Fix incorrect links in v3 migration sections
kevinpollet Nov 22, 2024
c120b70
Update go-acme/lego to v4.20.4
ldez Nov 22, 2024
0ec12c7
Configurable API & Dashboard base path
rtribotte Nov 25, 2024
536e11d
Move callout to the entrypoint page footer
kevinpollet Nov 25, 2024
33c1d70
Add options to control ACME propagation checks
ldez Nov 26, 2024
2b35c7e
Fix models mechanism for default rule syntax
rtribotte Nov 29, 2024
47b4df7
New Install Reference Documentation
sheddy-traefik Dec 6, 2024
826a2b7
OpenTelemetry Logs and Access Logs
rtribotte Dec 6, 2024
2df655c
Update github.com/quic-go/quic-go to v0.48.2
kevinpollet Dec 6, 2024
c8b0285
Fix WASM settings
juliens Dec 6, 2024
42df9af
Fix release by using github action
mmatur Dec 6, 2024
f547f1b
Update sigs.k8s.io/gateway-api to v1.2.1
kevinpollet Dec 9, 2024
a4c0b16
Create FUNDING.yml
emilevauge Dec 9, 2024
5149146
Rename traefik.docker.* labels for Docker Swarm to traefik.swarm.*
anchal00 Dec 10, 2024
f2ba435
Fix experimental build ci
mmatur Dec 10, 2024
cc14c16
Prepare release v2.11.15
kevinpollet Dec 10, 2024
8eb1279
Merge current branch v2.11 into v3.2
rtribotte Dec 10, 2024
e87da0f
Prepare release v3.2.2
rtribotte Dec 10, 2024
9588e51
Implementation of serving not ready endpoints
BZValoche Dec 11, 2024
b193423
Manage observability at entrypoint and router level
rtribotte Dec 12, 2024
26738cb
Send request body to authorization server for forward auth
kyo-ke Dec 12, 2024
d953ee6
Add exprimental flag for OTLP logs integration
kevinpollet Dec 12, 2024
74e0abf
Update golang.org/x dependencies
rtribotte Dec 12, 2024
e85d02c
Add support dump API endpoint
mmatur Dec 12, 2024
39d7b77
Bump Dockerfile to Alpine v3.21
kevinpollet Dec 12, 2024
590ddfc
Update nokogiri gem to v1.16.8
rtribotte Dec 12, 2024
33cf06b
Merge branch v2.11 into v3.2
kevinpollet Dec 12, 2024
4974d9e
Merge branch v3.2 into master
kevinpollet Dec 12, 2024
2302deb
Add an option to preserve the ForwardAuth Server Location header
Nelwhix Dec 13, 2024
3a3ffab
Update reference install documentation with current chart default
mloiseleur Dec 13, 2024
1c00940
Prepare release v2.11.16
kevinpollet Dec 16, 2024
ec214fa
Merge branch v2.11 into v3.2
kevinpollet Dec 16, 2024
8983e45
Prepare release v3.2.3
kevinpollet Dec 16, 2024
1a5ea1c
Merge branch v3.2 into master
kevinpollet Dec 16, 2024
68a8650
Prepare Release v3.3.0-rc1
rtribotte Dec 16, 2024
aa8eb1a
Replace experimental maps and slices with stdlib
Juneezee Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dist/
!dist/traefik
!dist/**/traefik
site/
vendor/
.idea/
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: traefik
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ body:
attributes:
label: Welcome!
description: |
The issue tracker is for reporting bugs and feature requests only. For end-user related support questions, please refer to one of the following:
- the Traefik community forum: https://community.traefik.io/
The issue tracker is for reporting bugs and feature requests only.
For end-user related support questions, please use the [Traefik community forum](https://community.traefik.io/).

The configurations between 1.X and 2.X are NOT compatible. Please have a look [here](https://doc.traefik.io/traefik/getting-started/configuration-overview/).
All new/updated issues are triaged regularly by the maintainers.
All issues closed by a bot are subsequently double-checked by the maintainers.

DO NOT FILE ISSUES FOR GENERAL SUPPORT QUESTIONS.

options:
- label: Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any.
required: true
Expand Down
12 changes: 6 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
PLEASE READ THIS MESSAGE.

Documentation fixes or enhancements:
- for Traefik v1: use branch v1.7
- for Traefik v2: use branch v2.8
- for Traefik v2: use branch v2.11
- for Traefik v3: use branch v3.2

Bug fixes:
- for Traefik v1: use branch v1.7
- for Traefik v2: use branch v2.8
- for Traefik v2: use branch v2.11
- for Traefik v3: use branch v3.2

Enhancements:
- for Traefik v1: we only accept bug fixes
- for Traefik v2: use branch master
- for Traefik v2: we only accept bug fixes
- for Traefik v3: use branch master

HOW TO WRITE A GOOD PULL REQUEST? https://doc.traefik.io/traefik/contributing/submitting-pull-requests/

Expand Down
89 changes: 45 additions & 44 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,76 +4,77 @@ on:
pull_request:
branches:
- '*'
paths-ignore:
- 'docs/**'
- '**.md'
- 'script/gcg/**'

env:
GO_VERSION: 1.17
GO_VERSION: '1.23'
CGO_ENABLED: 0
IN_DOCKER: ""

jobs:

build-webui:
runs-on: ubuntu-20.04

steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Build webui
run: |
make clean-webui generate-webui
tar czvf webui.tar.gz ./webui/static/

- name: Artifact webui
uses: actions/upload-artifact@v2
with:
name: webui.tar.gz
path: webui.tar.gz
uses: ./.github/workflows/template-webui.yaml

build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
matrix:
os: [ ubuntu-20.04, macos-latest, windows-latest ]
os: [ darwin, freebsd, linux, openbsd, windows ]
arch: [ amd64, arm64 ]
include:
- os: freebsd
arch: 386
- os: linux
arch: 386
- os: linux
arch: arm
goarm: 6
- os: linux
arch: arm
goarm: 7
- os: linux
arch: ppc64le
- os: linux
arch: riscv64
- os: linux
arch: s390x
- os: openbsd
arch: 386
- os: windows
arch: 386
needs:
- build-webui
defaults:
run:
working-directory: ${{ github.workspace }}/go/src/github.com/traefik/traefik

steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: go/src/github.com/traefik/traefik
fetch-depth: 0

- name: Cache Go modules
uses: actions/cache@v2
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
env:
ImageOS: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.goarm }}
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
'%LocalAppData%\go-build'
key: ${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-build-go-
go-version: ${{ env.GO_VERSION }}

- name: Artifact webui
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: webui.tar.gz
path: ${{ github.workspace }}/go/src/github.com/traefik/traefik

- name: Untar webui
run: tar xvf webui.tar.gz
run: |
tar xvf webui.tar.gz
rm webui.tar.gz

- name: Build
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
GOARM: ${{ matrix.goarm }}
run: make binary
8 changes: 6 additions & 2 deletions .github/workflows/check_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ jobs:

docs:
name: Check, verify and build documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check documentation
run: make docs-pull-images docs
env:
# These variables are not passed to workflows that are triggered by a pull request from a fork.
DOCS_VERIFY_SKIP: ${{ vars.DOCS_VERIFY_SKIP }}
DOCS_LINT_SKIP: ${{ vars.DOCS_LINT_SKIP }}
70 changes: 70 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: "CodeQL"

on:
push:
branches:
- master
- v*
schedule:
- cron: '11 22 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: setup go
uses: actions/setup-go@v5
if: ${{ matrix.language == 'go' }}
with:
go-version-file: 'go.mod'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
12 changes: 6 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ on:
- v*

env:
STRUCTOR_VERSION: v1.11.2
STRUCTOR_VERSION: v1.13.2
MIXTUS_VERSION: v0.4.1

jobs:

docs:
name: Doc Process
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.repository == 'traefik/traefik'

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -41,12 +41,12 @@ jobs:
- name: Build documentation
run: $HOME/bin/structor -o traefik -r traefik --dockerfile-url="https://raw.githubusercontent.com/traefik/traefik/v1.7/docs.Dockerfile" --menu.js-url="https://raw.githubusercontent.com/traefik/structor/master/traefik-menu.js.gotmpl" --rqts-url="https://raw.githubusercontent.com/traefik/structor/master/requirements-override.txt" --force-edit-url --exp-branch=master --debug
env:
STRUCTOR_LATEST_TAG: ${{ secrets.STRUCTOR_LATEST_TAG }}
STRUCTOR_LATEST_TAG: ${{ vars.STRUCTOR_LATEST_TAG }}

- name: Apply seo
run: $HOME/bin/seo -path=./site -product=traefik

- name: Publish documentation
run: $HOME/bin/mixtus --dst-doc-path="./traefik" --dst-owner=traefik --dst-repo-name=doc --git-user-email="[email protected]" --git-user-name=traefiker --src-doc-path="./site" --src-owner=containous --src-repo-name=traefik
run: $HOME/bin/mixtus --dst-doc-path="./traefik" --dst-owner=traefik --dst-repo-name=doc --git-user-email="[email protected]" --git-user-name=traefiker --src-doc-path="./site" --src-owner=traefik --src-repo-name=traefik
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }}
52 changes: 42 additions & 10 deletions .github/workflows/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,64 @@ on:
- master
- v*

env:
GO_VERSION: '1.23'
CGO_ENABLED: 0

jobs:

build-webui:
if: github.repository == 'traefik/traefik'
uses: ./.github/workflows/template-webui.yaml

experimental:
if: github.repository == 'traefik/traefik'
name: Build experimental image on branch
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:

# https://github.com/marketplace/actions/checkout
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
env:
ImageOS: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.goarm }}
with:
go-version: ${{ env.GO_VERSION }}

- name: Build
run: make generate binary

- name: Branch name
run: echo ${GITHUB_REF##*/}

- name: Build docker experimental image
run: docker build -t traefik/traefik:experimental-${GITHUB_REF##*/} -f exp.Dockerfile .

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push to Docker Hub
run: docker push traefik/traefik:experimental-${GITHUB_REF##*/}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Artifact webui
uses: actions/download-artifact@v4
with:
name: webui.tar.gz

- name: Untar webui
run: |
tar xvf webui.tar.gz
rm webui.tar.gz

- name: Build docker experimental image
env:
DOCKER_BUILDX_ARGS: "--push"
run: |
make multi-arch-image-experimental-${GITHUB_REF##*/}
Loading