Sync from SUSE:ALP:Source:Standard:1.0 uyuni-tools revision 8ff1f2dfeac11a597244c7257df1d5e1

This commit is contained in:
Adrian Schröter 2024-09-10 11:32:30 +02:00
parent 322b27d667
commit 5946a204b0
6 changed files with 137 additions and 16 deletions

BIN
uyuni-tools-git-0.1f0e1eb.obscpio (Stored with Git LFS)

Binary file not shown.

BIN
uyuni-tools-git-0.f7fc013.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,111 @@
-------------------------------------------------------------------
Mon Aug 05 10:05:30 CEST 2024 - marina.latini@suse.com
- version 0.1.21-0
* mgrpxy: Fix typo on Systemd template
-------------------------------------------------------------------
Fri Aug 02 16:50:31 CEST 2024 - marina.latini@suse.com
- version 0.1.20-0
* Update the push tag to 5.0.1
* mgrpxy: expose port on IPv6 network (bsc#1227951)
-------------------------------------------------------------------
Thu Aug 01 18:48:57 CEST 2024 - marina.latini@suse.com
- version 0.1.19-0
* Skip updating Tomcat remote debug if conf file is not present
-------------------------------------------------------------------
Wed Jul 31 13:24:42 CEST 2024 - marina.latini@suse.com
- version 0.1.18-0
* Setup Confidential Computing container during migration
(bsc#1227588)
* Add the /etc/uyuni/uyuni-tools.yaml path to the config help
* Split systemd config files to not loose configuration at upgrade
(bsc#1227718)
* Use the same logic for image computation in mgradm and mgrpxy
(bsc#1228026)
* Allow building with different Helm and container default
registry paths (bsc#1226191)
* Fix recursion in mgradm upgrade podman list --help
* Setup hub xmlrpc API service in migration to Podman (bsc#1227588)
* Setup disabled hub xmlrpc API service in all cases (bsc#1227584)
* Clean the inspection code to make it faster
* Properly detect IPv6 enabled on Podman network (bsc#1224349)
* Fix the log file path generation
* Write scripts output to uyuni-tools.log file
* Add uyuni-hubxml-rpc to the list of values in
mgradm scale --help
* Use path in mgradm support sql file input (bsc#1227505)
* On Ubuntu build with go1.21 instead of go1.20
* Enforce Cobbler setup (bsc#1226847)
* Expose port on IPv6 network (bsc#1227951)
* show output of podman image search --list-tags command
* Implement mgrpxy support config command
* During migration, ignore /etc/sysconfig/tomcat and
/etc/tomcat/tomcat.conf (bsc#1228183)
* During migration, remove java.annotation,com.sun.xml.bind and
UseConcMarkSweepGC settings
* Disable node exporter port for Kubernetes
* Fix start, stop and restart in Kubernetes
* Increase start timeout in Kubernetes
* Fix traefik query
* Fix password entry usability (bsc#1226437)
* Add --prepare option to migrate command
* Fix random error during installation of CA certificate
(bsc#1227245)
* Clarify and fix distro name guessing when not provided
(bsc#1226284)
* Replace not working Fatal error by plain error return
(bsc#1220136)
* Allow server installation with preexisting storage volumes
* Do not report error when purging mounted volume (bsc#1225349)
* Preserve PAGER settings from the host for interactive sql
usage (bsc#1226914)
* Add mgrpxy command to clear the Squid cache
* Use local images for Confidential Computing and
Hub containers (bsc#1227586)
-------------------------------------------------------------------
Thu Jul 04 17:11:17 CEST 2024 - rosuna@suse.com
- version 0.1.17-0
* Allow GPG files to be loaded from the local file (bsc#1227195)
-------------------------------------------------------------------
Tue Jul 02 15:16:44 CEST 2024 - marina.latini@suse.com
- version 0.1.16-0
* Prefer local images in all migration steps (bsc#1227244)
-------------------------------------------------------------------
Wed Jun 26 18:30:27 CEST 2024 - marina.latini@suse.com
- version 0.1.15-0
* Define --registry flag behaviour (bsc#1226793)
-------------------------------------------------------------------
Wed Jun 26 15:14:40 CEST 2024 - marina.latini@suse.com
- version 0.1.14-0
* Do not rely on hardcoded registry, remove any FQDN
-------------------------------------------------------------------
Fri Jun 21 16:52:52 CEST 2024 - marina.latini@suse.com
- version 0.1.13-0
* Fix mgradm support config tarball creation (bsc#1226759)
-------------------------------------------------------------------
Thu Jun 20 11:42:11 CEST 2024 - marina.latini@suse.com
- version 0.1.12-0
* Detection of k8s on Proxy was wrongly influenced by Server
setting
-------------------------------------------------------------------
Tue Jun 18 16:18:33 CEST 2024 - marina.latini@suse.com

View File

@ -1,4 +1,4 @@
name: uyuni-tools
version: git-0.1f0e1eb
mtime: 1718720716
commit: 1f0e1eb416ba1218f47cb0ac01bffcb80fc6d9cc
version: git-0.f7fc013
mtime: 1722857510
commit: f7fc013a2177aa403b5d0fb88297ce7669d4a451

View File

@ -22,7 +22,7 @@
%global project uyuni-tools
%global provider_prefix %{provider}.%{provider_tld}/%{org}/%{project}
%global productname Uyuni
%global version_details HEAD 1f0e1eb
%global version_details HEAD f7fc013
%global namespace registry.opensuse.org/uyuni
@ -45,13 +45,13 @@
# 0%{?debian} || 0%{?ubuntu}
Name: %{project}
Version: 0.1.11
Version: 0.1.21
Release: 0
Summary: Tools for managing %{productname} container
License: Apache-2.0
Group: System/Management
URL: https://%{provider_prefix}
Source0: uyuni-tools-git-0.1f0e1eb.tar.gz
Source0: uyuni-tools-git-0.f7fc013.tar.gz
Source1: vendor.tar.gz
BuildRequires: bash-completion
BuildRequires: coreutils
@ -73,7 +73,7 @@ BuildRequires: golang(API) >= 1.20
# 0%{?suse_version}
%if 0%{?ubuntu}
%define go_version 1.20
%define go_version 1.21
BuildRequires: golang-%{go_version}
%endif
# 0%{?ubuntu}
@ -294,7 +294,7 @@ Fish command line completion support for %{name_ctl}.
# 0%{?suse_version} || 0%{?sle_version}
%prep
%autosetup -n uyuni-tools-git-0.1f0e1eb -p1
%autosetup -n uyuni-tools-git-0.f7fc013 -p1
tar -zxf %{SOURCE1}
%build
@ -302,7 +302,7 @@ export GOFLAGS=-mod=vendor
mkdir -p bin
UTILS_PATH="%{provider_prefix}/shared/utils"
tag=5.0.0
tag=5.0.1
%if "%{?_default_tag}" != ""
tag='%{_default_tag}'
%endif
@ -314,12 +314,21 @@ pull_policy=%{!?_default_pull_policy:Always}
%endif
# "%{?_default_pull_policy}" != ""
image=%{namespace}
namespace=%{namespace}
helm_registry=%{namespace}
%if "%{?_default_namespace}" != ""
# Set both container and helm chart namespaces as this can be the same value
namespace='%{_default_namespace}/%{_arch}'
helm_registry='%{_default_namespace}'
%endif
# "%{?_default_namespace}" != ""
# We may have additional config for helm registry as the path is different in OBS devel projects
%if "%{?_default_helm_registry}" != ""
helm_registry='%{_default_helm_registry}'
%endif
# "%{?_default_helm_registry}" != ""
go_tags=""
%if "%{?_uyuni_tools_tags}" != ""
go_tags="-tags %{_uyuni_tools_tags}"
@ -340,7 +349,11 @@ go_path=""
GOLD_FLAGS="-X '${UTILS_PATH}.Version=%{version} (%{version_details})' -X ${UTILS_PATH}.LocaleRoot=%{_datadir}/locale"
if test -n "${namespace}"; then
GOLD_FLAGS="${GOLD_FLAGS} -X ${UTILS_PATH}.DefaultNamespace=${namespace} -X ${UTILS_PATH}.DefaultTag=${tag}"
GOLD_FLAGS="${GOLD_FLAGS} -X ${UTILS_PATH}.DefaultRegistry=${namespace}"
fi
if test -n "${helm_registry}"; then
GOLD_FLAGS="${GOLD_FLAGS} -X ${UTILS_PATH}.DefaultHelmRegistry=${helm_registry}"
fi
if test -n "${tag}"; then

BIN
vendor.tar.gz (Stored with Git LFS)

Binary file not shown.