From 32f32399f70092dbaf05a1b168b2e5bdeeee5af6 Mon Sep 17 00:00:00 2001 From: nasirhm Date: Dec 10 2020 15:14:53 +0000 Subject: Fix broken links for Backend Docs. Fixed links pointing to infrastructure.fp.o to Pagure.io/fedora-infra. Fixed Batcave's hostname. Signed-off-by: nasirhm --- diff --git a/modules/ROOT/pages/push-badges.adoc b/modules/ROOT/pages/push-badges.adoc index 5787006..78230d9 100644 --- a/modules/ROOT/pages/push-badges.adoc +++ b/modules/ROOT/pages/push-badges.adoc @@ -71,10 +71,10 @@ _Note_: All assets must be in the `master` branch of https://pagure.io/fedora-ba You must also be a member of `sysadmin-badges` in FAS for this to work. Next, you need to move all assets from the Pagure repository to the back-end server. -This is done via an https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/playbooks/manual/push-badges.yml[Ansible playbook] from the `batcave` server. +This is done via an https://pagure.io/fedora-infra/ansible/blob/master/f/playbooks/manual/push-badges.yml[Ansible playbook] from the `batcave` server. Follow these steps to push the assets to production. -. SSH into `batcave01.phx2.fedoraproject.org` +. SSH into `batcave01.iad2.fedoraproject.org` . Run the playbook: `sudo rbac-playbook manual/push-badges.yml` . Enter FAS password and https://docs.pagure.org/infra-docs/sysadmin-guide/sops/2-factor.html[2FA token] . Once finished, ensure badge is now publicly visible (i.e. `https://badges.fedoraproject.org/pngs/.png`) @@ -167,7 +167,7 @@ The `BADGE_ID` for a badge can be found by visiting its page on the web UI. That badge can be found at `https://badges.fedoraproject.org/badge/associate-editor`. The `award-badge` script and source code is managed by ansible.git. -The source code is in https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/badges/backend/files/award-badge[roles/badges/backend/files/award-badge]. +The source code is in https://pagure.io/fedora-infra/ansible/blob/master/f/roles/badges/backend/files/award-badge[roles/badges/backend/files/award-badge]. Often enough, there is need for a workflow to batch award a badge to a number of people. For instance, the _Keepin' Fedora Beautiful_ badge comes from a member of the Design Team posting a ticket with a list of FAS usernames (i.e. https://pagure.io/fedora-badges/issue/129[fedora-badges#129]). @@ -208,7 +208,7 @@ It would be nice if we could automatically grant admin access in the web interfa We currently do not have this feature and must maintain the list of web UI admins separately. The configuration file for the badges front-end web app is managed by ansible.git. -The source code is in https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/badges/frontend/templates/tahrir.ini[roles/badges/frontend/templates/tahrir.ini]. +The source code is in https://pagure.io/fedora-infra/ansible/blob/master/f/roles/badges/frontend/templates/tahrir.ini[roles/badges/frontend/templates/tahrir.ini]. In that file, find the `tahrir.admin` option. It is a comma-separated list of email addresses that, when logged in, should be granted rights to access the admin panels at https://badges.fedoraproject.org/[badges.fedoraproject.org].