Auto sync2gitlab import of weldr-client-35.9-2.el8.src.rpm
This commit is contained in:
parent
79dc16008f
commit
7e95a3982c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/gpg-117E8C168EFE3A7F.key
|
||||
/weldr-client-35.5.tar.gz
|
||||
/weldr-client-35.9.tar.gz
|
||||
|
@ -1,47 +0,0 @@
|
||||
From b1d63edcd830a5a23eaa838f536769681db24acb Mon Sep 17 00:00:00 2001
|
||||
From: "Brian C. Lane" <bcl@redhat.com>
|
||||
Date: Tue, 14 Jun 2022 13:43:45 -0700
|
||||
Subject: [PATCH] tests: Update tests for osbuild-composer changes
|
||||
|
||||
Cancel when the build is in the wrong state now returns a proper error,
|
||||
and ostree composes now accept the refid, parent, and the url without
|
||||
returning an error.
|
||||
---
|
||||
weldr/compose_test.go | 12 +++++-------
|
||||
1 file changed, 5 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/weldr/compose_test.go b/weldr/compose_test.go
|
||||
index f937510..fb2fa42 100644
|
||||
--- a/weldr/compose_test.go
|
||||
+++ b/weldr/compose_test.go
|
||||
@@ -97,14 +97,12 @@ func TestStartOSTreeComposeUrl(t *testing.T) {
|
||||
assert.Greater(t, len(id), 0)
|
||||
}
|
||||
|
||||
-func TestStartOSTreeComposeUrlError(t *testing.T) {
|
||||
- // Sending both the parent url and the parent id should return an error
|
||||
+func TestStartOSTreeUrlParentError(t *testing.T) {
|
||||
+ // Sending both the parent url and the parent id is now allowed
|
||||
id, r, err := testState.client.StartOSTreeComposeTest("cli-test-bp-1", "qcow2", "refid", "parent", "http://weldr.io", 0, 2)
|
||||
require.Nil(t, err)
|
||||
- require.NotNil(t, r)
|
||||
- assert.False(t, r.Status)
|
||||
- assert.Equal(t, APIErrorMsg{"OSTreeOptionsError", "Supply at most one of Parent and URL"}, r.Errors[0])
|
||||
- assert.Equal(t, len(id), 0)
|
||||
+ require.Nil(t, r)
|
||||
+ assert.Greater(t, len(id), 0)
|
||||
}
|
||||
|
||||
func TestStartOSTreeComposeUpload(t *testing.T) {
|
||||
@@ -196,7 +194,7 @@ func TestCancelFinishedCompose(t *testing.T) {
|
||||
require.NotNil(t, status)
|
||||
assert.False(t, status.Status)
|
||||
require.GreaterOrEqual(t, len(r), 1)
|
||||
- assert.Equal(t, APIErrorMsg{"InternalServerError", "Internal server error: job does not exist"}, r[0])
|
||||
+ assert.Equal(t, APIErrorMsg{"BuildInWrongState", fmt.Sprintf("Build %s is not in WAITING or RUNNING.", id)}, r[0])
|
||||
}
|
||||
|
||||
func TestCancelComposeUnknown(t *testing.T) {
|
||||
--
|
||||
2.37.1
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (gpg-117E8C168EFE3A7F.key) = 9c760460e3227848c99a1178828512056ac04f518f98bdab5ef36d2aa31c4e5dcda3800d7141cfaf7f2acd0f7f35d4b9971083b6f14f8a36231b74041d4ed88d
|
||||
SHA512 (weldr-client-35.5.tar.gz) = 81f4a97ce1f1081ea27d0f5e3513ef705586b5b29ff4f9047e067888af4784472c79203397aa8e567414f3e92a1b1fef55412d0e151adaef01f96cc5ec0cceb3
|
||||
SHA512 (gpg-117E8C168EFE3A7F.key) = 88c0a30ebbaa3b586d5ac5fd5fdcf1f92f58ab580d7770e39ef9ff4ce380c1a748e815d3f9f9c13a6b2d1b1cd554886c360fba7a586f518a8aa7a4972317526b
|
||||
SHA512 (weldr-client-35.9.tar.gz) = bf4a74bd601e9bf789961754488ca8522938c7b5807f0e2e01b53bb9ca4d8a21823fcb54bc4fb81b7299010f0c81a8d33daa2d9d1a2e0935d271536c3e417fcd
|
||||
|
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEtMa0UeT6i0IyyhkeEX6MFo7+On8FAmIK0YcACgkQEX6MFo7+
|
||||
On8CfAf7BSNtG3oQKc9KxmN+D7hS/IHliKpAWRhF+kNZDshytLZeISuB8yjDlXJ8
|
||||
LMVifzmkumoZTwYsk74TGJjL/j/wTo6RAE5+OEIQIftvidihahNUH5WM6XrbSVAA
|
||||
ygB3NgrhaGTnk8TRHNNnY26CJ6drY6MTNB3V+JFXtVlx/EgH+LHHLrXOA6f5I+3h
|
||||
TKMzxJOXgXb1yDrSdVJYj1IToGmwT+QsiCmzciYCykshRaoe9hGfrDPoC4xGjdVx
|
||||
OreX9x/tmPuPqQhXK40CqVX2rGMzjMf78/01dDiWHatOKepHdGy0N7VFwLQ8/f0Q
|
||||
QD0Yq3i0JMzzS28NAszNdQdIeAD7BA==
|
||||
=A1hY
|
||||
-----END PGP SIGNATURE-----
|
11
weldr-client-35.9.tar.gz.asc
Normal file
11
weldr-client-35.9.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEtMa0UeT6i0IyyhkeEX6MFo7+On8FAmOH8DIACgkQEX6MFo7+
|
||||
On+AEwf/eC3Z8D+sYELGNptxRkCzPfVM24a0R6UBs0EWsc2Wj+4WfNF5KYURyhzT
|
||||
u613oOINB70PFKGNy6WPvNVwjfbS0xvkff9e1Dsn/gXmmre/eLoEiAk1cSwRVAtu
|
||||
lTmIsntUcQkqdBYSLG1ExGirrLPE79FshOzQC7wWprhYlm3lfMmAbJnX3wDd7YJJ
|
||||
woX6boJAlfLyvYUQ5EGTLz2QBH61MqlVbB7O+r4ek7g252JsG0qSzIj9GShrJ6TK
|
||||
skR/4GGHAoGp1wuuMAO8N6E+aXA2QmAGBDO7AdzAZC86U4BVe2xDvO63QwxiT5eN
|
||||
ECRXCsisiALG1wJYGGnqh9Sc6bxNWw==
|
||||
=uGwQ
|
||||
-----END PGP SIGNATURE-----
|
@ -6,11 +6,13 @@
|
||||
%global goipath github.com/osbuild/weldr-client/v2
|
||||
|
||||
Name: weldr-client
|
||||
Version: 35.5
|
||||
Release: 4%{?dist}
|
||||
Version: 35.9
|
||||
Release: 2%{?dist}
|
||||
# Upstream license specification: Apache-2.0
|
||||
License: ASL 2.0
|
||||
Summary: Command line utility to control osbuild-composer
|
||||
|
||||
%gometa
|
||||
Url: %{gourl}
|
||||
Source0: https://github.com/osbuild/weldr-client/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
%if %{with signed}
|
||||
@ -18,12 +20,10 @@ Source1: https://github.com/osbuild/weldr-client/releases/download/v%{version}
|
||||
Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/117E8C168EFE3A7F#/gpg-117E8C168EFE3A7F.key
|
||||
%endif
|
||||
|
||||
Patch0001: 0001-tests-Update-tests-for-osbuild-composer-changes.patch
|
||||
|
||||
Obsoletes: composer-cli < 35.0
|
||||
Provides: composer-cli = %{version}-%{release}
|
||||
|
||||
%gometa
|
||||
Requires: diffutils
|
||||
|
||||
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
|
||||
%if 0%{?fedora}
|
||||
@ -117,6 +117,8 @@ make test
|
||||
%package tests
|
||||
Summary: Integration tests for composer-cli
|
||||
|
||||
Requires: createrepo_c
|
||||
|
||||
%description tests
|
||||
Integration tests to be run on a pristine-dedicated system to test the
|
||||
composer-cli package.
|
||||
@ -128,6 +130,67 @@ composer-cli package.
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 14 2023 Brian C. Lane <bcl@redhat.com> - 35.9-2
|
||||
- tests: Remove default repos before running tests
|
||||
Related: rhbz#2168666
|
||||
|
||||
* Wed Nov 30 2022 Brian C. Lane <bcl@redhat.com> - 35.9-1
|
||||
- Copy rhel-88.json test repository from osbuild-composer
|
||||
- Update osbuild-composer test repositories from osbuild-composer
|
||||
- New release: 35.9 (bcl)
|
||||
Resolves: rhbz#2168666
|
||||
- tests: Replace os.MkdirTemp with t.TempDir (bcl)
|
||||
- blueprint save: Allow overriding bad blueprint names (bcl)
|
||||
- tests: Clean up checking err in tests (bcl)
|
||||
- composer-cli: Implement blueprints diff (bcl)
|
||||
- saveBlueprint: Return the filename to the caller (bcl)
|
||||
- composer-cli: Add tests for using --commit with old servers (bcl)
|
||||
- weldr: Return error about the blueprints change route (bcl)
|
||||
- weldr: Save the http status code as part of APIResponse (bcl)
|
||||
- Add --commit support to blueprints save (bcl)
|
||||
- Add --commit to blueprints show (bcl)
|
||||
- gitleaks: Exclude the test password used in tests (bcl)
|
||||
- ci: add tags to AWS instances (tlavocat)
|
||||
- Update github.com/BurntSushi/toml to 1.2.1
|
||||
- Update github.com/stretchr/testify to 1.8.1
|
||||
- Update bump github.com/spf13/cobra to 1.6.1
|
||||
- New release: 35.8 (bcl)
|
||||
- completion: Remove providers from bash completion script (bcl)
|
||||
- completion: Filter out new headers from compose list (bcl)
|
||||
- docs: Remove unneeded Long descriptions (bcl)
|
||||
- docs: Use a custom help template (bcl)
|
||||
- docs: Add more command documentation (bcl)
|
||||
- cmdline: Add package glob support to modules list command (bcl)
|
||||
- workflow: Add govulncheck on go v1.18 (bcl)
|
||||
- tests: Update to use golangci-lint 1.49.0 (bcl)
|
||||
- New release: 35.7 (bcl)
|
||||
- spec: Move %%gometa macro above %%gourl (bcl)
|
||||
- weldr: When starting a compose pass size as bytes, not MiB (bcl)
|
||||
- tests: Use correct size value in bytes for test (bcl)
|
||||
- workflow: Add Go 1.18 to text matrix (bcl)
|
||||
- Replace deprecated ioutil functions (bcl)
|
||||
- New release: 35.6 (bcl)
|
||||
- tests: Update tests for osbuild-composer changes (bcl)
|
||||
- CMD: Compose status format (eloy.coto)
|
||||
- CMD: Compose list format (eloy.coto)
|
||||
- tests: Update tests to check for JSON list output (bcl)
|
||||
- composer-cli: Change JSON output to be a list of objects (bcl)
|
||||
- weldr: Simplify the old ComposeLog, etc. functions (bcl)
|
||||
- composer-cli: Add --filename to blueprints freeze save command (bcl)
|
||||
- composer-cli: Add --filename to blueprints save command (bcl)
|
||||
- composer-cli: Add --filename to compose logs command (bcl)
|
||||
- composer-cli: Add --filename to compose image command (bcl)
|
||||
- composer-cli: Add --filename to compose metadata command (bcl)
|
||||
- composer-cli: Add --filename to compose results command (bcl)
|
||||
- weldr: Add saving to a new filename to GetFilePath function (bcl)
|
||||
- github: Fix issue with codecov and forced pushes in PRs (bcl)
|
||||
- Use golangci-lint 1.45.2 in workflow (bcl)
|
||||
- Run workflow tests for go 1.16.x and 1.17.x (bcl)
|
||||
- Move go.mod to go 1.16 (bcl)
|
||||
- workflows/trigger-gitlab: run Gitlab CI in new image-builder project (jrusz)
|
||||
- Update GitHub actions/setup-go to 3
|
||||
- Update GitHub actions/checkout to 3
|
||||
|
||||
* Tue Aug 16 2022 Brian C. Lane <bcl@redhat.com> - 35.5-4
|
||||
- tests: Update tests for osbuild composer changes
|
||||
Resolves: rhbz#2118829
|
||||
|
Loading…
Reference in New Issue
Block a user