aboutsummaryrefslogtreecommitdiff
path: root/app/jobs
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-26 20:59:45 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:57:39 +0100
commit7eaab4794bf107976bf7ec07a7a06f1bd27f3201 (patch)
tree580769b0868ba1172c931de0af372203a62ee64f /app/jobs
parentf4467a64ae24f0dfb55969eaa09eea984f7da062 (diff)
downloadgovuk-mini-environment-admin-7eaab4794bf107976bf7ec07a7a06f1bd27f3201.tar
govuk-mini-environment-admin-7eaab4794bf107976bf7ec07a7a06f1bd27f3201.tar.gz
Only build systems with Whitehall and Government Frontend
If nothing is specified, then govuk-system builds everything. This takes a while, and requires lots of resources to run, so until this is configurable, just hardcode these two services.
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/govuk_guix/generate_start_command_job.rb2
-rw-r--r--app/jobs/govuk_guix/generate_vm_image_and_system_job.rb3
2 files changed, 4 insertions, 1 deletions
diff --git a/app/jobs/govuk_guix/generate_start_command_job.rb b/app/jobs/govuk_guix/generate_start_command_job.rb
index c702b41..4bd14a2 100644
--- a/app/jobs/govuk_guix/generate_start_command_job.rb
+++ b/app/jobs/govuk_guix/generate_start_command_job.rb
@@ -18,6 +18,8 @@ class GovukGuix::GenerateStartCommandJob < GovukGuix::Job
"--use-high-ports=false",
"--use-https=certbot",
"--fallback",
+ 'whitehall',
+ 'government-frontend'
]
run_command(command) do |output|
diff --git a/app/jobs/govuk_guix/generate_vm_image_and_system_job.rb b/app/jobs/govuk_guix/generate_vm_image_and_system_job.rb
index 5cc42fc..c47e458 100644
--- a/app/jobs/govuk_guix/generate_vm_image_and_system_job.rb
+++ b/app/jobs/govuk_guix/generate_vm_image_and_system_job.rb
@@ -19,7 +19,8 @@ class GovukGuix::GenerateVmImageAndSystemJob < GovukGuix::Job
"--use-high-ports=false",
"--use-https=certbot",
"--fallback",
- "whitehall",
+ 'whitehall',
+ 'government-frontend'
]
run_command(command) do |output|