Johannes Kastl 2025-01-09 06:45:41 +00:00 committed by Git OBS Bridge
commit a45a7bb425
15 changed files with 287 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

38
Makefile Normal file
View File

@ -0,0 +1,38 @@
NAME = skupper
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir := $(dir $(mkfile_path))
export GOPATH := $(mkfile_dir)/tmpdir/
# make sure ./ is in the path,
# otherwise mockery is not found...
export PATH := :$(mkfile_dir)/tmpdir/bin:$(PATH)
default: clean tar
clean:
rm -rf $(NAME) $(NAME)-*.obscpio vendor.tar.gz generated.tar.gz ./tmpdir
tar:
osc service manualrun
mkdir -p ./tmpdir/src/ && \
rm -rf ./tmpdir/src/ && \
echo "Copy files to ./tmpdir/src/" && \
cp -r ./skupper/ ./tmpdir/src && \
cd ./tmpdir/src/ && \
echo "Starting go generate" && \
./scripts/update-codegen.sh && \
./scripts/libpod-generate.sh && \
go mod download && \
go mod vendor && \
echo "Creating tarball vendor.tar.gz" && \
tar czf ../../vendor.tar.gz ./vendor && \
ls -lh ../../vendor.tar.gz && \
echo "Creating tarball generated.tar.gz" && \
tar czf ../../generated.tar.gz ./client/generated/ && \
ls -lh ../../generated.tar.gz && \
echo "Cleaning up" && \
go clean -modcache && \
cd ../../ && \
rm -rf ./tmpdir && \
echo "Finished"

13
PACKAGING_README.md Normal file
View File

@ -0,0 +1,13 @@
# Packaging skupper
skupper requires to run `make generate-client` before vendoring the golang
dependencies.
1. Change the version in the `_service` file
3. Run `make`
4. Check the autogenerated changelog entry
5. Commit the changes as usual
For the OBS workflow you need `obs-service-tar_scm`.
For the `make` part you need `make` and a recent go installation.

19
_service Normal file
View File

@ -0,0 +1,19 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/skupperproject/skupper</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">1.8.3</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
</service>
<!-- services below are running at buildtime -->
<service name="tar" mode="buildtime">
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/skupperproject/skupper</param>
<param name="changesrevision">f9c88e4e90f0a7f916e9b5d29e8dce5d2340f78e</param></service></servicedata>

3
generated.tar.gz Normal file
View File

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

3
skupper-1.7.3.obscpio Normal file
View File

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

3
skupper-1.8.1.obscpio Normal file
View File

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

3
skupper-1.8.2.obscpio Normal file
View File

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

3
skupper-1.8.3.obscpio Normal file
View File

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

87
skupper.changes Normal file
View File

@ -0,0 +1,87 @@
-------------------------------------------------------------------
Thu Jan 09 06:39:58 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 1.8.3:
* update for 1.8.3
* remove external process log (#1865)
* Fixes internal console-auth implementation (#1833)
* Ensure podman service containers bind correct hosts (#1799)
* Update test images for ARM and OCP 3.11 (#1652)
* Add stability to TestGateway and TestBasic tests (#1766)
-------------------------------------------------------------------
Mon Nov 04 19:49:49 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.8.2:
* update for 1.8.2
* refine peer link deletion (#1726)
* Fixed version in update test (#1711)
* Cleanup old link records. When incoming link is deleted,
remove corresponding outgoing link. (#1699)
* add v2 section (#1687)
* Update link cost when receiving a flow record (#1695)
* Podman sites update issue (#1675)
-------------------------------------------------------------------
Sat Sep 14 08:21:20 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.8.1:
* update for 1.8.1
* Mark the test as failed, if bad URL from token
* Assorted fixes on -use-cluster tests (#1391)
-------------------------------------------------------------------
Sat Sep 14 08:14:03 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.8.0:
* update for 1.8.1
* Avoid hiding the cursor when displaying a spinner (#1616)
* Update the collector to stop errant DNS Lookups (#1606)
* Sets site-server processes as bound/exposed. (#1578)
* pin router version to 2.6.1 for V1 (#1602)
* Fix image-pull test when not using :main tag (#1592)
* Adding flag: drop tcp connections (#1564)
* keep original port assignments within a service
* Ensure original target ports annotation is not overwritten once
set
* Remove confusing error message from configSyc log
* Added Skupper token status command
* Include labels from site spec on new secret
* Configure oauth-proxy with random cookie secret
* Incorrect podman version recommendation (#1450)
* do not overwrite unrecognised fields in router config entities
* TestBasic: address flaky test, improves debuggability (#1467)
* Display only locally exposed services in status and service
status commands for k8s and podman platforms (#1478)
* update packages (#1480)
* Removed unused attribute to keep it compatible with podman v5
(#1483)
* skupper init fixes for rootful podman (#1469)
* Add expiry time to token. When token is being used to create
link verify the token hasn't expired. If it has log a warning,
but continue trying to bring up link.
* skupper init for rootful podman should try
/run/podman/podman.sock (#1464)
* Updated format transformation to schema 2 (#1461)
* Proper handling of job removal on TestGateway subtests (#1462)
-------------------------------------------------------------------
Sun Aug 18 12:57:42 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.7.3:
* update for 1.7.3
* update for 1.7.2
* Include labels from site spec on new secret
* Configure oauth-proxy with random cookie secret
* update for 1.7.1
* update packages (#1480)
* Update for 1.7.0
* Fix the early parsing of platform flag in init() (#1451)
* Default ingress to route on openshift
* Sk1765 fix flow protocol race (#1460)
-------------------------------------------------------------------
Sun Aug 18 12:54:33 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- new package skupper: Virtual Application Network, enabling rich
hybrid cloud communication

4
skupper.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: skupper
version: 1.8.3
mtime: 1736359252
commit: f9c88e4e90f0a7f916e9b5d29e8dce5d2340f78e

80
skupper.spec Normal file
View File

@ -0,0 +1,80 @@
#
# spec file for package skupper
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: skupper
Version: 1.8.3
Release: 0
Summary: Virtual Application Network, enabling rich hybrid cloud communication
License: Apache-2.0
URL: https://github.com/skupperproject/skupper
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: generated.tar.gz
Source3: PACKAGING_README.md
BuildRequires: go >= 1.22
%description
Skupper enables cloud communication by enabling you to create a Virtual
Application Network.
This application layer network decouples addressing from the underlying network
infrastructure. This enables secure communication without a VPN.
You can use Skupper to create a network from namespaces in one or more
Kubernetes clusters as described in the Getting Started. This guide describes a
simple network, however there are no restrictions on the topology created which
can include redundant paths.
Connecting one Skupper site to another site enables communication both ways.
Communication can occur using any path available on the network, that is,
direct connections are not required to enable communication.
Skupper supports anycast and multicast communication using the application
layer network (VAN), allowing you to configure your topology to match business
requirements.
Skupper does not require any special privileges, that is, you do not require
the cluster-admin role to create networks.
%prep
%autosetup -p 1 -a 1
tar xvf %{SOURCE2}
%build
go build \
-mod=vendor \
-buildmode=pie \
-ldflags=" \
-X github.com/skupperproject/skupper/pkg/version.Version=%{version}" \
-o bin/%{name} ./cmd/%{name}
%install
# Install the binary.
install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name}
%check
go test -v -count=1 ./client
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.gz Normal file
View File

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