@@ -17,6 +17,12 @@ description: The charm for the snapcraft.io website, built with the PaaS app cha
1717extensions :
1818 - flask-framework
1919
20+ requires :
21+ redis :
22+ interface : redis
23+ optional : true
24+ limit : 1
25+
2026config :
2127 options :
2228 sentry-dsn :
@@ -28,65 +34,50 @@ config:
2834 default : " production"
2935 type : string
3036
31- marketo-client-id :
32- description : " Marketo API client ID"
33- type : string
34-
35- marketo-client-secret :
36- description : " Marketo API client secret"
37- type : string
38-
39- github-client-id :
40- description : " GitHub OAuth application ID for prompting users for access to their repositories"
41- type : string
42-
43- github-client-secret :
44- description : " GitHub OAuth application client secret for prompting users for access to their repositories"
45- type : string
46-
47- github-snapcraft-user-token :
48- description : " GitHub application token for automated builds"
49- type : string
50-
51- github-snapcraft-bot-user-token :
52- description : " GitHub application token for CVE data"
53- type : string
54-
55- github-webhook-secret :
56- description : " Secret salt used for signing automated build webhooks"
57- type : string
58-
59- github-webhook-host-url :
60- description : " URL of the automated build webhooks' host"
61- type : string
62-
63- lp-api-username :
64- description : " Launchpad API username"
65- type : string
66-
67- lp-api-token :
68- description : " Launchpad API token"
69- type : string
70-
71- lp-api-token-secret :
72- description : " Launchpad API secret"
73- type : string
74-
75- youtube-api-key :
76- description : " API key used to access the YouTube Data API for retrieving and displaying YouTube video content on snapcraft.io"
77- type : string
78-
79- discourse-api-key :
80- description : " API key used by the application to authenticate with the configured Discourse forum"
81- type : string
82-
83- discourse-api-username :
84- description : " Discourse username to associate with API requests to the Discourse forum"
85- type : string
86-
87- dns-verification-salt :
88- description : " Secret salt used when generating DNS verification tokens to confirm domain ownership"
89- type : string
37+ marketo :
38+ type : secret
39+ description : |
40+ Marketo API credentials. Must contain following keys:
41+ client-id: client ID
42+ client-secret: client-secret
43+
44+ github :
45+ type : secret
46+ description : |
47+ Needed for various functionality. Must contain following keys:
48+ client-id: OAuth application ID for prompting users for access to their repositories
49+ client-secret: OAuth application client secret for prompting users for access to their repositories
50+ snapcraft-bot-user-token: GitHub application token for CVE data
51+ snapcraft-user-token: application token for automated builds
52+ webhook-host-url: URL of the automated build webhooks' host
53+ webhook-secret: Secret salt used for signing automated build webhooks
54+
55+ lp :
56+ type : secret
57+ description : |
58+ Launchpad API credentials to access the snapcraft build service. Must contain following keys:
59+ api-token-secret: Launchpad API token secret
60+ api-token: Launchpad API token
61+ api-username: Launchpad API username
62+
63+ youtube :
64+ type : secret
65+ description : |
66+ Must contain following keys:
67+ api-key: API key used to access the YouTube Data API for retrieving and displaying YouTube video content on snapcraft.io
68+
69+ discourse :
70+ type : secret
71+ description : |
72+ Must contain following keys:
73+ api-key: API key used by the application to authenticate with the configured Discourse forum
74+ api-username: Discourse username to associate with API requests to the Discourse forum
75+
76+ dns-verification :
77+ type : secret
78+ description : |
79+ Must contain following keys:
80+ salt: Secret salt used when generating DNS verification tokens to confirm domain ownership
9081
9182 login-url :
9283 description : " Base URL for SSO login redirects"
@@ -116,10 +107,3 @@ config:
116107 report-sheet-url :
117108 description : " URL for the reported snaps spreadsheet on Google docs"
118109 type : string
119-
120-
121- # requires:
122- # tracing:
123- # interface: tracing
124- # optional: true
125- # limit: 1
0 commit comments