Sync from SUSE:SLFO:Main container-build-checks revision cfbdbebd670e64fc5c7833168be6262e
This commit is contained in:
commit
a60d882ea8
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
|
3
SUSE.conf
Normal file
3
SUSE.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[General]
|
||||
Vendor=com.suse
|
||||
Registry=registry.suse.com
|
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/openSUSE/container-build-checks.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
<service mode="buildtime" name="tar" />
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/container-build-checks.git</param>
|
||||
<param name="changesrevision">5ce6d2ffdcc3a95bc79b69d8d021c0b0bce41ad7</param></service></servicedata>
|
BIN
container-build-checks-1682595397.5ce6d2f.obscpio
(Stored with Git LFS)
Normal file
BIN
container-build-checks-1682595397.5ce6d2f.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
79
container-build-checks.changes
Normal file
79
container-build-checks.changes
Normal file
@ -0,0 +1,79 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 28 09:23:53 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Update to version 1682595397.5ce6d2f:
|
||||
* Handle OCI style images as well
|
||||
* Makefile: Add missing dependency of broken-derived on proper-base
|
||||
* GitHub workflow: Update action versions
|
||||
* GitHub workflow: Test python 3.6 and 3.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 8 11:37:19 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Make the URL point to GitHub
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 13:42:05 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- openSUSE.conf: Allow bci/* as prefix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 20 14:26:26 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Update to version 1650464301.a198cf9:
|
||||
* Detect and treat local builds specially
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 7 09:23:46 UTC 2022 - Silvio Moioli <moio@suse.com>
|
||||
|
||||
- Adding Uyuni prefix for https://www.uyuni-project.org/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 03 07:44:23 UTC 2022 - fvogt@suse.com
|
||||
|
||||
- Update to version 1643874076.3d0e13c:
|
||||
* Avoid crash on local builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 13:49:12 UTC 2021 - fvogt@suse.com
|
||||
|
||||
- Update to version 1639489705.a4c5a3ab2a75:
|
||||
* Don't error out when the release field is empty
|
||||
* Add simple gitpod configuration
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 1 09:06:12 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Drop obsolete Requires: grep jq
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 13:57:34 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Update to version 1622209785.4616f4f:
|
||||
* README.md: Point badge to new location
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 12:47:42 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Update to version 1622204213.c8ecb9f:
|
||||
* Add options to allow and block specific tags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 27 15:09:59 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Update to version 1622127842.b548dd8:
|
||||
* Update README.md
|
||||
* Add README.md
|
||||
* Add broken-derived test
|
||||
* Verify prefix of the image specific label prefix
|
||||
* Add some comments in the Makefile
|
||||
* Always check the tag used in org.opensuse.reference
|
||||
* Add github workflow
|
||||
* Use bash explicitly
|
||||
* Make lint
|
||||
* Less noise in Makefile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 10:04:09 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Initial commit
|
4
container-build-checks.obsinfo
Normal file
4
container-build-checks.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: container-build-checks
|
||||
version: 1682595397.5ce6d2f
|
||||
mtime: 1682595397
|
||||
commit: 5ce6d2ffdcc3a95bc79b69d8d021c0b0bce41ad7
|
94
container-build-checks.spec
Normal file
94
container-build-checks.spec
Normal file
@ -0,0 +1,94 @@
|
||||
#
|
||||
# spec file for package container-build-checks
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
Name: container-build-checks
|
||||
Version: 1682595397.5ce6d2f
|
||||
Release: 0
|
||||
Summary: Scripts to validate built container images
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
URL: https://github.com/openSUSE/container-build-checks
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: openSUSE.conf
|
||||
Source2: SUSE.conf
|
||||
Requires: %{name}-vendor
|
||||
BuildArch: noarch
|
||||
|
||||
%package vendor-openSUSE
|
||||
Summary: openSUSE configuration for %{name}
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-vendor
|
||||
Conflicts: %{name}-vendor
|
||||
|
||||
%description vendor-openSUSE
|
||||
openSUSE configuration for %{name}
|
||||
|
||||
%package vendor-SUSE
|
||||
Summary: SUSE configuration for %{name}
|
||||
Group: Development/Tools/Building
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-vendor
|
||||
Conflicts: %{name}-vendor
|
||||
|
||||
%description vendor-SUSE
|
||||
SUSE configuration for %{name}
|
||||
|
||||
%package strict
|
||||
Summary: Strict configuration for %{name}
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description strict
|
||||
Strict configuration for %{name}
|
||||
|
||||
%description
|
||||
This tool checks that built container images conform to the openSUSE container
|
||||
image policies (https://en.opensuse.org/Building_derived_containers).
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/container-build-checks/
|
||||
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/container-build-checks/openSUSE.conf
|
||||
install -m0644 %{SOURCE2} %{buildroot}%{_datadir}/container-build-checks/SUSE.conf
|
||||
echo -e "[General]\nFatalWarnings=true" > %{buildroot}%{_datadir}/container-build-checks/strict.conf
|
||||
|
||||
%files
|
||||
#%doc README
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/container-build-checks
|
||||
%dir %{_prefix}/lib/build/
|
||||
%dir %{_prefix}/lib/build/post-build-checks/
|
||||
%{_prefix}/lib/build/post-build-checks/container-build-checks
|
||||
|
||||
%files vendor-openSUSE
|
||||
%{_datadir}/container-build-checks/openSUSE.conf
|
||||
|
||||
%files vendor-SUSE
|
||||
%{_datadir}/container-build-checks/SUSE.conf
|
||||
|
||||
%files strict
|
||||
%{_datadir}/container-build-checks/strict.conf
|
||||
|
||||
%changelog
|
10
openSUSE.conf
Normal file
10
openSUSE.conf
Normal file
@ -0,0 +1,10 @@
|
||||
[General]
|
||||
Vendor=org.opensuse
|
||||
Registry=registry.opensuse.org
|
||||
|
||||
[Tags]
|
||||
# To avoid conflicts with other stuff on the registry and
|
||||
# avoid ambiguities with images on other registries.
|
||||
Allowed+=opensuse/*,kubic/*,kubevirt/*,uyuni/*,bci/*
|
||||
# Those are images, not available as namespaces
|
||||
Blocked+=opensuse/tumbleweed/*,opensuse/leap/*
|
Loading…
Reference in New Issue
Block a user