1) Cloned `badges` repository where all badges
live: https://git.fedorahosted.org/cgit/badges.git(jflory7,
21:25:35)
2) Sysadmin privileges on Batcave and
badges-web(jflory7,
21:26:06)
=== Taking care of art assets ===(jflory7,
21:26:21)
1) Go to the ticket for a badge and pull the
artwork assets (both png and svg) into the `badges`
repository(jflory7,
21:26:47)
2) Place art assets into their appropriate
folder, preferred to name image files the name of the badge for easy
indexing later on(jflory7,
21:27:12)
3) Double-check to make sure the image assets
you pulled down are "good" - sometimes the images can be corrupted
and this can cause problems later(jflory7,
21:27:43)
4) Add the files in git, commit, push (or if
you don't have push privileges, make a patch and add it to the
ticket to save time...??)(jflory7,
21:28:17)
Important to note that just because you push to
fedorahosted does not mean the badge is "out there" yet -
introducing the powers of Ansible yet again(jflory7,
21:28:58)
1) Log into the `batcave` machine in Fedora
Infrastructure and locate the `push-badges` playbook(jflory7,
21:29:25)
2) Sysadmins with privileges will be able to
run the playbook to pull the changes from fedorahosted to batcave -
the changes then get synced to the badges-web server(jflory7,
21:29:56)
3) Wait for playbook to finish, check if the
png is publicly viewable on badges.fp.o(jflory7,
21:31:01)
=== Adding a badge from badges.fp.o ===(jflory7,
21:31:10)
Once the art assets are on badges-web, you will
be ready to make the badge. BEWARE: Creating a badge is easy, but
editing it is not! Make sure the information you are entering is
right on the first go.(jflory7,
21:31:49)
1) Log into admin interface on
badges.fp.o(jflory7,
21:31:59)
3) Enter in the information (e.g. pull the
badge name / description from the ticket, enter the correct image
location for the badge), hit "Create badge" button(jflory7,
21:33:15)
4) In admin interface, grant privileges to
appropriate person (IF NOT AN AUTOMATIC BADGE) at bottom of the
interface. Use badge name and @fedoraproject.org email for the
person who needs privileges(jflory7,
21:34:03)
Congratulations! You pushed a badge.(jflory7,
21:34:22)
ACTION: jflory7 Write
up a SOP on pushing a badge for Fedora Infra if there is not one
already (make any improvements if there is one?)(jflory7,
21:37:45)