From e95876ffbcd8f6aeb2c9a5013eb68663b5c3e35e Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 20 Jun 2024 10:21:27 +0200 Subject: [PATCH] Remove infra tag related howtos in favor of SOP The howtos were confusing and the Infrastructure repo SOP has more comprehensive informations. Signed-off-by: Michal Konecny --- .../howtos/pages/add_a_package_to_infra_tag.adoc | 9 --------- .../howtos/pages/build_against_infra_tags.adoc | 16 ---------------- modules/sysadmin_guide/pages/index.adoc | 4 +--- modules/sysadmin_guide/pages/infra-repo.adoc | 5 +++-- 4 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 modules/howtos/pages/add_a_package_to_infra_tag.adoc delete mode 100644 modules/howtos/pages/build_against_infra_tags.adoc diff --git a/modules/howtos/pages/add_a_package_to_infra_tag.adoc b/modules/howtos/pages/add_a_package_to_infra_tag.adoc deleted file mode 100644 index 2c4a4a8..0000000 --- a/modules/howtos/pages/add_a_package_to_infra_tag.adoc +++ /dev/null @@ -1,9 +0,0 @@ -= How to add a package to an infra tag - -In order to be able to build a package in an infra tag we need first to add that -package to the tag. -This need koji admin permissions. - ----- -$ koji add-pkg epel7-infra packagename --owner owner ----- diff --git a/modules/howtos/pages/build_against_infra_tags.adoc b/modules/howtos/pages/build_against_infra_tags.adoc deleted file mode 100644 index 9dcbf66..0000000 --- a/modules/howtos/pages/build_against_infra_tags.adoc +++ /dev/null @@ -1,16 +0,0 @@ -= How to build against an infra tag in koji - -If you want a build to be available in the infra repo instead of -the fedora official repos. - ----- -$ koji build f30-infra bodhi-5.2.0-1.fc30.infra.src.rpm ----- - -If you get an permission error, you need to make sure you have the infra permission in koji - ----- -$ koji list-permissions --user cverna infra ----- - -If you don't, open an link:https://pagure.io/fedora-infrastructure/issues[infra ticket] to request that permission. diff --git a/modules/sysadmin_guide/pages/index.adoc b/modules/sysadmin_guide/pages/index.adoc index d5ff8ad..8dfa159 100644 --- a/modules/sysadmin_guide/pages/index.adoc +++ b/modules/sysadmin_guide/pages/index.adoc @@ -121,7 +121,7 @@ xref:developer_guide:sops.adoc[Developing Standard Operating Procedures]. * xref:infra-hostrename.adoc[Infrastructure Host Rename] * xref:infra_handover.adoc[Initiative Handover] * xref:infra-raidmismatch.adoc[Infrastructure Raid Mismatch Count] -* xref:infra-repo.adoc[Infrastructure Yum Repo] +* xref:infra-repo.adoc[Infrastructure DNF Repo] * xref:infra-retiremachine.adoc[Infrastructure retire machine] * xref:ipa.adoc[IPA infrastructure] * xref:ipsilon.adoc[Ipsilon Infrastructure] @@ -192,9 +192,7 @@ In this section is list of guides for common tasks that are done in Fedora Infra * xref:howtos:access_rabbitmq_ui.adoc[How to access the rabbitmq administrative UI] * xref:howtos:archive_list.adoc[How to Archive mailing list] * xref:howtos:archive-old-fedora.adoc[How to Archive Old Fedora Releases] -* xref:howtos:add_a_package_to_infra_tag.adoc[How to add a package to an infra tag] * xref:howtos:add_external_hardware_to_vpn.adoc[Add external servers to vpn] -* xref:howtos:build_against_infra_tags.adoc[How to build against an infra tag in koji] * xref:howtos:check_robosignatory_production_logs.adoc[How to check robosignatory productions logs] * xref:howtos:clean_2f_tokens.adoc[How to remove 2 factor authentication tokens in IPA] * xref:howtos:clean_monitoring_sidetags.adoc[How to clean up the side-tags created by the monitor-gating project] diff --git a/modules/sysadmin_guide/pages/infra-repo.adoc b/modules/sysadmin_guide/pages/infra-repo.adoc index 6a84977..e828f49 100644 --- a/modules/sysadmin_guide/pages/infra-repo.adoc +++ b/modules/sysadmin_guide/pages/infra-repo.adoc @@ -1,4 +1,4 @@ -= Infrastructure Yum Repo SOP += Infrastructure DNF Repo SOP In some cases RPM's in Fedora need to be rebuilt for the Infrastructure team to suit our needs. This repo is provided to the public (except for @@ -43,6 +43,7 @@ Example: .... rpmbuild --define "dist .el7.infra" -bs test.spec +# Alternatively you can run fedpkg --release epel9 --define "dist .el7.infra" koji build epel7-infra test-1.0-1.el7.infra.src.rpm .... @@ -114,4 +115,4 @@ koji add-pkg $tag $package --owner=$user for example: .... koji add-pkg f40-infra mediawiki-theme-fedora --owner=ryanlerch -.... \ No newline at end of file +....