-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update other references to google env variables and hyrax analytics i…
…mplementations
- Loading branch information
Showing
6 changed files
with
22 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
#!/usr/local/bin/ruby | ||
if ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] && !ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'].empty? | ||
%x{echo "$GOOGLE_OAUTH_PRIVATE_KEY_VALUE" | base64 -d > prod-cred.p12} | ||
end | ||
|
||
exec "bundle exec puma -v -b tcp://0.0.0.0:3000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# | ||
# To integrate your app with Google Analytics, uncomment the lines below and add your API key information. | ||
# | ||
analytics: | ||
google: | ||
analytics_id: <%= ENV['GOOGLE_ANALYTICS_ID'] %> | ||
app_name: <%= ENV['GOOGLE_OAUTH_APP_NAME'] %> | ||
app_version: <%= ENV['GOOGLE_OAUTH_APP_VERSION'] %> | ||
privkey_value: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] %> | ||
# OR privkey_path: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_PATH'] %> | ||
privkey_secret: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_SECRET'] %> | ||
client_email: <%= ENV['GOOGLE_OAUTH_CLIENT_EMAIL'] %> | ||
# analytics: | ||
# google: | ||
# analytics_id: <%= ENV['GOOGLE_ANALYTICS_ID'] %> | ||
# app_name: <%= ENV['GOOGLE_OAUTH_APP_NAME'] %> | ||
# app_version: <%= ENV['GOOGLE_OAUTH_APP_VERSION'] %> | ||
# privkey_value: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] %> | ||
# # OR privkey_path: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_PATH'] %> | ||
# privkey_secret: <%= ENV['GOOGLE_OAUTH_PRIVATE_KEY_SECRET'] %> | ||
# client_email: <%= ENV['GOOGLE_OAUTH_CLIENT_EMAIL'] %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,19 +86,19 @@ extraEnvVars: &envVars | |
value: http://fcrepo.staging-fcrepo.svc.cluster.local:8080/rest | ||
- name: GOOGLE_FONTS_KEY | ||
value: $GOOGLE_FONTS_KEY | ||
# - name: GOOGLE_ANALYTICS_ID | ||
# value: $GOOGLE_ANALYTICS_ID # Set in GitHub Environment Variables Section | ||
# - name: GOOGLE_OAUTH_APP_NAME | ||
# - name: ANALYTICS_ID | ||
# value: $ANALYTICS_ID # Refer to the README | ||
# - name: ANALYTICS_OAUTH_APP_NAME | ||
# value: palni-palci-demo | ||
# - name: GOOGLE_OAUTH_APP_VERSION | ||
# - name: ANALYTICS_OAUTH_APP_VERSION | ||
# value: '1.0' | ||
# - name: GOOGLE_OAUTH_PRIVATE_KEY_SECRET | ||
# value: $GOOGLE_OAUTH_PRIVATE_KEY_SECRET # Set in GitHub Environment Variables Section | ||
# - name: GOOGLE_OAUTH_PRIVATE_KEY_PATH | ||
# - name: ANALYTICS_OAUTH_PRIVATE_KEY_SECRET | ||
# value: $ANALYTICS_OAUTH_PRIVATE_KEY_SECRET # Refer to the README | ||
# - name: ANALYTICS_OAUTH_PRIVATE_KEY_PATH | ||
# value: prod-cred.p12 | ||
# - name: GOOGLE_OAUTH_PRIVATE_KEY_VALUE | ||
# value: $GOOGLE_OAUTH_PRIVATE_KEY_VALUE | ||
# - name: GOOGLE_OAUTH_CLIENT_EMAIL | ||
# - name: ANALYTICS_OAUTH_PRIVATE_KEY_VALUE | ||
# value: $ANALYTICS_OAUTH_PRIVATE_KEY_VALUE # Refer to the README | ||
# - name: ANALYTICS_OAUTH_CLIENT_EMAIL | ||
# value: [email protected] | ||
- name: HYKU_ACTIVE_JOB_QUEUE_URL | ||
value: sidekiq | ||
|