aboutsummaryrefslogtreecommitdiff
path: root/app/jobs
Commit message (Collapse)AuthorAge
* Set environment variables when creating data snapshotsChristopher Baines2019-01-07
| | | | This means that govuk data can access the data from S3.
* Start tracking which store paths are in useChristopher Baines2019-01-01
| | | | | This will enable garbage collection of the Guix store, without removing things that are still in use.
* Have enqueued_jobs return instances of QueJobChristopher Baines2018-07-05
|
* Use finish in the govuk-guix related Que jobsChristopher Baines2018-07-04
| | | | So that the entries are kept in the jobs table.
* Specify titles for the govuk-guix related jobsChristopher Baines2018-07-04
|
* Support looking for available services on remote hostsChristopher Baines2018-07-04
|
* Don't try to use guix copy if Guix isn't availableChristopher Baines2018-07-04
| | | | If this is the case, it should only be used on the remote host anyway.
* Use bash from Guix when fetching revisions remotelyChristopher Baines2018-07-04
|
* Change the default services for data snapshotsChristopher Baines2018-07-01
| | | | | Just exclude release and signon, rather than only including content-tagger and contacts-admin.
* Fix the CreateDataSnapshotJobChristopher Baines2018-07-01
| | | | To better handle remote hosts.
* Fix the FetchRevisionJob to better handle remote hostsChristopher Baines2018-07-01
|
* Make the git gem optionalChristopher Baines2018-06-28
| | | | | As it's not required or useful currently if Guix isn't available locally.
* Specify titles for TerraformLibvirtJob jobsChristopher Baines2018-06-23
|
* Add support for managing Terraform AWS backends from the show pageChristopher Baines2018-06-23
|
* Support managing the libvirt backend from the show pageChristopher Baines2018-06-23
|
* Add initial support for fetching govuk-guix revisions on remote hostsChristopher Baines2018-06-23
| | | | | This begins to remote the restriction of having to have Guix installed locally.
* Reverse the jobs order on the mini environments show pageChristopher Baines2018-06-22
| | | | It's more useful to have the most recent jobs at the top.
* Give the jobs more descriptive titles on the show pageChristopher Baines2018-06-22
|
* Replace the GovukGuix::BuildJobChristopher Baines2018-06-22
| | | | | With a service that performs the same function, and use the MiniEnvironmentJob instead.
* Remove FinishedTerraformJobChristopher Baines2018-06-21
| | | | | This is no longer necessary, as Que now supports keeping the job entries around in the que_jobs table.
* Fix an issue with symbol keys in GovukGuix::JobChristopher Baines2018-06-21
|
* Refactor the FetchRevisionJobChristopher Baines2018-06-19
| | | | | | | | | Move the repository directory in to a constant, and make the repository remote location configurable. Also, fix an issue with parsing the JSON output from the available-services command, as there were some messages appearing prior to the JSON output.
* Support specifying multiple values for a single keyChristopher Baines2018-06-03
| | | | In the hash_to_arguments method of GovukGuix::Job.
* Fix a bug in GovukGuix::JobChristopher Baines2018-06-03
| | | | Actually parse the JSON file when fetching it from a remote host.
* Test and fix data snapshot creation for the AWS backendChristopher Baines2018-06-03
|
* Use the run_remotely_on_host option in BuildJobChristopher Baines2018-06-03
|
* Enhance run_command in GovukGuix::Job to handle remote hostsChristopher Baines2018-06-03
|
* Add job to create data snapshotsChristopher Baines2018-06-01
|
* Add a read_json_file utility to the GovukGuix:Job classChristopher Baines2018-06-01
| | | | | This will be useful when reading data from the store, including from remote machines.
* Avoid unnecessary quotingChristopher Baines2018-05-28
| | | | | This seems to cause errors in the govuk-guix when parsing the arguments.
* Show the available services for each revisionChristopher Baines2018-05-24
|
* Improve the AWS backendChristopher Baines2018-05-03
| | | | | | This gets the AWS backend to the point where you can deploy the backend, and then a mini environment without any actions outside of the govuk-mini-environment-admin.
* Improve the support for LibvirtChristopher Baines2018-04-12
| | | | | | | | | Separate out the backend things, like the virtual network, from the mini environment. This makes it easier to have resources shared between mini environments. Also handle the deployment of this new backend related Terraform configuration.
* Generate random passphrases for Signon usersChristopher Baines2018-04-12
| | | | | Store the passphrase in the clear, as the intent here is to show it to the user.
* Improve the handling of jobsChristopher Baines2018-04-12
| | | | | Move the display in to a partial and improve. Handle the finished and enqueued jobs in a more consistent way.
* Change mini_environment_id to model_id on FinishedTerraformJobChristopher Baines2018-04-12
| | | | In preparation of setting up backends through Terraform as well.
* Remove some unused jobsChristopher Baines2018-04-12
| | | | These have been replaced by the MiniEnvironmentJob.
* Improve the DestroyJobChristopher Baines2018-04-12
| | | | | Use the MiniEnvironmentJob class, and just call the destroy method on the relevant backend.
* License under the AGPLv3+Christopher Baines2018-04-12
|
* Fix the MiniEnvironmentJob destroyChristopher Baines2018-04-03
|
* Fix and improve the fetch revision jobChristopher Baines2018-04-03
|
* Add domains to backends, and rework build jobsChristopher Baines2018-04-03
| | | | | | | 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.
* Appease RubocopChristopher Baines2018-04-03
|
* Only build systems with Whitehall and Government FrontendChristopher Baines2018-04-03
| | | | | | 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.
* Switch --output to --type when calling govuk-systemChristopher Baines2018-04-03
| | | | As the argument has changed in govuk-guix.
* Add missing import to GovukGuix::JobChristopher Baines2018-04-03
|
* Remove some trailing whitespaceChristopher Baines2018-04-03
|
* Refactor the EnqueuedJobs classChristopher Baines2018-04-03
| | | | Neaten it up with the help of Rubocop.
* Remove unnecessary requiresChristopher Baines2018-04-03
|
* Add backend controllers, models and viewsChristopher Baines2018-03-29
| | | | Also annotate existing models.