- New release: 35.5 (bcl)

Resolves: rhbz#2052601
- docs: Explain how to undo blueprints delete (bcl)
- test: server status no longer returns devel (bcl)
- Use GetFrozenBlueprintsTOML for blueprints freeze save (bcl)
- Add a test for float uid/gid in frozen blueprint (bcl)
- Use GetBlueprintsTOML for blueprints save (bcl)
- test: Add a test for float uid/gid in saved blueprint (bcl)
- build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (49699333+dependabot[bot])
- tests: trigger on push to main (jrusz)
- build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (49699333+dependabot[bot])
- ci: add keystore for sonarqube (jrusz)
- spec: Switch to using %gobuild macro on Fedora (bcl)
- ci: change workflow name (jrusz)
- ci: add gitlab-ci and sonarqube (jrusz)
- doc: fix example links from the README (tdecacqu)
- build(deps): bump actions/checkout from 2.3.4 to 2.4.0 (49699333+dependabot[bot])
- ci: Enable Coverity Scan tool (atodorov)
This commit is contained in:
Brian C. Lane 2022-02-15 09:56:40 -08:00
parent d532971d38
commit 2786a92db3
3 changed files with 26 additions and 124 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
/weldr-client-35.3.tar.gz.asc
/weldr-client-35.4.tar.gz
/weldr-client-35.4.tar.gz.asc
/weldr-client-35.5.tar.gz
/weldr-client-35.5.tar.gz.asc

View File

@ -1,3 +1,3 @@
SHA512 (weldr-client-35.5.tar.gz) = 81f4a97ce1f1081ea27d0f5e3513ef705586b5b29ff4f9047e067888af4784472c79203397aa8e567414f3e92a1b1fef55412d0e151adaef01f96cc5ec0cceb3
SHA512 (weldr-client-35.5.tar.gz.asc) = 3116b9481bf43eea82029b15bbc972341ef2cc9e73e97bf60490458085cba0f4fe0adb4651688101ffaa2e41f5f5f112a5a6555be3253d3666faf801e3d157cc
SHA512 (gpg-117E8C168EFE3A7F.key) = 9c760460e3227848c99a1178828512056ac04f518f98bdab5ef36d2aa31c4e5dcda3800d7141cfaf7f2acd0f7f35d4b9971083b6f14f8a36231b74041d4ed88d
SHA512 (weldr-client-35.4.tar.gz) = aa60fac82cf146e0780c11034b22c22b997641a8e9135cb96c5e6bf874bee96b68376845557969a1e93a43e3b8552066f9738b96e05e31947c673a27e7ce2c5e
SHA512 (weldr-client-35.4.tar.gz.asc) = 718dd5c9693bf47da2856977f3b8bfe3c39ec5824a700791af5ddf926ddc4145e060215e34067bfd19338552051117722dd1dfa62713c17c65d7474e20bdc041

View File

