diff options
author | Christopher Baines <mail@cbaines.net> | 2018-03-27 23:04:41 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-03 21:58:55 +0100 |
commit | 94f9e2a768327479c8b2da99cd57ac717cf1589a (patch) | |
tree | 819c093f8fb7c37c6017ede36db4f01854a8bcc8 /db/migrate | |
parent | fa06e98228d8dd80a46622c9f393bb90e680d254 (diff) | |
download | govuk-mini-environment-admin-94f9e2a768327479c8b2da99cd57ac717cf1589a.tar govuk-mini-environment-admin-94f9e2a768327479c8b2da99cd57ac717cf1589a.tar.gz |
Add domains to backends, and rework build jobs
Add a domain to the libvirt and AWS Terraform backends. Along the way,
improve the backend controllers and views, and rework the build jobs,
simplifying them in to a single new class GovukGuix::BuildJob, which
uses configuration from the respective backend.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20180327204244_add_domain_to_terraform_libvirt_backends.rb | 5 | ||||
-rw-r--r-- | db/migrate/20180327204322_add_domain_to_terraform_aws_backends.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20180327204244_add_domain_to_terraform_libvirt_backends.rb b/db/migrate/20180327204244_add_domain_to_terraform_libvirt_backends.rb new file mode 100644 index 0000000..5ef99d1 --- /dev/null +++ b/db/migrate/20180327204244_add_domain_to_terraform_libvirt_backends.rb @@ -0,0 +1,5 @@ +class AddDomainToTerraformLibvirtBackends < ActiveRecord::Migration[5.1] + def change + add_column :terraform_libvirt_backends, :domain, :string + end +end diff --git a/db/migrate/20180327204322_add_domain_to_terraform_aws_backends.rb b/db/migrate/20180327204322_add_domain_to_terraform_aws_backends.rb new file mode 100644 index 0000000..9eff4f7 --- /dev/null +++ b/db/migrate/20180327204322_add_domain_to_terraform_aws_backends.rb @@ -0,0 +1,5 @@ +class AddDomainToTerraformAwsBackends < ActiveRecord::Migration[5.1] + def change + add_column :terraform_aws_backends, :domain, :string + end +end |