What Can I Do For Fedora SOP
#fedora-admin, #fedora-noc or email@example.com
- Public addresses
To explain the overall function of the whatCanIDoForFedora webpage.. including some back story, how to build your own, and site navigation.
The 'What Can I Do For Fedora' (https://whatcanidoforfedora.org) page was the brainchild of Ralph Bean after getting inspiration from 'whatcanidoformozilla.org' created by Josh Matthews, Henri Koivuneva and a few others. Ralph wanted to make the whatcanidoforfedora (wcidff) as configurable as possible. The purpose of this site is to assist, in as user friendly a way as possible, new and prospective community members and help them realize what skills they may posess that can be helpful for the Fedora Project.
The application deployment is managed from the github repository using the 'staging' and 'production' branch to deploy a new version.
For example a new deployment to staging would look like that:
git clone firstname.lastname@example.org:fedora-infra/asknot-ng.git cd asknot-ng git checkout staging git rebase develop git push origin staging
The github repository has a webhook configured to send the push informations to our Openshift instance. Once Openshift receives the webhook requests it will trigger a new build of the using the repository’s Dockerfile.
The 'asknot-ng' container runs Apache HTTP web server and the configuration is store in the git repository.
The following playbook is used to create the initial Openshift project with the correct configuration:
sudo rbac-playbook openshift-apps/asknot.yml
Logs can be retrive by accessing the Openshift webconsole or by using the openshift command line:
$ oc login os-master01.iad2.fedoraproject.org You must obtain an API token by visiting https://os.fedoraproject.org/oauth/token/request $ oc login os-master01.iad2.fedoraproject.org --token=<Your token here> $ oc -n asknot get pods asknot-28-bfj52 1/1 Running 522 28d $ oc logs asknot-28-bfj52