Compare commits

..

30 Commits

Author SHA1 Message Date
Václav Kadlčík
9ddf8ccb93 Standardize tier1 in gating
The tier1 tests were traditionally run by BaseOS CI by various
tasks if the baseos-ci.brew-build.* family, typically implemented
by Beaker jobs.

Every component used to have its own special flavor of the
configuration, both in BaseOS CI (the triggering part) and here in
the component's gating.yaml (results processing).

The each-component-is-a-snowflake approach didn't work very well,
creating discrepancies like RHEL-140879.

At long last, I've unified the BaseOS CI configuration for all my
components:
- drop the Beaker job(s) (which have been declared obsoleted anyway)
- trigger two OpenStack jobs
  - "fast lane" for architectures where we usually get results fast,
    sometimes it's advantageous to take a look ASAP
  - "slow lane" for architectures we typically have to wait
For reference, it's commit d2baef686 in baseos-qe/citool-config.

Now I'm fixing the counterpart in gating.yaml (results processing):
We wait for the "fast lane" and "slow lane" results and they both
must pass.
2026-02-13 14:33:35 +01:00
Václav Kadlčík
2b1f7d4138 Extend tier0 coverage
Replace the existing STI smoke test with a reference to the top tie of
https://gitlab.com/redhat/centos-stream/tests/gcc-toolset-metapackage
2025-09-10 14:12:55 +02:00
Siddhesh Poyarekar
fc829baa2d Bump again for rebuild
Related: RHEL-96490
2025-07-03 12:05:19 -04:00
Siddhesh Poyarekar
56031b3b77 It's not Friday yet
Related: RHEL-96490
2025-07-03 10:18:28 -04:00
Siddhesh Poyarekar
af405a46d6 Bump for rebuild
Related: RHEL-96490
2025-07-03 08:56:18 -04:00
Siddhesh Poyarekar
a410d8180e Specify a better man page name
Related: RHEL-96490
2025-06-21 06:59:56 -04:00
Siddhesh Poyarekar
d8fd8a639c Require the same version of runtime package
Related: RHEL-96490
2025-06-20 08:28:53 -04:00
Siddhesh Poyarekar
a4ac00497e Amend the bug reporting link
Related: RHEL-96490
2025-06-20 06:21:27 -04:00
Siddhesh Poyarekar
7a9672af5c Compress man page and fix its name
Resolves: RHEL-96490
2025-06-20 05:44:30 -04:00
Siddhesh Poyarekar
5c5559450d Fix typo in gcc-toolset-env
Resolves: RHEL-94760
2025-06-11 07:22:19 -04:00
Siddhesh Poyarekar
e9f80772b4 Support scl-style quoted invocations
Resolves: RHEL-94760
2025-06-11 06:32:11 -04:00
Siddhesh Poyarekar
bbdc77bc40 Remove redundant version number form version string
Resolves: RHEL-95996
2025-06-10 21:11:29 -04:00
Siddhesh Poyarekar
77d16d4430 ChangeLog entries for man page updates
Resolves: RHEL-95996
2025-06-10 15:53:03 -04:00
Siddhesh Poyarekar
3427fc4bda Drop quoting from commands
Resolves: RHEL-95996
2025-06-10 15:53:01 -04:00
Siddhesh Poyarekar
2dfcb4dc08 Mention only major version in documentation
Point release updates have no significance for the meta package.

Resolves: RHEL-95996
2025-06-10 15:52:53 -04:00
Siddhesh Poyarekar
ced527c67f Install man pages in _root_mandir
One shouldn't need to invoke gcc-toolset-env (or scl) to read about
gcc-toolset.

Resolves: RHEL-95996
2025-06-10 15:52:36 -04:00
Siddhesh Poyarekar
99843ffec7 Move scripts to gcc-toolset-15-runtime
Resolves: RHEL-94841
2025-06-04 16:17:40 -04:00
Siddhesh Poyarekar
574ad5d274 Fix quoting and other issues in gcc-toolset-env script
Resolves: RHEL-94760
2025-06-04 15:14:55 -04:00
Siddhesh Poyarekar
1a67fd6f9b Drop PCP_DIR
PCP is no longer part of GTS.

Related: RHEL-88743
2025-05-15 12:20:15 -04:00
Siddhesh Poyarekar
87488aeddb Drop mention of Software collections from all documentation
Resolves: RHEL-88743
2025-05-15 12:20:15 -04:00
Siddhesh Poyarekar
6890fadb85 New script gcc-toolset-15-env
Add a new script to replace the `scl enable` command.  Also update the
`enable_devtoolset` macro to instead be called `enable_gcctoolset` and
have it use a new installed script instead of an SCL snippet.

Resolves: RHEL-88743
2025-05-15 12:20:15 -04:00
Siddhesh Poyarekar
b2b180e27a Add README and gts-annobin-plugin-select.sh to git
Move it out of the lookaside cache so that changes can be tracked more
easily.

Related: RHEL-81745
Resolves: RHEL-88742
2025-05-08 06:56:39 -04:00
Siddhesh Poyarekar
435318cd81 Drop the sudo wrapper script
Related: RHEL-81745
Resolves: RHEL-88742
2025-05-08 06:56:36 -04:00
Siddhesh Poyarekar
65b4317cf2 Split out a devel package
That should break the circular dependency with gts-gcc and gts-binutils.

