Compare commits
No commits in common. "c8" and "a9s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
75
.gitignore
vendored
75
.gitignore
vendored
@ -1 +1,74 @@
|
||||
SOURCES/osbuild-composer-101.tar.gz
|
||||
/osbuild-composer-8.tar.gz
|
||||
/osbuild-composer-9.tar.gz
|
||||
/osbuild-composer-10.tar.gz
|
||||
/osbuild-composer-11.tar.gz
|
||||
/osbuild-composer-12.tar.gz
|
||||
/osbuild-composer-13.tar.gz
|
||||
/osbuild-composer-14.tar.gz
|
||||
/osbuild-composer-15.tar.gz
|
||||
/osbuild-composer-16.tar.gz
|
||||
/osbuild-composer-17.tar.gz
|
||||
/osbuild-composer-18.tar.gz
|
||||
/osbuild-composer-19.tar.gz
|
||||
/osbuild-composer-20.tar.gz
|
||||
/osbuild-composer-22.tar.gz
|
||||
/osbuild-composer-23.tar.gz
|
||||
/osbuild-composer-24.tar.gz
|
||||
/osbuild-composer-25.tar.gz
|
||||
/osbuild-composer-26.tar.gz
|
||||
/osbuild-composer-27.tar.gz
|
||||
/osbuild-composer-28.tar.gz
|
||||
/osbuild-composer-29.tar.gz
|
||||
/osbuild-composer-30.tar.gz
|
||||
/osbuild-composer-31.tar.gz
|
||||
/osbuild-composer-32.tar.gz
|
||||
/osbuild-composer-33.tar.gz
|
||||
/osbuild-composer-36.tar.gz
|
||||
/osbuild-composer-37.tar.gz
|
||||
/osbuild-composer-38.tar.gz
|
||||
/osbuild-composer-39.tar.gz
|
||||
/osbuild-composer-40.tar.gz
|
||||
/osbuild-composer-41.tar.gz
|
||||
/osbuild-composer-42.tar.gz
|
||||
/osbuild-composer-43.tar.gz
|
||||
/osbuild-composer-44.tar.gz
|
||||
/osbuild-composer-45.tar.gz
|
||||
/osbuild-composer-46.tar.gz
|
||||
/osbuild-composer-51.tar.gz
|
||||
/osbuild-composer-53.tar.gz
|
||||
/osbuild-composer-54.tar.gz
|
||||
/osbuild-composer-55.tar.gz
|
||||
/osbuild-composer-57.tar.gz
|
||||
/osbuild-composer-58.tar.gz
|
||||
/osbuild-composer-59.tar.gz
|
||||
/osbuild-composer-60.tar.gz
|
||||
/osbuild-composer-62.tar.gz
|
||||
/osbuild-composer-67.tar.gz
|
||||
/osbuild-composer-68.tar.gz
|
||||
/osbuild-composer-69.tar.gz
|
||||
/osbuild-composer-70.tar.gz
|
||||
/osbuild-composer-71.tar.gz
|
||||
/osbuild-composer-72.tar.gz
|
||||
/osbuild-composer-73.tar.gz
|
||||
/osbuild-composer-74.tar.gz
|
||||
/osbuild-composer-75.tar.gz
|
||||
/osbuild-composer-76.tar.gz
|
||||
/osbuild-composer-77.tar.gz
|
||||
/osbuild-composer-79.tar.gz
|
||||
/osbuild-composer-80.tar.gz
|
||||
/osbuild-composer-82.tar.gz
|
||||
/osbuild-composer-84.tar.gz
|
||||
/osbuild-composer-85.tar.gz
|
||||
/osbuild-composer-86.tar.gz
|
||||
/osbuild-composer-87.tar.gz
|
||||
/osbuild-composer-88.tar.gz
|
||||
/osbuild-composer-89.tar.gz
|
||||
/osbuild-composer-91.tar.gz
|
||||
/osbuild-composer-92.tar.gz
|
||||
/osbuild-composer-93.tar.gz
|
||||
/osbuild-composer-94.tar.gz
|
||||
/osbuild-composer-95.tar.gz
|
||||
/osbuild-composer-96.tar.gz
|
||||
/osbuild-composer-98.tar.gz
|
||||
/osbuild-composer-99.tar.gz
|
||||
/osbuild-composer-100.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
0feb86b5dcd146ce5b87816ae482eb50ed507c16 SOURCES/osbuild-composer-101.tar.gz
|
||||
ee2bb2068e42599ca6ef66499d00077ee06b3b44 osbuild-composer-100.tar.gz
|
||||
|
928
almalinux_support.patch
Normal file
928
almalinux_support.patch
Normal file
File diff suppressed because one or more lines are too long
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -7,12 +7,9 @@
|
||||
# This is used internally during nightly pipeline testing!
|
||||
%bcond_with relax_requires
|
||||
|
||||
# The minimum required osbuild version
|
||||
%global min_osbuild_version 109
|
||||
|
||||
%global goipath github.com/osbuild/osbuild-composer
|
||||
|
||||
Version: 101
|
||||
Version: 100
|
||||
|
||||
%gometa
|
||||
|
||||
@ -106,8 +103,6 @@ export LDFLAGS="${LDFLAGS} -X 'github.com/osbuild/osbuild-composer/internal/comm
|
||||
|
||||
%gobuild ${GOTAGS:+-tags=$GOTAGS} -o _bin/osbuild-composer %{goipath}/cmd/osbuild-composer
|
||||
%gobuild ${GOTAGS:+-tags=$GOTAGS} -o _bin/osbuild-worker %{goipath}/cmd/osbuild-worker
|
||||
%gobuild ${GOTAGS:+-tags=$GOTAGS} -o _bin/osbuild-jobsite-manager %{goipath}/cmd/osbuild-jobsite-manager
|
||||
%gobuild ${GOTAGS:+-tags=$GOTAGS} -o _bin/osbuild-jobsite-builder %{goipath}/cmd/osbuild-jobsite-builder
|
||||
|
||||
make man
|
||||
|
||||
@ -142,8 +137,7 @@ go build -tags="integration${GOTAGS:+,$GOTAGS}" -ldflags="${TEST_LDFLAGS}" -o _b
|
||||
install -m 0755 -vd %{buildroot}%{_libexecdir}/osbuild-composer
|
||||
install -m 0755 -vp _bin/osbuild-composer %{buildroot}%{_libexecdir}/osbuild-composer/
|
||||
install -m 0755 -vp _bin/osbuild-worker %{buildroot}%{_libexecdir}/osbuild-composer/
|
||||
install -m 0755 -vp _bin/osbuild-jobsite-manager %{buildroot}%{_libexecdir}/osbuild-composer/
|
||||
install -m 0755 -vp _bin/osbuild-jobsite-builder %{buildroot}%{_libexecdir}/osbuild-composer/
|
||||
install -m 0755 -vp dnf-json %{buildroot}%{_libexecdir}/osbuild-composer/
|
||||
|
||||
# Only include repositories for the distribution and release
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories
|
||||
@ -300,9 +294,7 @@ cd $PWD/_build/src/%{goipath}
|
||||
|
||||
%package core
|
||||
Summary: The core osbuild-composer binary
|
||||
Requires: osbuild-depsolve-dnf >= %{min_osbuild_version}
|
||||
Provides: %{name}-dnf-json = %{version}-%{release}
|
||||
Obsoletes: %{name}-dnf-json < %{version}-%{release}
|
||||
Requires: %{name}-dnf-json = %{version}-%{release}
|
||||
|
||||
%description core
|
||||
The core osbuild-composer binary. This is suitable both for spawning in containers and by systemd.
|
||||
@ -315,21 +307,17 @@ The core osbuild-composer binary. This is suitable both for spawning in containe
|
||||
Summary: The worker for osbuild-composer
|
||||
Requires: systemd
|
||||
Requires: qemu-img
|
||||
Requires: osbuild >= %{min_osbuild_version}
|
||||
Requires: osbuild-ostree >= %{min_osbuild_version}
|
||||
Requires: osbuild-lvm2 >= %{min_osbuild_version}
|
||||
Requires: osbuild-luks2 >= %{min_osbuild_version}
|
||||
Requires: osbuild-depsolve-dnf >= %{min_osbuild_version}
|
||||
Provides: %{name}-dnf-json = %{version}-%{release}
|
||||
Obsoletes: %{name}-dnf-json < %{version}-%{release}
|
||||
Requires: osbuild >= 98
|
||||
Requires: osbuild-ostree >= 98
|
||||
Requires: osbuild-lvm2 >= 98
|
||||
Requires: osbuild-luks2 >= 98
|
||||
Requires: %{name}-dnf-json = %{version}-%{release}
|
||||
|
||||
%description worker
|
||||
The worker for osbuild-composer
|
||||
|
||||
%files worker
|
||||
%{_libexecdir}/osbuild-composer/osbuild-worker
|
||||
%{_libexecdir}/osbuild-composer/osbuild-jobsite-manager
|
||||
%{_libexecdir}/osbuild-composer/osbuild-jobsite-builder
|
||||
%{_unitdir}/osbuild-worker@.service
|
||||
%{_unitdir}/osbuild-remote-worker@.service
|
||||
|
||||
@ -351,6 +339,25 @@ fi
|
||||
# restart all the worker services
|
||||
%systemd_postun_with_restart "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
|
||||
|
||||
%package dnf-json
|
||||
Summary: The dnf-json binary used by osbuild-composer and the workers
|
||||
|
||||
# Conflicts with older versions of composer that provide the same files
|
||||
# this can be removed when RHEL 8 reaches EOL
|
||||
Conflicts: osbuild-composer <= 35
|
||||
|
||||
%description dnf-json
|
||||
The dnf-json binary used by osbuild-composer and the workers.
|
||||
|
||||
%files dnf-json
|
||||
%{_libexecdir}/osbuild-composer/dnf-json
|
||||
|
||||
%post dnf-json
|
||||
# Fix ownership of the rpmmd cache files from previous versions where it was owned by root:root
|
||||
if [ -e /var/cache/osbuild-composer/rpmmd ]; then
|
||||
chown -f -R --from root:root _osbuild-composer:_osbuild-composer /var/cache/osbuild-composer/rpmmd
|
||||
fi
|
||||
|
||||
%if %{with tests} || 0%{?rhel}
|
||||
|
||||
%package tests
|
||||
@ -422,9 +429,6 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Feb 26 2024 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 101-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Feb 07 2024 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 100-1
|
||||
- New upstream release
|
||||
|
||||
@ -452,9 +456,6 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
* Wed Oct 04 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 91-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Sep 21 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 90-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Sep 06 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 89-1
|
||||
- New upstream release
|
||||
|
||||
@ -485,6 +486,9 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
* Wed Mar 08 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 77-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Mar 01 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 76-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Feb 22 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 75-1
|
||||
- New upstream release
|
||||
|
||||
@ -509,6 +513,9 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
* Wed Nov 16 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 68-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Nov 03 2022 Tomas Hozza <thozza@redhat.com> - 67-2
|
||||
- Fix functional tests to make them pass in RHEL-9.2 gating
|
||||
|
||||
* Wed Nov 02 2022 imagebuilder-bots+imagebuilder-bot@redhat.com <imagebuilder-bot> - 67-1
|
||||
- New upstream release
|
||||
|
||||
@ -518,13 +525,13 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
* Wed Aug 24 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 60-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Aug 11 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 59-1
|
||||
* Wed Aug 10 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 59-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jul 28 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 58-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Jul 18 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 57-1
|
||||
* Wed Jul 13 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 57-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jun 15 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 55-1
|
||||
@ -533,81 +540,139 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
* Wed Jun 01 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 54-1
|
||||
- New upstream release
|
||||
|
||||
* Mon May 23 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 53-1
|
||||
* Fri May 20 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 53-1
|
||||
- New upstream release
|
||||
|
||||
* Wed May 04 2022 Ondřej Budai <ondrej@budai.cz> - 51-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Mar 01 2022 Ondřej Budai <ondrej@budai.cz> - 46-1
|
||||
* Mon Feb 28 2022 Simon Steinbeiss <simon.steinbeiss@redhat.com> - 46-1
|
||||
- New upstream release
|
||||
|
||||
* Sat Feb 19 2022 Ondřej Budai <ondrej@budai.cz> - 45-1
|
||||
* Fri Feb 18 2022 Ondřej Budai <ondrej@budai.cz> - 45-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Feb 14 2022 Thomas Lavocat <tlavocat@redhat.com> - 44-1
|
||||
* Fri Feb 11 2022 Thomas Lavocat <tlavocat@redhat.com> - 44-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Feb 07 2022 Thomas Lavocat <tlavocat@redhat.com> - 43-1
|
||||
* Wed Jan 26 2022 Thomas Lavocat <tlavocat@redhat.com> - 43-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jan 18 2022 Thomas Lavocat <tlavocat@redhat.com> - 42-1
|
||||
* Wed Jan 12 2022 Thomas Lavocat <tlavocat@redhat.com> - 42-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Dec 22 2021 Ondřej Budai <ondrej@budai.cz> - 41-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Dec 09 2021 Ondřej Budai <ondrej@budai.cz> - 40-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Oct 15 2021 Achilleas Koutsou <achilleas@redhat.com> - 37-1
|
||||
* Wed Nov 24 2021 Chloe Kaubisch <chloe.kaubisch@gmail.com> - 39-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Oct 15 2021 Achilleas Koutsou <achilleas@redhat.com> - 36-1
|
||||
* Fri Nov 12 2021 'Diaa Sami' <'<disami@redhat.com>'> - 38-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Nov 02 2021 lavocatt - 37-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Oct 14 2021 Achilleas Koutsou <achilleas@redhat.com> - 36-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Aug 30 2021 Tom Gundersen <teg@jklm.no> - 33-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Aug 29 2021 Tom Gundersen <teg@jklm.no> - 32-2
|
||||
* Sun Aug 29 2021 Tom Gundersen <teg@jklm.no> - 32-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Aug 12 2021 Ondřej Budai <ondrej@budai.cz> - 31-1
|
||||
* Sun Aug 15 2021 Ondřej Budai <ondrej@budai.cz> - 31-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 30-2
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Jul 02 2021 Ondřej Budai <ondrej@budai.cz> - 30-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 29-3
|
||||
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
||||
Related: rhbz#1971065
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 29-2
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Fri Mar 05 2021 Martin Sehnoutka <msehnout@redhat.com> - 29-1
|
||||
- New upstream release
|
||||
|
||||
* Sat Feb 20 2021 Martin Sehnoutka <msehnout@redhat.com> - 28-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Feb 05 2021 Ondrej Budai <obudai@redhat.com> - 27-1
|
||||
* Thu Feb 04 2021 Ondrej Budai <obudai@redhat.com> - 27-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 26-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 17 2020 Ondrej Budai <obudai@redhat.com> - 26-2
|
||||
- Fix the compatibility with a new golang-github-azure-storage-blob 0.12
|
||||
|
||||
* Thu Dec 17 2020 Ondrej Budai <obudai@redhat.com> - 26-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Nov 30 2020 Ondrej Budai <obudai@redhat.com> - 25-1
|
||||
- New upstream release 25 (rhbz#1883481)
|
||||
* Thu Nov 19 2020 Ondrej Budai <obudai@redhat.com> - 25-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Sep 03 2020 Tom Gundersen <tgunders@redhat.com> - 20.1-1
|
||||
- New upstream release 20.1 (rhbz#1872370)
|
||||
* Thu Nov 12 2020 Ondrej Budai <obudai@redhat.com> - 24-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Aug 23 2020 Tom Gundersen <tgunders@redhat.com> - 20-1
|
||||
- New upstream release 20 (rhbz#1871184 and rhbz#1871179)
|
||||
* Fri Nov 06 2020 Ondrej Budai <obudai@redhat.com> - 23-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Aug 13 2020 Tom Gundersen <tgunders@redhat.com> - 19-1
|
||||
- New upstream release 19 (rhbz#1866015 and rhbz#1866013)
|
||||
* Fri Oct 16 2020 Ondrej Budai <obudai@redhat.com> - 22-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jul 09 2020 Ondrej Budai <obudai@redhat.com> - 17-1
|
||||
- New upstream release 17 (rhbz#1831653)
|
||||
- Obsolete lorax-composer in favor of osbuild-composer (rhbz#1836844)
|
||||
* Sun Aug 23 2020 Tom Gundersen <teg@jklm.no> - 20-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Aug 11 2020 Tom Gundersen <teg@jklm.no> - 19-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Ondrej Budai <obudai@redhat.com> - 18-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jul 08 2020 Ondrej Budai <obudai@redhat.com> - 17-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Jun 29 2020 Ondrej Budai <obudai@redhat.com> - 16-1
|
||||
- New upstream release 16 (rhbz#1831653)
|
||||
- New upstream release
|
||||
|
||||
* Fri Jun 12 2020 Ondrej Budai <obudai@redhat.com> - 15-1
|
||||
- New upstream release 15 (rhbz#1831653)
|
||||
- New upstream release
|
||||
|
||||
* Thu Jun 04 2020 Ondrej Budai <obudai@redhat.com> - 14-1
|
||||
- New upstream release 14 (rhbz#1831653)
|
||||
- New upstream release
|
||||
|
||||
* Fri May 29 2020 Ondrej Budai <obudai@redhat.com> - 13-2
|
||||
- Add missing osbuild-ostree dependency
|
||||
|
||||
* Thu May 28 2020 Ondrej Budai <obudai@redhat.com> - 13-1
|
||||
- New upstream release 13 (rhbz#1831653)
|
||||
- New upstream release
|
||||
|
||||
* Tue May 05 2020 Ondrej Budai <obudai@redhat.com> - 11-1
|
||||
- Initial package (renamed from golang-github-osbuild-composer) (rhbz#1771887)
|
||||
* Thu May 14 2020 Ondrej Budai <obudai@redhat.com> - 12-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Apr 29 2020 Ondrej Budai <obudai@redhat.com> - 11-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Apr 15 2020 Ondrej Budai <obudai@redhat.com> - 10-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Apr 01 2020 Ondrej Budai <obudai@redhat.com> - 9-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Mar 23 2020 Ondrej Budai <obudai@redhat.com> - 8-1
|
||||
- Initial package (renamed from golang-github-osbuild-composer)
|
8
plans/integration-tests.fmf
Normal file
8
plans/integration-tests.fmf
Normal file
@ -0,0 +1,8 @@
|
||||
summary: Run integration tests
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- osbuild-composer-tests
|
||||
execute:
|
||||
script: ./tests/scripts/run_tests.sh ./tests/
|
||||
duration: 24h
|
6
plans/unit-tests.fmf
Normal file
6
plans/unit-tests.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Run unit tests from source
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
execute:
|
||||
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (osbuild-composer-100.tar.gz) = efe5e7592c01dfcc4513ecbf2b42050831d0c3b2a5837ab116507acbc46a0af50e5ef0ac189dbaf253cd8021f80c76ce7f592260ce909e2b2d04c0969037e96d
|
19
tests/scripts/run_tests.sh
Executable file
19
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -euxo pipefail
|
||||
|
||||
TOPDIR=$1
|
||||
|
||||
# Print some information about the machine
|
||||
df -h
|
||||
free -h
|
||||
rpm -qa
|
||||
find /etc/yum.repos.d -type f -print -exec cat {} \;
|
||||
|
||||
# Run only basic smoke tests.
|
||||
# Our test-suite is currently very thorough and it builds a lot of images.
|
||||
# On some runs, TFT was able to build one image for 25 minutes. Our test
|
||||
# suite builds more than 25 images which means that the full test-suite
|
||||
# can run for more than 10 hours. That's just too slow and since we are also
|
||||
# able to run downstream tests on our much faster upstream infrastructure.
|
||||
# I think that it's enough to do just smoke tests here.
|
||||
/usr/libexec/tests/osbuild-composer/base_tests.sh
|
5
tests/unit.fmf
Normal file
5
tests/unit.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Run unit tests
|
||||
require:
|
||||
- golang
|
||||
test: cd ../osbuild-composer-*/ && sudo dnf builddep -y osbuild-composer.spec && GOFLAGS="-mod=vendor -tags=exclude_graphdriver_btrfs" go test ./...
|
||||
duration: 1h
|
38
tools-provision.sh-copy-RHEL-repo-overrides-using-wi.patch
Normal file
38
tools-provision.sh-copy-RHEL-repo-overrides-using-wi.patch
Normal file
@ -0,0 +1,38 @@
|
||||
From 1e5a7526369ec0bfd4bd5c536ff16f534f023fd5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= <thozza@redhat.com>
|
||||
Date: Wed, 2 Nov 2022 12:18:46 +0100
|
||||
Subject: [PATCH] tools/provision.sh: copy RHEL repo overrides using wildcard
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Don't list specific RHEL repos which should be copied over to the repo
|
||||
overrides directory, but instead copy all of them, similar to how it's
|
||||
done for Fedora and CentOS Stream. This is less error prone when support
|
||||
for a new RHEL release is added to composer.
|
||||
|
||||
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
|
||||
---
|
||||
tools/provision.sh | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/tools/provision.sh b/tools/provision.sh
|
||||
index 93f8cccbd..09265f907 100755
|
||||
--- a/tools/provision.sh
|
||||
+++ b/tools/provision.sh
|
||||
@@ -140,11 +140,7 @@ else # AUTH_METHOD_NONE
|
||||
# Copy all fedora repo overrides
|
||||
sudo cp -a /usr/share/tests/osbuild-composer/repositories/{fedora,centos}-*.json "$REPODIR"
|
||||
# Copy RHEL point release repos
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-85.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-86.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-87.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-90.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-91.json "$REPODIR"
|
||||
+ sudo cp -a /usr/share/tests/osbuild-composer/repositories/rhel-*.json "$REPODIR"
|
||||
|
||||
# override source repositories to consume content from the nightly compose
|
||||
if [ "${NIGHTLY:=false}" == "true" ]; then
|
||||
--
|
||||
2.37.3
|
||||
|
Loading…
Reference in New Issue
Block a user