diff --git a/.env.staging b/.env.staging new file mode 100644 index 000000000..1d8929554 --- /dev/null +++ b/.env.staging @@ -0,0 +1,34 @@ +RAILS_ENV=production +RACK_ENV=production +DEVISE_PEPPER=T3KDKT1PXeya +DEVISE_SECRET_KEY=DEVISE_SECRET_KEY +SECRET_KEY_BASE="5c9836c11d5788540944d8488b38f01e075c2d016bc673d92696dfe6e81d2123d1b2bdc1ce6f3fd396bfd204a75999c121a4b64cf69bed98e43efb0dc768cc8e" +SENTRY_DSN=SENTRY_DSN +AUTHY_API_KEY=AUTHY_API_KEY +AUTHY_API_URL=https://api.authy.com +VIGILION_ACCESS_KEY_ID='VIGILSlaQ1Wkab6tR6_CJcehTUn77p3w' +VIGILION_SECRET_ACCESS_KEY='LIONSPj1sfpl8NxbwgvNmuh7aOcBUI0CpHkhYd3ieD-DRXrLNUmX' +DISABLE_VIRUS_SCANNER=true +PROFILE_MODE=false +LOG_LEVEL=info +ASSET_HOST=http://localhost:3000/ +MAILER_HOST=localhost +SENDGRID_USERNAME=test_smtp_username +SENDGRID_PASSWORD=test_smtp_password +AWS_ACCESS_KEY_ID=xxx +AWS_SECRET_ACCESS_KEY=xxx +AWS_REGION=xxx +AWS_S3_BUCKET_NAME=xxx +DISPLAY_SOCIAL_MOBILITY_AWARD=true +PUSHER_SOCKET_HOST=localhost +PUSHER_WS_PORT=8080 +PUSHER_APP_ID=app_id +PUSHER_APP_KEY=app_key +PUSHER_SECRET=secret +DEBOUNCE_API_KEY=test +GOV_UK_NOTIFY_API_KEY=key +GOV_UK_NOTIFY_API_TEMPLATE_ID=id +DB_PORT=1234 +DB_NAME=qavs-staging +DB_USER=postgres +DB_PASS=iB91vg4ntsyl2F2g diff --git a/Gemfile b/Gemfile index 7ddbe2ec6..8ebc922d0 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' git_source(:github) { |name| "https://github.com/#{name}.git" } -ruby '~> 3.2.3' +ruby '~> 3.0.0' gem 'rails', '7.1.3.2' gem 'websocket-extensions', '~> 0.1.5' @@ -84,7 +84,7 @@ gem 'prawn-table' gem 'nokogiri' # Uploads -gem 'carrierwave', '~> 2.2.5' +gem 'carrierwave', '~> 2.2.6' gem 'google-cloud-storage', '~> 1.34.1' gem 'carrierwave-google-storage', github: "bitzesty/carrierwave-google-storage", ref: 'c706a21c6c25045cae2e39bcab5bf594af0bcf46' gem 'vigilion', '~> 1.0.4', github: 'vigilion/vigilion-ruby', ref: '7d6a7e5' diff --git a/Gemfile.lock b/Gemfile.lock index 97075b6d3..2f910dac9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -160,7 +160,7 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - carrierwave (2.2.5) + carrierwave (2.2.6) activemodel (>= 5.0.0) activesupport (>= 5.0.0) addressable (~> 2.6) @@ -641,7 +641,7 @@ GEM parser (>= 3.2.1.0) ruby-progressbar (1.13.0) ruby-rc4 (0.1.5) - ruby-vips (2.2.0) + ruby-vips (2.2.1) ffi (~> 1.12) ruby2_keywords (0.0.5) rubyzip (2.3.2) @@ -764,6 +764,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-23 + x86_64-darwin-19 x86_64-darwin-22 x86_64-linux @@ -777,7 +778,7 @@ DEPENDENCIES bootstrap-sass (~> 3.4) browser (= 2.4.0) capybara (~> 3.39) - carrierwave (~> 2.2.5) + carrierwave (~> 2.2.6) carrierwave-google-storage! ckeditor codeclimate_circle_ci_coverage @@ -871,7 +872,7 @@ DEPENDENCIES wicked (~> 1.1) RUBY VERSION - ruby 3.2.3p157 + ruby 3.0.0p0 BUNDLED WITH 2.4.8 diff --git a/cloud-sql-proxy b/cloud-sql-proxy new file mode 100755 index 000000000..0372f8086 Binary files /dev/null and b/cloud-sql-proxy differ