Skip to content

Commit

Permalink
Update ruby configuration for Big Query
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-dfe committed Dec 9, 2024
1 parent 9321590 commit fb0e417
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .env.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@ CLARITY_ID: i4a0ipfunv
VWO_ID: 713156
FAST_IMAGE_TIMEOUT: 0.25
SIZE_IMAGES: 1
BIGQUERY_TABLE_NAME: events
BIGQUERY_PROJECT_ID: get-into-teaching
BIGQUERY_DATASET: git_website_events_development
GET_AN_ADVISER: 1
GET_AN_ADVISER_FEEDBACK: 1
3 changes: 0 additions & 3 deletions .env.preprod
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ VWO_ID=713156
SKYLIGHT_ENV=test
FAST_IMAGE_TIMEOUT=0.25
SIZE_IMAGES=1
BIGQUERY_TABLE_NAME=events
BIGQUERY_PROJECT_ID=get-into-teaching
BIGQUERY_DATASET=git_website_events_preprod
GET_AN_ADVISER=1
GET_AN_ADVISER_FEEDBACK=1
3 changes: 0 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ VWO_ID=713156
SKYLIGHT_ENV=production
FAST_IMAGE_TIMEOUT=0.25
SIZE_IMAGES=1
BIGQUERY_TABLE_NAME=events
BIGQUERY_PROJECT_ID=get-into-teaching
BIGQUERY_DATASET=git_website_events_production
GET_AN_ADVISER=1
GET_AN_ADVISER_FEEDBACK=0
3 changes: 0 additions & 3 deletions .env.rolling
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ VWO_ID=713156
SKYLIGHT_ENV=dev
FAST_IMAGE_TIMEOUT=0.25
SIZE_IMAGES=1
BIGQUERY_TABLE_NAME=events
BIGQUERY_PROJECT_ID=get-into-teaching
BIGQUERY_DATASET=git_website_events_rolling
GET_AN_ADVISER=1
GET_AN_ADVISER_FEEDBACK=1
2 changes: 2 additions & 0 deletions config/initializers/dfe_analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@
Rails.application.config.action_controller.perform_caching &&
ActionDispatch::FileHandler.new(Rails.root.join("public/cached_pages").to_s).attempt(rack_env).present?
end

config.azure_federated_auth = ENV.include? "GOOGLE_CLOUD_CREDENTIALS"
end

0 comments on commit fb0e417

Please sign in to comment.