Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
838 commits
Select commit Hold shift + click to select a range
aa8eb1a
Replace experimental maps and slices with stdlib
Juneezee Dec 17, 2024
a870c2a
Add @jnoordsij to maintainers
emilevauge Dec 17, 2024
f1c4ba2
Remove duplicate github.com/coreos/go-systemd dependency
Juneezee Dec 19, 2024
e280716
Update Gateway API version support to v1.2.1
kevinpollet Dec 19, 2024
a29628f
Fix fenced server status computation
kevinpollet Dec 20, 2024
d9f58f9
Prepare release v3.3.0-rc2
rtribotte Dec 20, 2024
95f20fc
Configure ErrorLog in httputil.ReverseProxy
peacewalker122 Dec 20, 2024
35ce6ba
Bump golang.org/x/net to v0.33.0
kevinpollet Dec 20, 2024
596aadf
Merge branch v2.11 into v3.2
kevinpollet Dec 20, 2024
a1099bf
Merge branch v3.2 into v3.3
kevinpollet Dec 20, 2024
db31a4c
Add webui static files in release tarball
mmatur Dec 20, 2024
278e739
Fix allowACMEByPass TOML example
hannesbraun Dec 30, 2024
109a871
Update copyright for 2025
kevinpollet Jan 2, 2025
38ac1e7
Update go-acme/lego to v4.21.0
ldez Jan 2, 2025
ee449db
Merge current v2.11 into v3.2
mmatur Jan 2, 2025
d152f7f
Merge current v3.2 into v3.3
mmatur Jan 2, 2025
e204096
Upgrade github.com/spiffe/go-spiffe/v2 to v2.4.0
mmatur Jan 3, 2025
139f929
Support empty value for core Kubernetes API group
rtribotte Jan 3, 2025
5f3c30e
chore: update linter
ldez Jan 3, 2025
f62fc67
Merge current v2.11 into v3.2
rtribotte Jan 3, 2025
34aa3b7
Merge current v3.2 into v3.3
mmatur Jan 3, 2025
845d0b5
Merge current v3.3 into master
mmatur Jan 3, 2025
6d3a685
Add ingress status for ClusterIP and NodePort Service Type
mlec1 Jan 3, 2025
20d4962
Fix typo in basicauth note
tieje Jan 6, 2025
a31b026
Prepare release v2.11.17
kevinpollet Jan 6, 2025
ee83055
Allow release only on traefik/traefik repo
mmatur Jan 6, 2025
7db2bbb
Merge branch v2.11 into v3.2
kevinpollet Jan 6, 2025
69c8ecf
Prepare release v3.2.4
kevinpollet Jan 6, 2025
caf56e6
Merge branch v3.2 into v3.3
kevinpollet Jan 6, 2025
5b53bae
Prepare release v3.3.0
kevinpollet Jan 6, 2025
7cb4662
Disable http2 connect setting for websocket by default
rtribotte Jan 7, 2025
03c170f
Prepare release v3.2.5
rtribotte Jan 7, 2025
456188f
Merge current branch v3.2 into v3.3
rtribotte Jan 7, 2025
d4d6115
Prepare release v3.3.1
rtribotte Jan 7, 2025
f9ff604
Disable http2 connect setting for websocket by default
rtribotte Jan 7, 2025
1aa450c
Prepare release v2.11.18
kevinpollet Jan 7, 2025
6aa5678
Add missing trailing s to propagation.delayBeforeCheck option
jspiers Jan 8, 2025
d2414fe
Add test to check that SettingEnableConnectProtocol frame is not sent
kevinpollet Jan 8, 2025
a57e118
Merge branch v2.11 into v3.3
kevinpollet Jan 8, 2025
b0a7296
Merge branch v3.3 into master
kevinpollet Jan 8, 2025
95dd17e
Allow configuring server URLs with label providers
yelvert Jan 9, 2025
9a9644b
Set content-type when serving webui index
kevinpollet Jan 13, 2025
0a6ff44
Fix deprecated dnsChallenge propagation logging and documentation
thomscode Jan 13, 2025
8272be0
Remove awesome.traefik.io reference in documentation section
kevinpollet Jan 13, 2025
ad99c5b
Update Gateway API CRDs for integration tests
kevinpollet Jan 14, 2025
0528c05
Do not read response body for HEAD requests
kevinpollet Jan 14, 2025
ad7fb8e
Fix observability configuration on EntryPoints
rtribotte Jan 14, 2025
020ab5f
Prepare release v3.3.2
kevinpollet Jan 14, 2025
4ce4bd7
Bring back TraceID and SpanID fields in access logs
rtribotte Jan 15, 2025
435d28c
changing log message when client cert is not available to debug
Nelwhix Jan 17, 2025
261e439
Add support for UDP routing in systemd socket activation
tsiid Jan 21, 2025
c19cf12
Fix auto refresh not clearing on component unmount
Fausto-R91 Jan 21, 2025
ef88733
Add auto webui theme option and default to it
zizzfizzix Jan 23, 2025
fb527da
Handle responses without content length header
rtribotte Jan 23, 2025
2b6a04b
Set rule priority in Gateway API TLSRoute
augustozanellato Jan 23, 2025
2afa03b
Add option to preserve request method in forwardAuth
an09mous Jan 23, 2025
c5b92b5
Do not create a logger instance for each proxy
kevinpollet Jan 27, 2025
8103992
Prepare release v2.11.19
rtribotte Jan 29, 2025
857fbb9
Do not create observability model by default
rtribotte Jan 29, 2025
8593581
Fix integration tests for HTTPS
kevinpollet Jan 29, 2025
c20af07
Set check-latest to true in Go setup
kevinpollet Jan 30, 2025
86315e0
Fix ACME write when traefik is shutting down
juliens Jan 31, 2025
4fd6b10
Merge branch v2.11 into v3.3
rtribotte Jan 31, 2025
cdd24e9
Fix content-length header assertion
kevinpollet Jan 31, 2025
d04e2d7
Add missing headerField in Middleware CRD
jspdown Jan 31, 2025
8f5dd7b
Change docker-compose to docker compose
khai-pi Jan 31, 2025
4e441d0
Prepare release v2.11.20
rtribotte Jan 31, 2025
cfebed7
Merge branch v2.11 into v3.3
rtribotte Jan 31, 2025
da2278b
Prepare release v3.3.3
rtribotte Jan 31, 2025
786d9f3
Merge branch v3.3 into master
kevinpollet Jan 31, 2025
b74767b
Use ResourceAttributes instead of GlobalAttributes
bruno-de-queiroz Feb 6, 2025
8488214
Add missing options in entrypoints page
sheddy-traefik Feb 10, 2025
b5a5e25
Bump github.com/valyala/fasthttp to v1.58.0
kevinpollet Feb 11, 2025
84e20aa
chore: update linter
ldez Feb 12, 2025
dcd9f2e
Replace globalAttributes with resourceAttributes in tracing reference
rtribotte Feb 13, 2025
05c547f
Fix double hash in sticky cookie
juliens Feb 13, 2025
56ea028
Change request duration metric unit from millisecond to second
rtribotte Feb 14, 2025
eb07a5c
Bump github.com/traefik/paerser to v0.2.2
kevinpollet Feb 14, 2025
1cfcf0d
Chunked responses does not have a Content-Length header
kevinpollet Feb 14, 2025
1ccbf74
Add WebSocket headers if they are present in the request
kevinpollet Feb 17, 2025
f0849e8
Merge branch v3.3 into master
kevinpollet Feb 19, 2025
8e5d4c6
Bum github.com/go-acme/lego/v4 to v4.22.2
ldez Feb 21, 2025
c2a294c
Retry should send headers on Write
kevinpollet Feb 21, 2025
f196de9
Enable the retry middleware in the proxy
kevinpollet Feb 21, 2025
cce9354
Fix panic when calling Tracer
basgys Feb 24, 2025
efe03bc
Fix incorrect grammar in ACME documentation
Peter-Maguire Feb 24, 2025
9b03485
Update ACME provider configuration options
sheddy-traefik Feb 24, 2025
a3fd484
Prepare release v2.11.21
kevinpollet Feb 24, 2025
32ea014
Merge branch v2.11 into v3.3
kevinpollet Feb 24, 2025
07e6491
Prepare release v3.3.4
kevinpollet Feb 25, 2025
0dfd12e
Bump github.com/go-jose/go-jose/v4 to v4.0.5
kevinpollet Feb 25, 2025
9d8a421
Add tip for dynamic configuration updates of Redis
Alanxtl Feb 28, 2025
fa76ed5
Support rewriting status codes in error page middleware
sevensolutions Mar 3, 2025
7cfd10d
Update codegen to v0.30.10
mloiseleur Mar 5, 2025
740b4cf
Support domain configuration for sticky cookies
jleal52 Mar 6, 2025
c166a41
Improve CEL validation on Ingress CRD resources
mloiseleur Mar 6, 2025
474ab23
Compress data on flush when compression is not started
kevinpollet Mar 7, 2025
3c99135
Set scheme to https with BackendTLSPolicy
rtribotte Mar 7, 2025
550d96e
Add Redis rate limiter
longquan0104 Mar 10, 2025
14e400b
Bump AWS SDK to v2
Juneezee Mar 10, 2025
9e029a8
Add p2c load-balancing strategy for servers load-balancer
rtribotte Mar 10, 2025
b7170df
New Routing Reference Documentation
sheddy-traefik Mar 10, 2025
05eb438
Merge branch v2.11 into v3.3
rtribotte Mar 10, 2025
30fe11e
Merge branch v3.3 into master
kevinpollet Mar 10, 2025
4ff76e1
Remove documentation for OriginStatusLine and DownstreamStatusLine ac…
rtribotte Mar 11, 2025
ae4a00b
Allow root CA to be added through config maps
Nelwhix Mar 11, 2025
5953331
Add back forwarded headers section in FAQ
kevinpollet Mar 13, 2025
55ebaee
Clarifies that retry middleware uses TCP, not HTTP status codes
geraldcroes Mar 13, 2025
e76b65f
Add Security Support column in deprecation section
nmengin Mar 13, 2025
137c632
Add Security Support
nmengin Mar 14, 2025
b029461
Bump golang.org/x/net to v0.36.0
kevinpollet Mar 14, 2025
50b0d77
Add acme.profile and acme.emailAddresses options
ldez Mar 17, 2025
8ba99ad
Error level log for configuration-related TLS errors with backends
rtribotte Mar 21, 2025
bb7ef7b
Deprecate defaultRuleSyntax and ruleSyntax options
rtribotte Mar 21, 2025
08b90ad
Bump github.com/golang-jwt/jwt to v4.5.2 and v5.2.2
kevinpollet Mar 26, 2025
54a2d65
Bump github.com/redis/go-redis/v9 to v9.6.3
kevinpollet Mar 26, 2025
8474227
Bump golang.org/x/net to v0.37.0
kevinpollet Mar 26, 2025
a5d46fc
Change boolean module properties default value to undefined
rtribotte Mar 26, 2025
42778d2
Do not abort request when response content-type is malformed
kevinpollet Mar 26, 2025
2087e11
Bump nokogiri to 1.18.6 and html-proofer to 5.0.10
kevinpollet Mar 26, 2025
c910cee
Merge branch v2.11 into v3.3
kevinpollet Mar 27, 2025
f0cd6f2
Add support to disable session ticket
avdhoot Mar 28, 2025
496f00c
Revert compress middleware algorithms priority to v2 behavior
rtribotte Mar 28, 2025
ddb32ef
Allow underscore character in hostSNI matcher
rohitlohar45 Mar 28, 2025
6e9d713
Bump github.com/vulcand/oxy/v2 to v2.0.3
adamvduke Mar 31, 2025
b7be71c
Prepare release v2.11.22
rtribotte Mar 31, 2025
e817d82
Merge branch v2.11 into v3.3
rtribotte Mar 31, 2025
bd4ff81
Prepare release v3.3.5
rtribotte Mar 31, 2025
ec38a06
Merge branch v3.3 into master
kevinpollet Mar 31, 2025
405be42
Prepare release v3.4.0-rc1
kevinpollet Mar 31, 2025
6c3b099
Add acme.httpChallenge.delay option
ldez Apr 1, 2025
2965aa4
Fix Kubernetes Gateway statusAddress documentation
kevinpollet Apr 3, 2025
88c5e6a
Remove empty (v2) CRD definition file
jnoordsij Apr 8, 2025
bb8dfa5
Restrict regex validation of HTTP status codes for Ingress CRD resources
jnoordsij Apr 8, 2025
d7d0017
Add unhealthy Interval to the health check configuration
sswastik02 Apr 9, 2025
0664367
Document how to pass multiple Headers on tracing with CLI
mloiseleur Apr 9, 2025
5e44a13
Update Welcome Page
sheddy-traefik Apr 10, 2025
8cf2220
Typo fix on the Explanation Section for User Guide HTTP Challenge.
YapWC Apr 11, 2025
f794f8a
chore: update linter
ldez Apr 11, 2025
fd0fd39
Typos on what is Traefik docs page
matthewCmatt Apr 15, 2025
746cc80
Bump github.com/redis/go-redis/v9 to v9.7.3
kevinpollet Apr 15, 2025
e3caaf0
Bump golang.org/x/oauth2 to v0.28.0
rtribotte Apr 16, 2025
545f2fe
Add Content-Length header to preflight response
lbenguigui Apr 16, 2025
299a16f
Bump github.com/go-acme/lego/v4 to v4.23.1
ldez Apr 17, 2025
dd5cb68
Sanitize request path
rtribotte Apr 17, 2025
7442162
Bump golang.org/x/net to v0.38.0
kevinpollet Apr 17, 2025
8bdca45
Bump gopkg.in/DataDog/dd-trace-go.v1 to v1.72.2
kevinpollet Apr 17, 2025
a75b238
Prepare release v2.11.23
rtribotte Apr 17, 2025
f6fb240
Merge branch v2.11 into v3.3
rtribotte Apr 17, 2025
14da838
Bump github.com/redis/go-redis/v9 to v9.7.3
kevinpollet Apr 17, 2025
30d836f
Merge branch v2.11 into v3.3
rtribotte Apr 17, 2025
316be07
Add content-length best practice documentation
sheddy-traefik Apr 18, 2025
8816cb8
Prepare release v2.11.24
rtribotte Apr 18, 2025
160edff
Change version for path sanitization migration guide
rtribotte Apr 18, 2025
ec6deb4
Merge branch v2.11 into v3.3
kevinpollet Apr 18, 2025
2d617b3
Remove default load-balancing strategy from CRD
kevinpollet Apr 18, 2025
b05ec75
Prepare release v3.3.6
rtribotte Apr 18, 2025
9c1902c
Merge branch v3.3 into v3.4
kevinpollet Apr 18, 2025
9d0e76b
Prepare release v3.4.0 rc2
rtribotte Apr 18, 2025
a092c4f
Merge branch v3.4 into master
kevinpollet Apr 18, 2025
8f37c8f
Ability to enable unsafe in yaegi through plugin manifest
Rydez Apr 25, 2025
9bc71b0
Add a note about how to disable connection reuse with backends
rtribotte Apr 28, 2025
87b5740
Add SpanID and TraceID accessLogs fields only when tracing is enabled
rtribotte Apr 28, 2025
dddb68c
Allow configuration of ACME provider http timeout
tkw1536 Apr 28, 2025
74bc933
Prepare release v3.3.7
rtribotte May 5, 2025
bf399f3
Merge branch v3.3 into v3.4
kevinpollet May 5, 2025
ce42e85
Prepare release v3.4.0
kevinpollet May 5, 2025
448785d
Add multi-tenant TLS guidance to the docs
sheddy-traefik May 7, 2025
49b598d
tests: create redis sentinel config with permissive perms
holysoles May 12, 2025
0dc5b7d
Merge current v2.11 into v3.4
mmatur May 12, 2025
c5f7381
Merge current v3.4 into master
mmatur May 13, 2025
3ee316c
Fix incorrect case and missing rbac in documentation
mmatur May 13, 2025
b82290a
Adding garbage collector as variable in compilation
borjaOrtizLlamas May 13, 2025
6b9738e
GOGC empty default value for build
mmatur May 14, 2025
9ee0e43
Merge current v2.11 into v3.4
mmatur May 14, 2025
8c6ed23
Merge branch v3.4 into master
mmatur May 14, 2025
aa5f2b9
Fix broken link in documentation
sheddy-traefik May 16, 2025
79fde2b
Do not warn network missing if connected to a container network
holysoles May 19, 2025
3deea56
Make P2C strategy thread-safe
lbenguigui May 19, 2025
4790e49
Make the behavior of prefix matching in Ingress consistent with Kuber…
charlie0129 May 20, 2025
06b02bc
Do not display RemoveHeader option when not defined
kevinpollet May 23, 2025
76153ac
Fix CEL validation for RootCA in ServersTransport
rtribotte May 23, 2025
b669981
Fix panic for ingress with backend resource
rtribotte May 23, 2025
08d5dfe
Normalize request path
kevinpollet May 23, 2025
ab3234e
Scope the rate limit counter key by source AND by middleware
aromeyer May 23, 2025
be0b54b
Merge branch v2.11 into v3.4
kevinpollet May 23, 2025
55e6d32
acme.md: specify which file should be specified between restarts
joshka May 26, 2025
fa18c35
Refactor new muxer to have only one parser instance
juliens May 26, 2025
23c7c78
Add HTTP/2 maxConcurrentStream parameter test
rtribotte May 27, 2025
a3745d1
Match encoded certificate to example data for tlspassthrough
holysoles May 27, 2025
de1802d
Merge branch v2.11 into v3.4
kevinpollet May 27, 2025
859f4e8
Use routing path in v3 matchers
kevinpollet May 27, 2025
5f35c88
Prepare release v2.11.25
rtribotte May 27, 2025
4b68e67
Merge branch v2.11 into v3.4
kevinpollet May 27, 2025
8b495b4
Prepare release v3.4.1
rtribotte May 27, 2025
f16fff5
Migrate Traefik Proxy dashboard UI to React
gndz07 May 28, 2025
6a54f1f
Add WebSocket guide
NX211 May 28, 2025
0b4058d
Remove obsolete version field in compose files
thomas-mauran May 28, 2025
cd16321
Bump to go1.24
kevinpollet Jun 2, 2025
2fdee25
Attempt to fix TestProxyFromEnvironment test
rtribotte Jun 2, 2025
f174014
feat: parallelise unit tests
mmatur Jun 2, 2025
bd4bfd8
Merge branch v2.11 into v3.4
rtribotte Jun 2, 2025
92f798d
Update supported versions
jnoordsij Jun 2, 2025
fe5c7fd
Add a note to certificatesDuration
sMteX Jun 2, 2025
289d6e5
Merge branch v3.4 into master
kevinpollet Jun 2, 2025
ce1b13f
Bump sigs.k8s.io/gateway-api to v1.3.0
rtribotte Jun 3, 2025
fd5796a
Improve visualization for StatusRewrites option of errors middleware
sevensolutions Jun 3, 2025
f7a6f32
Update Dockerfiles to Alpine 3.22
jnoordsij Jun 3, 2025
bf72b97
Introduce X25519MLKEM768 for Post-Quantum-Secure TLS
fzoli Jun 3, 2025
bfcef58
Fix KV reference rendering
rtribotte Jun 3, 2025
aac8bc6
Clarify mirroring service default percent value
Alexy-vda Jun 4, 2025
ae79d4e
Do not log redis sentinel username and password
kevinpollet Jun 4, 2025
2949995
Handle context canceled in ForwardAuth middleware
bengentree Jun 4, 2025
9177717
Add a note about Ingress Backend Resource support
edysli Jun 4, 2025
b39ee8e
OCSP stapling
alekitto Jun 6, 2025
b0d8e08
Fix typo in redirect middleware documentation
rtribotte Jun 11, 2025
74eafcd
Merge branch v2.11 into v3.4
rtribotte Jun 11, 2025
0f862f4
Update Getting started Section with New Docker and Kubernetes Tutorial
sheddy-traefik Jun 20, 2025
107efb8
Add New Observe Guides to the Documentation
sheddy-traefik Jun 23, 2025
9bd5c61
NGINX Ingress Provider
rtribotte Jun 23, 2025
56a95d6
Add url option to healthcheck command
Nelwhix Jun 24, 2025
c2c488f
Remove conflicting information from the CircuitBreaker documentation.
adk-swisstopo Jun 25, 2025
cbfecc5
Merge branch v3.4 into master
rtribotte Jun 25, 2025
4daf13b
Update the EntryPoints Documentation
sheddy-traefik Jun 25, 2025
2d98795
Merge current branch v3.4 into master
rtribotte Jun 25, 2025
8ae0379
Prepare release v2.11.26
rtribotte Jun 26, 2025
e223116
Merge branch v2.11 into v3.4
rtribotte Jun 26, 2025
a519180
Prepare release v3.4.2
rtribotte Jun 26, 2025
c02ec68
Merge branch v3.4 into master
rtribotte Jun 26, 2025
c9c8cd6
Bump quic-go to v.0.49.0
joshua-siw Jun 26, 2025
b0e246c
Prepare release v3.4.3
rtribotte Jun 26, 2025
4af1882
Merge branch v3.4 into master
rtribotte Jun 26, 2025
9862cd6
Prepare release v3.5.0-rc1
rtribotte Jun 26, 2025
c69a8b5
Add New Setup Guides to the Documentation
sheddy-traefik Jun 30, 2025
137efed
Update Logs and Accesslogs Reference Documentation with OTLP Options
sheddy-traefik Jul 1, 2025
d674b39
Add New Expose Guides to the Documentation
sheddy-traefik Jul 4, 2025
9133141
Add missing resource attributes detectors
rtribotte Jul 7, 2025
cdacf0b
Respect service.nativelb=false annotation when nativeLBByDefault is e…
sdelicata Jul 8, 2025
955f484
Fix label for overriding swarm network on container
kevinpollet Jul 8, 2025
9a46d35
Update index.md to include full Traefik Platform context
tomatokoolaid Jul 9, 2025
ba595bf
Fix concurrent access to balancer status map in WRR and P2C strategies
kevinpollet Jul 10, 2025
a3685ee
Bump github.com/go-viper/mapstructure/v2 to v2.3.0
kevinpollet Jul 10, 2025
7ca90a4
Prepare release v2.11.27
kevinpollet Jul 11, 2025
aa1c0d8
Merge branch v2.11 into v3.4
kevinpollet Jul 11, 2025
95434e8
Prepare release v3.4.4
kevinpollet Jul 11, 2025
ff992fb
Merge branch v3.4 into v3.5
kevinpollet Jul 11, 2025
77ef7fe
Prepare release v3.5.0-rc2
kevinpollet Jul 11, 2025
5c94bbf
Merge branch v3.5 into master
kevinpollet Jul 11, 2025
0132fec
PIPR-438 Remove h2c from Traefik
dtanana Jul 22, 2025
cdc8092
Merge branch 'master' into tanana/PIPR-438_Customer-Reported-Vulbnera…
dtanana Jul 22, 2025
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: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
PLEASE READ THIS MESSAGE.

