Update to version 0.17.2
OBS-URL: https://build.opensuse.org/package/show/devel:microos/buildkit?expand=0&rev=19
This commit is contained in:
commit
e35b0e521c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/moby/buildkit.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">buildkit</param>
|
||||
<param name="version">v0.17.2</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
</services>
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/moby/buildkit.git</param>
|
||||
<param name="changesrevision">95d190ef4f18b57c717eaad703b67cb2be781ebb</param>
|
||||
</service>
|
||||
</servicedata>
|
3
buildkit-0.13.1.tar.zst
Normal file
3
buildkit-0.13.1.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4b2fc75f19afca9b8a146e1f05b8fdbfb9832f7253e4087dd0a5c5e8fe1dc92
|
||||
size 6220456
|
3
buildkit-0.15.2.tar.zst
Normal file
3
buildkit-0.15.2.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6161b1c6bed81b65103e42b96c5327da8153c775ea89e1aab4c4d736a12fb565
|
||||
size 6214374
|
3
buildkit-0.16.0.obscpio
Normal file
3
buildkit-0.16.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9aa04e63b3735624b38989b1a7a994fab66d05689f399cbd276f0c2d9ab55aaf
|
||||
size 49309709
|
3
buildkit-0.17.1.obscpio
Normal file
3
buildkit-0.17.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3890cc79f1e2d8e4b5eeab0dd89f7caf38f992732b4719313c7a06ae1530072d
|
||||
size 50448909
|
3
buildkit-0.17.2.obscpio
Normal file
3
buildkit-0.17.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7efea29b5230284afe86b4030e7221af521bc38ed058fd9b8b1fecfb85fc16d1
|
||||
size 50391565
|
1846
buildkit.changes
Normal file
1846
buildkit.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
buildkit.obsinfo
Normal file
4
buildkit.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: buildkit
|
||||
version: 0.17.2
|
||||
mtime: 1732583549
|
||||
commit: 95d190ef4f18b57c717eaad703b67cb2be781ebb
|
11
buildkit.service
Normal file
11
buildkit.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=BuildKit
|
||||
Requires=buildkit.socket
|
||||
After=buildkit.socket
|
||||
Documentation=https://github.com/moby/buildkit
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/buildkitd --addr fd://
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
80
buildkit.spec
Normal file
80
buildkit.spec
Normal file
@ -0,0 +1,80 @@
|
||||
#
|
||||
# spec file for package buildkit
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global provider github
|
||||
%global provider_tld com
|
||||
%global project moby
|
||||
%global repo buildkit
|
||||
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||
%global import_path %{provider_prefix}
|
||||
Name: buildkit
|
||||
Version: 0.17.2
|
||||
Release: 0
|
||||
Summary: Toolkit for converting source code to build artifacts
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/moby/buildkit
|
||||
Source: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Source2: buildkit.service
|
||||
BuildRequires: containerd
|
||||
BuildRequires: runc
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: zstd
|
||||
BuildRequires: golang(API) >= 1.13
|
||||
Requires: containerd
|
||||
Requires: runc
|
||||
|
||||
%description
|
||||
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner.
|
||||
|
||||
%prep
|
||||
%setup -qa1
|
||||
|
||||
%build
|
||||
go build -mod=vendor -buildmode=pie -ldflags '-X %{import_path}/version.Version=%{version}' -o _output/buildkitd %{provider_prefix}/cmd/buildkitd
|
||||
go build -mod=vendor -buildmode=pie -ldflags '-X %{import_path}/version.Version=%{version}' -o _output/buildctl %{provider_prefix}/cmd/buildctl
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
mkdir -p %{buildroot}%{_unitdir}/
|
||||
install -m 0755 _output/buildkitd %{buildroot}%{_bindir}/buildkitd
|
||||
install -m 0755 _output/buildctl %{buildroot}%{_bindir}/buildctl
|
||||
install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/buildkit.service
|
||||
install -m 0644 examples/systemd/system/buildkit.socket %{buildroot}%{_unitdir}/buildkit.socket
|
||||
|
||||
%pre
|
||||
%service_add_pre buildkit.socket buildkit.service
|
||||
|
||||
%post
|
||||
%service_add_post buildkit.socket buildkit.service
|
||||
|
||||
%preun
|
||||
%service_del_preun buildkit.socket buildkit.service
|
||||
|
||||
%postun
|
||||
%service_del_postun buildkit.socket buildkit.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md docs/*.md
|
||||
%{_bindir}/buildkitd
|
||||
%{_bindir}/buildctl
|
||||
%{_unitdir}/buildkit.socket
|
||||
%{_unitdir}/buildkit.service
|
||||
|
||||
%changelog
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3ae4f553a749259643abf3dbe62de091b610ce0d2e7e85ad5580ab4bbd9e315
|
||||
size 4828448
|
Loading…
Reference in New Issue
Block a user