Related: RHEL-81745
Resolves: RHEL-88742
2025-05-08 06:56:32 -04:00
Siddhesh Poyarekar
e527cb6052 c10s: Drop scl dependency
Bundle in a modified version of the SCL macros file and adjust uses.

Resolves: RHEL-88742
2025-05-08 06:56:17 -04:00
Siddhesh Poyarekar
b0073c2605 Initial version
Based on commit 91444113e6, adapted for
RHEL10.

Resolves: RHEL-81745
2025-05-08 06:50:51 -04:00
Johnny Hughes
9dd1813ec1 remove dead.package info
Signed-off-by: Johnny Hughes <jhughes@redhat.com>
2025-04-22 11:35:26 -05:00
Johnny Hughes
d39a88801b Merge remote-tracking branch 'rhel/rhel-10-main' into c10s 2025-04-22 11:17:00 -05:00
Johnny Hughes
d029c67c0c Reset branch contents to only include README.md and dead.package. 2025-04-08 17:53:03 +00:00
Release Configuration Management
2744326db2 New branch setup 2025-04-08 07:19:16 -04:00
5 changed files with 40 additions and 26 deletions

19
README
View File

@ -1,28 +1,27 @@
Package %{scl_name} is the main package for Red Hat GCC
Toolset 15. By installing the %{scl_name} package, you will get
the working set of packages that are included in Red Hat GCC
Toolset 15, which includes development and debugging tools.
Toolset 15, which includes the compiler and linker.
Usage: scl enable %{scl} <command>
Usage: %{scl_name}-env [command]
Red Hat GCC Toolset allows you to build and execute applications
which are not located in the filesystem root hierarchy, but are
stored in an alternative location, which is %{_scl_root} in case
of the %{scl_name} collection.
of %{scl_name}.
Examples:
scl enable %{scl_name} 'command --arg'
%{scl_name}-env
Run an interactive shell wherein %{scl_name} is enabled.
%{scl_name}-env command --arg
Run a specific command with the argument --arg within the %{scl_name}
Red Hat GCC Toolset environment.
scl enable %{scl_name} 'gcc'
%{scl_name}-env gcc
Run GCC from the %{scl_name} Red Hat GCC Toolset.
scl enable %{scl_name} 'bash'
Run an interactive shell wherein the %{scl_name} software collection
is enabled.
scl enable %{scl_name} 'man gcc'
%{scl_name}-env man gcc
Show man pages for the gcc command, which is a part of the
%{scl_name} Red Hat GCC Toolset.

View File

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-9
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-fast-lane.functional}

View File

@ -37,7 +37,7 @@ BuildRequires: scl-utils-build
Summary: Package that installs %scl
Name: %scl_name
Version: %{gts_ver}.0
Release: 9%{?dist}
Release: 11%{?dist}
License: GPLv2+
Group: Applications/File
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -265,17 +265,30 @@ fi
%endif
%changelog
* Thu Jul 3 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-11
- Bump again for rebuild (RHEL-96490)
* Thu Jul 3 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-10
- Bump for rebuild (RHEL-96490)
* Fri Jun 20 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-9
- Compress man page and fix its name (RHEL-98730)
- Compress man page and fix its name (RHEL-96490)
* Wed Jun 11 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-8
- Fix typo in gcc-toolset-env (RHEL-94760)
* Tue Jun 10 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-7
- Man page and documentation updates (RHEL-96023)
- Man page and documentation updates (RHEL-95996)
- Support scl-style quoted invocation (RHEL-94760)
* Thu Jun 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-6
- Split out scripts into a -runtime package on RHEL10 (RHEL-94841)
* Tue May 20 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-4
- New rhel10-specific script to replace scl-enable (RHEL-91830).
* Wed Jun 4 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-5
- Fix quoting and other issues in gcc-toolset-env script (RHEL-94760)
* Thu May 15 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-4
- New script to replace scl-enable (RHEL-88743).
* Thu May 8 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-3
- Drop the sudo wrapper script.
@ -287,5 +300,5 @@ fi
* Mon May 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-1
- Drop scl-utils dependency on c10s and later.
* Mon Apr 14 2025 Marek Polacek <polacek@redhat.com> - 15.0-0
- new package (RHELPLAN-171625)
* Wed Apr 30 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-0
- new package (RHELPLAN-171631)

View File

@ -1,11 +1,14 @@
#!/usr/bin/sh
# Environment wrapper for GCC Toolset %{gts_ver}
source %{_root_prefix}/lib/gcc-toolset/%{gts_ver}-env.source
. %{_root_prefix}/lib/gcc-toolset/%{gts_ver}-env.source
if [ -z $1 ]; then
cmd="/bin/sh"
if [ -z "$1" ]; then
exec /usr/bin/sh
# Compatibility with `scl enable`, where the entire command shows up as a
# single argument.
elif [ -z "$2" ]; then
exec sh -c "$@"
else
cmd=$*
exec "$@"
fi
exec $cmd

View File

@ -25,5 +25,4 @@ execute:
prepare+:
how: shell
environment+:
COLLECTIONS: gcc-toolset-15
WITH_SCL: "scl enable gcc-toolset-15"
WITH_SCL: gcc-toolset-15-env