4 Commits

Author SHA256 Message Date
d82823f21a Accepting request 1310627 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1310627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/goss?expand=0&rev=7
2025-10-11 20:50:06 +00:00
2572278701 - Version bump for vendor file (bsc#1235323)
- Switch to C toolchain for builds to improve compatibility

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/goss?expand=0&rev=16
2025-10-10 19:55:46 +00:00
c701e67c71 Accepting request 1254524 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1254524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/goss?expand=0&rev=6
2025-03-20 18:24:51 +00:00
7d623e2ebe - Update to version 0.4.9
* updated dependencies
  * bump to go 1.23
  * fix: convert line endings of Dockerfile to linux
  * use variables to set container registry and repository in scripts
- Update to version 0.4.8
  * regexFirstGroup return first group from regexp, useful with .env file…
- Update to version 0.4.7
  * add a default user-agent header
  * Add new runtime environment variable to dgoss to copy additional files
- Update to version 0.4.6
  * "socket" as one more valid filetype for "file" testing
  * fix outcome label in goss_tests_run_outcomes_total
  * add more labels to prometheus output
  * kgoss: fixes issue #868 bei using a simpler chmod command
  * feat: s390x build option added to build package for IBM Z series
  * IDE json schema: skip is not mandatory for process tests
  * Added timeout for mount command in goss
  * Add uid/gid check in file module
- Update to version 0.4.4
  * Fixed: Return the error when a command fails to start 
- Update to version 0.4.3
  * Fix: panic in http test when url is invalid
  * added DGOSS_TEMP_DIR environment variable
  * Added: warning when duplicate keys cause tests to be overwritten
  * Implement log feedback and fix broken CI
  * Fixed: junit and json output bug causing panic
  * Added: found-elements to json output
- added %check section

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/goss?expand=0&rev=14
2025-03-19 20:56:40 +00:00
5 changed files with 59 additions and 9 deletions

View File

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

3
goss-0.4.9.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Fri Oct 10 19:10:31 UTC 2025 - Jochen Breuer <brejoc@gmail.com>
- Version bump for vendor file (bsc#1235323)
- Switch to C toolchain for builds to improve compatibility
-------------------------------------------------------------------
Sat Mar 8 15:39:00 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 0.4.9
* updated dependencies
* bump to go 1.23
* fix: convert line endings of Dockerfile to linux
* use variables to set container registry and repository in scripts
- Update to version 0.4.8
* regexFirstGroup return first group from regexp, useful with .env file…
- Update to version 0.4.7
* add a default user-agent header
* Add new runtime environment variable to dgoss to copy additional files
- Update to version 0.4.6
* "socket" as one more valid filetype for "file" testing
* fix outcome label in goss_tests_run_outcomes_total
* add more labels to prometheus output
* kgoss: fixes issue #868 bei using a simpler chmod command
* feat: s390x build option added to build package for IBM Z series
* IDE json schema: skip is not mandatory for process tests
* Added timeout for mount command in goss
* Add uid/gid check in file module
- Update to version 0.4.4
* Fixed: Return the error when a command fails to start
- Update to version 0.4.3
* Fix: panic in http test when url is invalid
* added DGOSS_TEMP_DIR environment variable
* Added: warning when duplicate keys cause tests to be overwritten
* Implement log feedback and fix broken CI
* Fixed: junit and json output bug causing panic
* Added: found-elements to json output
- added %check section
-------------------------------------------------------------------
Tue Oct 10 18:17:10 UTC 2023 - Jochen Breuer <brejoc@gmail.com> - 0.4.2

View File

@@ -1,7 +1,7 @@
#
# spec file for package goss
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -22,7 +22,7 @@
%define dcgoss_name dcgoss
Name: goss
Version: 0.4.2
Version: 0.4.9
Release: 0
Summary: Quick and Easy server testing/validation
License: Apache-2.0
@@ -30,8 +30,10 @@ Group: Development/Tools/Other
URL: https://github.com/aelsabbahy/goss
Source0: https://github.com/goss-org/goss/archive/refs/tags/v%{version}.tar.gz#/goss-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.18
BuildRequires: golang(API) >= 1.23
%description
Goss is a YAML based serverspec alternative tool for validating a servers configuration. It eases the process of writing tests by allowing the user to generate tests from the current system state. Once the test suite is written they can be executed, waited-on, or served as a health endpoint.
@@ -41,7 +43,7 @@ Goss is a YAML based serverspec alternative tool for validating a servers con
tar -zxf %{SOURCE1}
%build
GO111MODULE=on CGO_ENABLED=0 go build -mod=vendor -o %{name} -buildmode=pie \
GO111MODULE=on CGO_ENABLED=1 go build -mod=vendor -o %{name} -buildmode=pie \
-ldflags "-s -w -X main.version=%{version}" ./cmd/goss/goss.go
%install
@@ -50,6 +52,9 @@ install -D -m0755 extras/%{dgoss_name}/%{dgoss_name} %{buildroot}%{_bindir}/%{dg
install -D -m0755 extras/%{kgoss_name}/%{kgoss_name} %{buildroot}%{_bindir}/%{kgoss_name}
install -D -m0755 extras/%{dcgoss_name}/%{dcgoss_name} %{buildroot}%{_bindir}/%{dcgoss_name}
%check
go test ./...
%files
%license LICENSE
%{_bindir}/%{name}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39e263ddd35a97eb78c210823076088d3e7eb233020dd6c546056f1b632d3d1f
size 3565714
oid sha256:421cd06a47a4fe45990ac776859c568a4cfbf719f3087cfb05881b376c3f1476
size 4207612