commit a45a7bb4256ca347a34aff3a67bb6383ed39ed92b454a58162ed44cd2bad9fba Author: Johannes Kastl Date: Thu Jan 9 06:45:41 2025 +0000 update to 1.8.3 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/skupper?expand=0&rev=8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9c7593c --- /dev/null +++ b/Makefile @@ -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" diff --git a/PACKAGING_README.md b/PACKAGING_README.md new file mode 100644 index 0000000..65608d1 --- /dev/null +++ b/PACKAGING_README.md @@ -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. diff --git a/_service b/_service new file mode 100644 index 0000000..5f2d4f6 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + https://github.com/skupperproject/skupper + git + .git + 1.8.3 + @PARENT_TAG@ + enable + + + + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..9954ad1 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/skupperproject/skupper + f9c88e4e90f0a7f916e9b5d29e8dce5d2340f78e \ No newline at end of file diff --git a/generated.tar.gz b/generated.tar.gz new file mode 100644 index 0000000..68f0bd6 --- /dev/null +++ b/generated.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20f513679ceecb4f8f06946286dfe588411bbe286c95afd559668632db98b5bc +size 372663 diff --git a/skupper-1.7.3.obscpio b/skupper-1.7.3.obscpio new file mode 100644 index 0000000..9bbc31e --- /dev/null +++ b/skupper-1.7.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d48880263d92308fd213b4c07eb850bf28783fb3e5b1f77528b6d551c0e64756 +size 4086796 diff --git a/skupper-1.8.1.obscpio b/skupper-1.8.1.obscpio new file mode 100644 index 0000000..80ed072 --- /dev/null +++ b/skupper-1.8.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b06d383af03bee74e51b68b9603a1f0264c5d3c036ff70a3d452e51c48a6fbca +size 4109836 diff --git a/skupper-1.8.2.obscpio b/skupper-1.8.2.obscpio new file mode 100644 index 0000000..943963d --- /dev/null +++ b/skupper-1.8.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:877f744a45fbad44e21db7c25865b9db0710f41929d191585ce138eaac6123a8 +size 4113420 diff --git a/skupper-1.8.3.obscpio b/skupper-1.8.3.obscpio new file mode 100644 index 0000000..fd2bd4f --- /dev/null +++ b/skupper-1.8.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d88084c5c98fa834cb3fa48783ac557aae3d8eb66e69a23c1e6cce2be6341f2 +size 4135948 diff --git a/skupper.changes b/skupper.changes new file mode 100644 index 0000000..aa4acbc --- /dev/null +++ b/skupper.changes @@ -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 + +- new package skupper: Virtual Application Network, enabling rich + hybrid cloud communication diff --git a/skupper.obsinfo b/skupper.obsinfo new file mode 100644 index 0000000..631fa4f --- /dev/null +++ b/skupper.obsinfo @@ -0,0 +1,4 @@ +name: skupper +version: 1.8.3 +mtime: 1736359252 +commit: f9c88e4e90f0a7f916e9b5d29e8dce5d2340f78e diff --git a/skupper.spec b/skupper.spec new file mode 100644 index 0000000..9578b50 --- /dev/null +++ b/skupper.spec @@ -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 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..a0f7be1 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36aed477d560556ea792503e50ef796c1274540ed8a6f0af4b7b5496bc71f0ed +size 7720056