-
Notifications
You must be signed in to change notification settings - Fork 148
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 el10 mock config #11631
Open
evgeni
wants to merge
1
commit into
rpm/develop
Choose a base branch
from
el10-mock
base: rpm/develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+90
−0
Open
add el10 mock config #11631
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,90 @@ | ||
config_opts['root'] = 'centos-stream-10-x86_64' | ||
config_opts['target_arch'] = 'x86_64' | ||
config_opts['legal_host_arches'] = ('x86_64',) | ||
|
||
config_opts['chroot_setup_cmd'] = 'install bash bzip2 centos-stream-release coreutils cpio diffutils findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz' | ||
config_opts['dist'] = 'el10' # only useful for --resultdir variable subst | ||
config_opts['releasever'] = '10' | ||
config_opts['releasever_major'] = '10' | ||
config_opts['package_manager'] = 'dnf' | ||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ] | ||
config_opts['description'] = 'CentOS Stream 10' | ||
|
||
config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream10' | ||
config_opts['bootstrap_image_ready'] = True | ||
|
||
#config_opts['module_setup_commands'] = [ | ||
# ('enable', 'foreman-devel:el10'), | ||
#] | ||
|
||
config_opts['dnf.conf'] = """ | ||
[main] | ||
keepcache=1 | ||
debuglevel=2 | ||
reposdir=/dev/null | ||
logfile=/var/log/yum.log | ||
retries=20 | ||
obsoletes=1 | ||
gpgcheck=0 | ||
assumeyes=1 | ||
syslog_ident=mock | ||
syslog_device= | ||
metadata_expire=0 | ||
best=1 | ||
install_weak_deps=0 | ||
protected_packages= | ||
skip_if_unavailable=False | ||
module_platform_id=platform:el10 | ||
|
||
[baseos] | ||
name=CentOS Stream $releasever - BaseOS | ||
#baseurl=http://mirror.stream.centos.org/$releasever-stream/BaseOS/$basearch/os/ | ||
metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-$releasever-stream&arch=$basearch&protocol=https,http | ||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 | ||
gpgcheck=1 | ||
countme=1 | ||
enabled=1 | ||
|
||
[appstream] | ||
name=CentOS Stream $releasever - AppStream | ||
#baseurl=http://mirror.stream.centos.org/$releasever-stream/AppStream/$basearch/os/ | ||
metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-$releasever-stream&arch=$basearch&protocol=https,http | ||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 | ||
gpgcheck=1 | ||
countme=1 | ||
enabled=1 | ||
|
||
[crb] | ||
name=CentOS Stream $releasever - CRB | ||
#baseurl=http://mirror.stream.centos.org/$releasever-stream/CRB/$basearch/os/ | ||
metalink=https://mirrors.centos.org/metalink?repo=centos-crb-$releasever-stream&arch=$basearch&protocol=https,http | ||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 | ||
gpgcheck=1 | ||
countme=1 | ||
enabled=1 | ||
|
||
[extras-common] | ||
name=CentOS Stream $releasever - Extras packages | ||
#baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/extras/$basearch/extras-common/ | ||
metalink=https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$releasever-stream&arch=$basearch&protocol=https,http | ||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 | ||
gpgcheck=1 | ||
enabled=1 | ||
skip_if_unavailable=False | ||
|
||
#[foreman] | ||
#name=foreman | ||
#baseurl=https://yum.theforeman.org/nightly/el10/x86_64/ | ||
# | ||
#[foreman-plugins] | ||
#name=foreman-plugins | ||
#baseurl=https://yum.theforeman.org/plugins/nightly/el10/x86_64/ | ||
# | ||
#[katello] | ||
#name=katello | ||
#baseurl=https://yum.theforeman.org/katello/nightly/katello/el10/x86_64/ | ||
# | ||
#[puppet-8] | ||
#name=puppet-8 | ||
#baseurl=https://yum.puppetlabs.com/puppet8/el/10/x86_64/ | ||
Comment on lines
+75
to
+89
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't exist for EL10 yet |
||
""" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't exist for EL10 yet