From 0458fc105b587331af7b9288f11c9562b3bb2852 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 16 Jun 2014 20:20:21 +0000 Subject: Start of a github2fedmsg role. --- roles/github2fedmsg/templates/githubsecrets.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/github2fedmsg/templates/githubsecrets.py (limited to 'roles/github2fedmsg/templates/githubsecrets.py') diff --git a/roles/github2fedmsg/templates/githubsecrets.py b/roles/github2fedmsg/templates/githubsecrets.py new file mode 100644 index 000000000..19fdbb24c --- /dev/null +++ b/roles/github2fedmsg/templates/githubsecrets.py @@ -0,0 +1,23 @@ +# This file is a part of github2fedmsg, a pubsubhubbub to zeromq bridge. +# Copyright (C) 2014, Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +# github2fedmsg's secret key to the kingdom +{% if env != 'staging' %} +secret_oauth_token = "{{github2fedmsgGHsecret_oauth_token}}" +{% else %} +secret_oauth_token = "{{github2fedmsgGHsecret_oauth_token_staging}}" +{% endif %} + -- cgit