Skip to content

Commit

Permalink
Add ActiveStorage and AzureBlob
Browse files Browse the repository at this point in the history
As the "azure-storage-blob" has been recently deprecated, we've decided to adopt a new community driven alternative, "azure-blob".
  • Loading branch information
Nitemaeric committed May 30, 2024
1 parent a469aaf commit 28f6c39
Show file tree
Hide file tree
Showing 13 changed files with 336 additions and 194 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ GET_INTO_TEACHING_API_URL=https://get-into-teaching-api-dev.london.cloudapps.dig
BIG_QUERY_PROJECT_ID=project-id
DFE_BIGQUERY_API_JSON_KEY="{}"
NODE_OPTIONS=--openssl-legacy-provider

# Active Storage credentials
AZURE_STORAGE_ACCOUNT_NAME=
AZURE_STORAGE_ACCESS_KEY=
AZURE_STORAGE_CONTAINER_NAME=
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ gem 'rack-mini-profiler', require: ['prepend_net_http_patch']
# BigQuery
gem 'dfe-analytics', github: 'DFE-Digital/dfe-analytics', tag: 'v1.12.3'

# Azure Blob Storage
gem 'azure-blob'

group :development do
gem 'listen', '>= 3.0.5', '< 3.10'
gem 'rails-erd'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ GEM
audited (5.4.3)
activerecord (>= 5.0, < 7.2)
request_store (~> 1.2)
azure-blob (0.4.1)
rexml
base64 (0.2.0)
bcrypt (3.1.20)
better_html (2.0.2)
Expand Down Expand Up @@ -845,6 +847,7 @@ DEPENDENCIES
ar-sequence
archive-zip
audited
azure-blob
blazer
brakeman
bullet
Expand Down
Loading

0 comments on commit 28f6c39

Please sign in to comment.