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

Service Onboard to Logit.io #421

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ gem "importmap-rails", "~> 1.2"
gem "propshaft", "~> 0.8.0"

gem "rubyXL", "~> 3.4"

gem "nokogiri", "~> 1.16.5"
gem "rexml", "~> 3.2.7"
12 changes: 8 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ GEM
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
mini_portile2 (2.8.6)
minitest (5.22.3)
msgpack (1.7.2)
multi_xml (0.6.0)
Expand All @@ -274,7 +274,7 @@ GEM
net-smtp (0.4.0)
net-protocol
nio4r (2.6.1)
nokogiri (1.16.3)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
notifications-ruby-client (5.4.0)
Expand Down Expand Up @@ -374,7 +374,8 @@ GEM
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
rexml (3.2.6)
rexml (3.2.8)
strscan (>= 3.0.9)
rolify (6.0.1)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
Expand Down Expand Up @@ -470,6 +471,7 @@ GEM
hashie
version_gem (~> 1.1, >= 1.1.1)
stringio (3.1.0)
strscan (3.1.0)
thor (1.3.1)
timeout (0.4.1)
tzinfo (2.0.6)
Expand Down Expand Up @@ -528,6 +530,7 @@ DEPENDENCIES
jbuilder
launchy
mail-notify (~> 1.2)
nokogiri (~> 1.16.5)
notifications-ruby-client
okcomputer
omniauth-azure-activedirectory-v2
Expand All @@ -538,6 +541,7 @@ DEPENDENCIES
pry-byebug
puma (>= 6.4.2, < 7)
rails (~> 7.1)
rexml (~> 3.2.7)
rolify
rspec-rails
rubocop-govuk
Expand All @@ -556,7 +560,7 @@ DEPENDENCIES
web-console

RUBY VERSION
ruby 3.2.2p53
ruby 3.2.3p157

BUNDLED WITH
2.4.21
2 changes: 2 additions & 0 deletions terraform/aks/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module "web_application" {
probe_path = var.probe_path

web_external_hostnames = var.gov_uk_host_names
enable_logit = var.enable_logit
}

module "application_configuration" {
Expand Down Expand Up @@ -54,4 +55,5 @@ module "worker_application" {
replicas = 1
command = ["/bin/sh", "-c", "./bin/worker-startup.sh"]
probe_command = ["pgrep", "-f", "sidekiq"]
enable_logit = var.enable_logit
}
3 changes: 2 additions & 1 deletion terraform/aks/config/qa.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"gov_uk_host_names": [
"qa.get-a-teacher-relocation-payment.education.gov.uk"
],
"azure_enable_backup_storage": false
"azure_enable_backup_storage": false,
"enable_logit": true
}
3 changes: 2 additions & 1 deletion terraform/aks/config/review.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"enable_monitoring": false,
"startup_command": ["/bin/sh", "-c", "./bin/app-startup.sh"],
"replicas": 1,
"memory_max": "1Gi"
"memory_max": "1Gi",
"enable_logit": true
}
3 changes: 2 additions & 1 deletion terraform/aks/config/staging.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"gov_uk_host_names": [
"staging.get-a-teacher-relocation-payment.education.gov.uk"
],
"azure_enable_backup_storage": false
"azure_enable_backup_storage": false,
"enable_logit": true
}
2 changes: 1 addition & 1 deletion terraform/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ variable "statuscake_alerts" {
type = map(any)
default = {}
}

variable "enable_logit" { default = false }
locals {
service_name = "teacher-relocation-payment"
version = "1.9.7"
Expand Down
Loading