forked from openscanhub/fedora-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use test build of GCC for prototyping OSH features
... from https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-latest/ Signed-off-by: Siteshwar Vashisht <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
containers/vm-provisioning/ansible/roles/osh-worker-role/files/site-defaults.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. |