Documentation fixes or enhancements:
- for Traefik v2: use branch v2.10
- for Traefik v3: use branch v3.0
- for Traefik v2: use branch v2.11
- for Traefik v3: use branch v3.4

Bug fixes:
- for Traefik v2: use branch v2.10
- for Traefik v3: use branch v3.0
- for Traefik v2: use branch v2.11
- for Traefik v3: use branch v3.4

Enhancements:
- for Traefik v2: we only accept bug fixes
Expand Down
90 changes: 46 additions & 44 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,76 +4,78 @@ on:
pull_request:
branches:
- '*'
paths-ignore:
- 'docs/**'
- '**.md'
- 'script/gcg/**'

env:
GO_VERSION: '1.20'
GO_VERSION: '1.24'
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@v3
- 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 }}
check-latest: true

- 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
4 changes: 2 additions & 2 deletions .github/workflows/check_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ 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

Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- master
- v*
pull_request:
# The branches below must be a subset of the branches above
branches:
- '*'
schedule:
- cron: '11 22 * * 1'

Expand All @@ -32,11 +28,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
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@v2
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.
Expand All @@ -50,7 +52,7 @@ jobs:
# 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@v2
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
Expand All @@ -63,6 +65,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ 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 Down
53 changes: 43 additions & 10 deletions .github/workflows/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,65 @@ on:
- master
- v*

env:
GO_VERSION: '1.24'
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 }}
check-latest: true

- 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
Loading