Accepting request 1012032 from home:NicoK:branches:Virtualization:containers

- Update to version 0.7.0:
  * ci: add concurrency check
  * Dockerfile: debian based build
  * vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
  * remove CHANGELOG
  * create GitHub Release on push tag with artifacts
  * release target with checksums
  * pass: return an error when a cred doesn't exist
- build position-independent binaries
- remove explicit dependency on libsecret (found automatically)

OBS-URL: https://build.opensuse.org/request/show/1012032
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker-credential-secretservice?expand=0&rev=4
This commit is contained in:
Dirk Mueller 2022-12-20 06:43:24 +00:00 committed by Git OBS Bridge
parent 7d165af3a4
commit 7a76595b9e
6 changed files with 30 additions and 10 deletions

View File

@ -4,8 +4,8 @@
<param name="url">https://github.com/docker/docker-credential-helpers</param>
<param name="exclude">.git</param>
<param name="filename">docker-credential-helpers</param>
<param name="versionformat">0.6.0</param>
<param name="revision">v0.6.0</param>
<param name="versionformat">0.7.0</param>
<param name="revision">v0.7.0</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/docker/docker-credential-helpers</param>
<param name="changesrevision">ac5992b5f4756fc0398a7d0c93c609e624368bde</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Oct 17 08:04:29 UTC 2022 - nico.kruber@gmail.com
- Update to version 0.7.0:
* ci: add concurrency check
* Dockerfile: debian based build
* vendor: golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
* remove CHANGELOG
* create GitHub Release on push tag with artifacts
* release target with checksums
* pass: return an error when a cred doesn't exist
- build position-independent binaries
- remove explicit dependency on libsecret (found automatically)
-------------------------------------------------------------------
Wed Jun 27 09:01:50 UTC 2018 - opensuse-packaging@opensuse.org

View File

@ -17,7 +17,7 @@
Name: docker-credential-secretservice
Version: 0.6.0
Version: 0.7.0
Release: 0
Summary: Leverage Docker credentials with libsecret
License: MIT
@ -25,12 +25,11 @@ Group: System/Management
Url: http://www.docker.io
Source0: docker-credential-helpers-%{version}.tar.xz
Source1: config.secure.json
BuildRequires: go >= 1.6.0
BuildRequires: go >= 1.8.0
BuildRequires: make
BuildRequires: pkg-config
BuildRequires: systemd-rpm-macros
BuildRequires: libsecret-devel
Requires: libsecret
Requires(pre): %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
@ -45,11 +44,14 @@ to this program, which uses libsecret in Linux.
%build
export GOPATH=$PWD/go
export GOFLAGS="-buildmode=pie"
mkdir -p $GOPATH/src/github.com/docker
cp -r $PWD/vendor/* $GOPATH/src
ln -s $PWD $GOPATH/src/github.com/docker/docker-credential-helpers
export VERSION=v%{version}
export REVISION=
make %{?_smp_mflags} secretservice
%pre
@ -63,12 +65,12 @@ EOF
exit 0
%install
install -D -m755 bin/docker-credential-secretservice %{buildroot}/%{_bindir}/docker-credential-secretservice
install -D -m755 bin/build/docker-credential-secretservice %{buildroot}/%{_bindir}/docker-credential-secretservice
install -D -m644 %{SOURCE1} %{buildroot}/etc/docker/config.secure.json
%files
%defattr(-,root,root)
%doc LICENSE README.md CHANGELOG.md MAINTAINERS
%doc LICENSE README.md MAINTAINERS
%{_bindir}/docker-credential-secretservice
%dir %{_sysconfdir}/docker
%config %{_sysconfdir}/docker/config.secure.json