Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production deploy: Fetch and display sign database from S3 location #1528

Merged
merged 20 commits into from
Jan 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6a0dddd
Add dependency on aws-sdk-s3 to download the dictionary file from S3
joshmcarthur Jan 10, 2024
d203ee8
Add code to update dictionary from S3 from nzsl-share
joshmcarthur Jan 10, 2024
8a6a115
Copy env-example during CI run to load default config
joshmcarthur Jan 10, 2024
139a9c2
Use correct model name for Dictionary
joshmcarthur Jan 10, 2024
a8d4a45
Update the sign database each time Rails starts
joshmcarthur Jan 10, 2024
4e87a2b
Provide AWS_REGION for CI configuration
joshmcarthur Jan 10, 2024
2d629a3
Add aws-sdk-s3 to allow presigned URLs to be generated
joshmcarthur Jan 11, 2024
bae5dac
Import Signbank::AssetURL model to handle presigning sign assets wher…
joshmcarthur Jan 11, 2024
2bc14f8
Use Signbank::AssetURL for examples and sign video
joshmcarthur Jan 11, 2024
2a5910a
NZSL-164: Show the database version in the footer
joshmcarthur Jan 11, 2024
bfb223d
Update footer to add alt text to license badge
joshmcarthur Jan 14, 2024
acfcdb1
Merge pull request #1523 from ODNZSL/task/nzsl-159-update-nzsl-dictio…
joshmcarthur Jan 15, 2024
64b8f31
Apply patch to handle empty string column values for sign media
joshmcarthur Jan 15, 2024
b5f9c74
Merge pull request #1525 from ODNZSL/task/nzsl-164-show-database-version
joshmcarthur Jan 15, 2024
e3e1422
Correct string formatting violations with rubocop
joshmcarthur Jan 15, 2024
228d5f1
Merge pull request #1524 from ODNZSL/task/nzsl-167-presign-sign-asset…
joshmcarthur Jan 15, 2024
72a194e
Add some conditionals to handle prerelease signs missing videos
joshmcarthur Jan 15, 2024
a0c33ff
Merge pull request #1526 from ODNZSL/fix/handle-missing-video
joshmcarthur Jan 15, 2024
140685a
Revert "NZSL-167: Presign asset requests"
joshmcarthur Jan 16, 2024
186374d
Merge pull request #1527 from ODNZSL/revert-1524-task/nzsl-167-presig…
joshmcarthur Jan 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct string formatting violations with rubocop
joshmcarthur committed Jan 15, 2024
commit e3e1422e3e965c096b14cbf175b9c0a4a3125f57
2 changes: 1 addition & 1 deletion spec/models/signbank/asset_spec.rb
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
end

it 'is nil when the URL is blank' do
asset = Signbank::Asset.new(url: "")
asset = Signbank::Asset.new(url: '')
expect(asset.url).to be_nil
end
end
2 changes: 1 addition & 1 deletion spec/models/signbank/example_spec.rb
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@
end

it 'is nil when the URL is blank' do
example = Signbank::Example.new(video: "")
example = Signbank::Example.new(video: '')
expect(example.video).to be_nil
end
end
2 changes: 1 addition & 1 deletion spec/models/signbank/sign_spec.rb
Original file line number Diff line number Diff line change
@@ -116,7 +116,7 @@ module Signbank
end

it 'is nil when the URL is blank' do
sign = Signbank::Sign.new(video: "")
sign = Signbank::Sign.new(video: '')
expect(sign.video).to be_nil
end
end