Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fedora-rawhide-gcc-latest-x86_64.cfg #78

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
siteshwar marked this conversation as resolved.
Show resolved Hide resolved
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