Skip to content

Commit

Permalink
Add fedora-rawhide-gcc-latest-x86_64.cfg
Browse files Browse the repository at this point in the history
... to test latest version of gcc.

Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Nov 11, 2024
1 parent d11e937 commit 57403e9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This is development/testing only mock profile, not exactly the same as
# is used on copr builders; but it is basically similar. If you need an
# exact mock configuration (because you e.g. try to reproduce failed
# build), such configuration is put alongside the built RPMs.

include('/etc/mock/fedora-rawhide-x86_64.cfg')

config_opts['root'] = 'dmalcolm-gcc-latest_fedora-rawhide-x86_64'
config_opts['isolation'] = 'unchanged'

config_opts['dnf.conf'] += """
[copr_base]
name="Copr repository"
baseurl=https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-latest/fedora-rawhide-x86_64/
gpgcheck=0
enabled=1
skip_if_unavailable=1
metadata_expire=0
cost=1
best=1
"""

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@

# Workaround for https://lists.fedoraproject.org/archives/list/[email protected]/thread/GY2XQBNNDHR5VHGA24MBAUBKNAJPUDZW/
# TODO: Remove when latest gcc is released
- name: Copy /etc/mock/site-defaults.cfg
- name: Copy /etc/mock/fedora-rawhide-gcc-latest-x86_64.cfg
ansible.builtin.copy:
src: site-defaults.cfg
dest: /etc/mock/site-defaults.cfg
src: fedora-rawhide-gcc-latest-x86_64.cfg
dest: /etc/mock/fedora-rawhide-gcc-latest-x86_64.cfg
owner: root
group: mock
mode: 0644
Expand Down

0 comments on commit 57403e9

Please sign in to comment.