@ -6,7 +6,7 @@
%global goipath github.com/osbuild/weldr-client/v2
Name: weldr-client
Version: 35.4
Version: 35.5
Release: 1%{?dist}
# Upstream license specification: Apache-2.0
License: ASL 2.0
@ -62,12 +62,11 @@ install -m 0755 -vd _bin
export PATH=$PWD/_bin${PATH:+:$PATH}
export GOPATH=$GO_BUILD_PATH:%{gopath}
export GOFLAGS=-mod=vendor
%gobuild -o composer-cli %{goipath}/cmd/composer-cli
%else
export GOPATH="%{gobuilddir}:${GOPATH:+${GOPATH}:}%{?gopath}"
export GO111MODULE=off
make GOBUILDFLAGS="%{gobuildflags}" build
%endif
%gobuild -o composer-cli %{goipath}/cmd/composer-cli
## TODO
@ -80,14 +79,10 @@ export BUILDTAGS="integration"
# golang's testing package. The RHEL golang rpm macros don't support building them
# directly. Thus, do it manually, taking care to also include a build id.
#
# On Fedora, also turn off go modules and set the path to the one into which
# On Fedora go modules have already been turned off, and the path set to the one into which
# the golang-* packages install source code.
%if 0%{?rhel}
export LDFLAGS="${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(od -N 20 -An -tx1 -w100 /dev/urandom | tr -d ' ')"
go test -c -tags=integration -buildmode pie -compiler gc -ldflags="${LDFLAGS}" -o composer-cli-tests %{goipath}/weldr
%else
make GOBUILDFLAGS="%{gobuildflags}" integration
%endif
%endif
%install
@ -131,117 +126,22 @@ composer-cli package.
%changelog
* Thu Nov 04 2021 Brian C. Lane <bcl@redhat.com> - 35.4-1
- New release: 35.4 (bcl)
Resolves: rhbz#2020326
- test: More detailed error for test compose failure (bcl)
- weldr: Return a helpful error for socket problems (bcl)
- spec: Add build flags to composer-cli-test build cmdline (bcl)
* Wed Oct 06 2021 Brian C. Lane <bcl@redhat.com> - 35.3-3
- Add more of the go build flags to composer-cli-test build cmdline
Related: rhbz#2010519
* Tue Oct 05 2021 Brian C. Lane <bcl@redhat.com> - 35.3-2
- Add -buildmode pie to composer-cli-tests LDFLAGS
Related: rhbz#2010519
* Mon Oct 04 2021 Brian C. Lane <bcl@redhat.com> - 35.3-1
- New release: 35.3 (bcl)
Resolves: rhbz#2010519
- spec: Adjust build methods for RHEL 8 (bcl)
- github: Run build-in-podman to test building package (bcl)
- spec: Use v2 module (bcl)
- Makefile: Use v2 module (bcl)
- Makefile: Add a build-in-podman target (bcl)
- tests: Add JSON and error result testing to status (bcl)
- tests: Add JSON and error result testing to sources (bcl)
- tests: Add JSON and error result testing to projects (bcl)
- tests: Add JSON and error result testing to modules (bcl)
- tests: Add JSON and error result testing to distros (bcl)
- tests: Add JSON and error result testing to compose (bcl)
- tests: Add JSON and error result testing to blueprints (bcl)
- test: Fix test client setup and output capture code (bcl)
- test: Close output capture in printwrap_test (bcl)
- test: reset the root flags on every ExecuteTest call (bcl)
- status: Use ExecutionErrors for API errors (bcl)
- sources: Use ExecutionErrors for API errors (bcl)
- projects: Use ExecutionErrors for API errors (bcl)
- modules: Use ExecutionErrors for API errors (bcl)
- distros: Use ExecutionErrors for API errors (bcl)
- compose: Use ExecutionErrors for API errors (bcl)
- blueprints: Use ExecutionErrors for API errors (bcl)
- composer-cli: Turn off normal command Stdout when --json is used (bcl)
- weldr: Fix Stringer interface on API messages (bcl)
- weldr: Clean up error message return code (bcl)
- weldr: Move Unmarshal error to error position (bcl)
- root: Add a helper function to print a list of errors (bcl)
- Use GetFilePath for ComposeImage (bcl)
- Use GetFilePath for ComposeResults (bcl)
- Use GetFilePath for ComposerMetadata (bcl)
- Use GetFilePath for ComposeLogs (bcl)
- weldr: Add GetFilePath to download a file to a path (bcl)
- Creating v2 module for breaking API changes (bcl)
- Makefile: Add update-mods target (bcl)
- vendor: Update the modules and vendor directory (bcl)
- Bump go version to 1.15 (bcl)
- Limit dependabot to 1 PR (bcl)
- Enable Dependabot service (atodorov)
- tests: Fix integration tests (bcl)
* Wed Aug 25 2021 Brian C. Lane <bcl@redhat.com> - 35.2-2
- gating: Add gating tests
Resolves: rhbz#1996788
- gating: Workaround to install latest packages
- Fix integration tests
* Mon Aug 23 2021 Brian C. Lane <bcl@redhat.com> - 35.2-1
- New release: 35.2 (bcl)
Resolves: rhbz#1996762
- weldr: Use assert.Contains instead of IsStringInSlice (bcl)
- Add missing projects depsolve command (bcl)
- Add support for projects info --distro=DISTRO-NAME (bcl)
- Add support for projects list --distro=DISTRO-NAME (bcl)
- Add support for modules info --distro=DISTRO-NAME (bcl)
- weldr: Add distros to testState (bcl)
- Add support for modules list --distro=DISTRO-NAME (bcl)
- weldr: Add AppendQuery helper function (bcl)
- Add support for compose types --distro=DISTRO-NAME (bcl)
- composer-cli: Add distros list command (bcl)
- weldr: Add ListDistros function and tests (bcl)
- Makefile: Add scratch-srpm and scratch-rpm targets (bcl)
- Print filename for compose results (bcl)
- ExcuteTests - return the correct error variables in case of errors (atodorov)
- The rpm package should obsolete composer-cli from lorax (bcl)
- tests: Enable CodeCov.io (atodorov)
- actions: Install lint using GOPATH (bcl)
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 35.1-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 35.1-3
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
* Thu Apr 22 2021 Brian C. Lane <bcl@redhat.com> - 35.1-2
- Obsolete composer-cli < 35.0 instead of 34.0
Patch until next upstream release
* Mon Apr 12 2021 Brian C. Lane <bcl@redhat.com> - 35.1-1
- New release: 35.1 (bcl)
- spec: Change release back to 1 (bcl)
- spec: Move testify BuildRequires into fedora block (bcl)
- vendor: Add vendored dependencies for RHEL (bcl)
- tools: Add prepare-source.sh vendoring helper script (bcl)
- Makefile: skip vendor directory for check target (bcl)
- spec: Bump release to 2 (bcl)
- spec: Fix BuildRequires for tests (bcl)
- Makefile: Remove executable from bash completion (bcl)
- Makefile: Only use GOBUILDFLAGS (bcl)
- spec: Bump release to 2 (bcl)
- spec: Add doc files (bcl)
- spec: Add gpg signature verification (bcl)
- spec: Use git-core instead of git (bcl)
- spec: Set License to Apache 2.0 (bcl)
- spec: Update Source urls with new project location (bcl)
* Tue Feb 15 2022 Brian C. Lane <bcl@redhat.com> - 35.5-1
- New release: 35.5 (bcl)
Resolves: rhbz#2052601
- docs: Explain how to undo blueprints delete (bcl)
- test: server status no longer returns devel (bcl)
- Use GetFrozenBlueprintsTOML for blueprints freeze save (bcl)
- Add a test for float uid/gid in frozen blueprint (bcl)
- Use GetBlueprintsTOML for blueprints save (bcl)
- test: Add a test for float uid/gid in saved blueprint (bcl)
- build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (49699333+dependabot[bot])
- tests: trigger on push to main (jrusz)
- build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (49699333+dependabot[bot])
- ci: add keystore for sonarqube (jrusz)
- spec: Switch to using %%gobuild macro on Fedora (bcl)
- ci: change workflow name (jrusz)
- ci: add gitlab-ci and sonarqube (jrusz)
- doc: fix example links from the README (tdecacqu)
- build(deps): bump actions/checkout from 2.3.4 to 2.4.0 (49699333+dependabot[bot])
- ci: Enable Coverity Scan tool (atodorov)