SHA256
1
0
forked from pool/traefik

Accepting request 951589 from home:avicenzi:branches:devel:kubic

Update to version 2.6.0

OBS-URL: https://build.opensuse.org/request/show/951589
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=8
This commit is contained in:
Richard Brown 2022-02-08 10:14:35 +00:00 committed by Git OBS Bridge
parent 8ac27cca51
commit 593337feb4
9 changed files with 48 additions and 10 deletions

View File

@ -2,7 +2,8 @@
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="url">https://github.com/traefik/traefik.git</param> <param name="url">https://github.com/traefik/traefik.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">v2.4.12</param> <param name="exclude">.git</param>
<param name="revision">v2.6.0</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
@ -13,4 +14,6 @@
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="go_modules" mode="disabled">
</service>
</services> </services>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/traefik/traefik.git</param> <param name="url">https://github.com/traefik/traefik.git</param>
<param name="changesrevision">8be434aaadfcb14270657980f7ffffa0ebca420b</param></service></servicedata> <param name="changesrevision">5a1c936ede0c4ef1d7adb82052f8240f64791aa6</param></service></servicedata>

13
fetch-webui.sh Normal file
View File

@ -0,0 +1,13 @@
version=$(grep -oP "(?<=<param name=\"revision\">v).*(?=<\/param>)" _service)
echo "Fetching Traefik WebUI $version"
wget https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz
tar -xvf traefik-v${version}.src.tar.gz ./webui/static
tar -czvf traefik-${version}.webui.tar.gz webui
rm -rf webui
echo "Done"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16412ce3f935e18e51837bfba026728d6f21ea8feb8e617955ce04a29a446da2
size 8482253

3
traefik-2.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da5a47550b6484c8f70c6dbe8a2227687d235974f4c9b989e7e1fc838e21d085
size 8652293

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b7373ec636763409069b45703d4e960ce311bd3b5912891476ab7dc6d8c710b
size 1892068

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Feb 04 13:37:58 UTC 2022 - alexandre.vicenzi@suse.com
- Update to version 2.6.0:
* Updated Kubernetes Gateway API provider
* Consul Enterprise support
* Consul Connect support
* Inflight request middleware for TCP routers
* HTTP/3 support (experimental)
* Added support for loading plugins directly from the filesystem (Local Plugins)
* Added ability to create Provider Plugins
* Added TCP Middleware
* Kubernetes 1.22 API changes
* Dropped support for Ingress API versions extensions/v1beta1
* Updated Traefik Proxy CRDs to use API apiextensions.k8s.io/v1
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 28 15:46:39 UTC 2021 - alexandre.vicenzi@suse.com Wed Jul 28 15:46:39 UTC 2021 - alexandre.vicenzi@suse.com
@ -26,7 +42,6 @@ Wed Jul 28 15:46:39 UTC 2021 - alexandre.vicenzi@suse.com
* Use a dynamic buffer to handle client Hello SNI detection * Use a dynamic buffer to handle client Hello SNI detection
* Error span on 5xx only * Error span on 5xx only
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 19 09:06:54 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com> Wed May 19 09:06:54 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package traefik # spec file for package traefik
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define project github.com/traefik/traefik %define project github.com/traefik/traefik
Name: traefik Name: traefik
Version: 2.4.12 Version: 2.6.0
Release: 0 Release: 0
Summary: The Cloud Native Application Proxy Summary: The Cloud Native Application Proxy
License: MIT License: MIT
@ -29,6 +29,7 @@ Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.gz
Source2: traefik.service Source2: traefik.service
Source3: traefik.toml Source3: traefik.toml
Source4: %{name}-%{version}.webui.tar.gz
BuildRequires: go-bindata BuildRequires: go-bindata
BuildRequires: golang-packaging BuildRequires: golang-packaging
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
@ -57,6 +58,9 @@ build_date=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +"%%Y%%m%%d")
# tarball causes "inconsistent vendoring" # tarball causes "inconsistent vendoring"
tar -xf %{SOURCE1} tar -xf %{SOURCE1}
# unpack webui
tar -xf %{SOURCE4}
CGO_ENABLED=0 CGO_ENABLED=0
go generate go generate

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:74eadde544912098484507de8c928f741220e5e4f2a2aea6bbfe1201b1125130 oid sha256:81ecb1ce6078e5916b232545a806815ed9a9b7d8b960a77b92cbc8b7e409ef82
size 11921724 size 15460792