Skip to content

Commit

Permalink
Use test build of GCC for prototyping OSH features
Browse files Browse the repository at this point in the history
  • Loading branch information
siteshwar committed Nov 7, 2024
1 parent 4bbb899 commit cc185b7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# mock site configuration
# -----------------------
#
# Any configuration here has global effect - affects all mock users on this host
# and all the mock chroot configurations. User specific configuration can be
# installed to "$HOME/.config/mock.cfg".
#
# Config options are documented in /usr/share/doc/mock/site-defaults.cfg file.
#
# Entries in this file follow the same format as other mock config files:
# config_opts['foo'] = 'bar'
config_opts["yum.conf"] = """
[copr:copr.fedorainfracloud.org:dmalcolm:gcc-latest]
name=Copr repo for gcc-latest owned by dmalcolm
baseurl=https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-latest/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-latest/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
"""
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@
name: csmock-plugin-clippy
state: latest

# 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
ansible.builtin.copy:
src: site-defaults.cfg
dest: /etc/mock/site-defaults.cfg
owner: root
group: mock
mode: 0644

- name: Print status of the worker
ansible.builtin.debug:
msg: Worker virtual machine is set up, but `osh-worker` is not started. It should be started by `osh-worker-manager` from osh-hub.

0 comments on commit cc185b7

Please sign in to comment.