| Commit message (Expand) | Author | Age |
... | |
* | Shorten the guix builder user name•••This makes it easier to see in tools like htop, top and ps, as they
truncate the user name.
| Christopher Baines | 2018-07-04 |
* | Use info for command output logging•••As this is useful to see, and not currently appearing in the log file
when running in the Rails production environment.
| Christopher Baines | 2018-07-04 |
* | Disable the Refresh button if there is no state to refresh | Christopher Baines | 2018-07-04 |
* | Add a simple title back to the index page•••To fix the styling.
| Christopher Baines | 2018-07-04 |
* | Use database locking to prevent concurrent Terraform jobs•••Currently, the Terraform code uses chdir in the Ruby process to change
to the right working directory. This affects all threads in the
process, and thus means that all Terraform jobs conflict with each
other.
It would be good to fix this somehow, e.g. not changing directory, and
just specifying the directory in which to run Terraform when starting
it, but for now, use the advisory locks to force the jobs to run
sequentially.
| Christopher Baines | 2018-07-04 |
* | Remove the titles from the mini environment index page•••Ownership isn't implemented yet, so just remove the titles that
suggest it is.
| Christopher Baines | 2018-07-04 |
* | Pass the terraform credentials to the remote state configuration•••This fixes the mini environment Terraform working, now that the
backend is protected by basic authentication.
| Christopher Baines | 2018-07-04 |
* | Use finish in the govuk-guix related Que jobs•••So that the entries are kept in the jobs table.
| Christopher Baines | 2018-07-04 |
* | Specify titles for the govuk-guix related jobs | Christopher Baines | 2018-07-04 |
* | Support looking for available services on remote hosts | Christopher Baines | 2018-07-04 |
* | Don't try to use guix copy if Guix isn't available•••If this is the case, it should only be used on the remote host anyway.
| Christopher Baines | 2018-07-04 |
* | Use bash from Guix when fetching revisions remotely | Christopher Baines | 2018-07-04 |
* | Change the backend instance to a t2.xlarge•••The builds can be quite expensive, so the extra resource is useful.
release_10 | Christopher Baines | 2018-07-03 |
* | Increase the resources for AWS mini environments•••From a t2.large to a t2.xlarge. Running every service requires close
to 16GB of memory.
| Christopher Baines | 2018-07-03 |
* | Set GDS_GUIX_GOVUK_PUPPET_BACKUPS_DIRECTORY•••On the AWS build machine.
| Christopher Baines | 2018-07-03 |
* | Copy the root profile when provisioning•••Then switch to just installing guile. Also, always create the
~/.guix-profile symlink, as this isn't stored on EFS and thus needs
creating everytime the machine is created.
| Christopher Baines | 2018-07-03 |
* | Make the ~/.config directory during provisioning•••This ensures that it's owned by the ubuntu user.
| Christopher Baines | 2018-07-03 |
* | Change the spot_type of the spot requests to one-time•••The setup for these machines is dependant on the Terraform
provisioners, so make the spot requests one time rather than
persistent.
| Christopher Baines | 2018-07-03 |
* | Handle the Guix signing-key not existing•••Other parts of the code handle not having Guix locally, so add support
here also.
release_9 | Christopher Baines | 2018-07-03 |
* | Fix the Terraform HTTP backend in production•••Skip the authenticate_user! before action for the Terraform controller
methods, and refactor the code to improve readability.
release_8 | Christopher Baines | 2018-07-03 |
* | Use Plek for finding the GOV.UK Mini Environment Admin•••Rather than hardcoding localhost.
release_7 | Christopher Baines | 2018-07-03 |
* | Add lib to the eager_load_paths•••To make accessing classes and modules in lib work in the production
environment.
release_6 | Christopher Baines | 2018-07-03 |
* | Use Plek to find Signonrelease_5 | Christopher Baines | 2018-07-02 |
* | Move the gds-sso require•••There is a problem with starting the app in the Rails production
environment, moving the require seems to fix the issue.
release_4 | Christopher Baines | 2018-07-02 |
* | Add a really basic que_jobs index pagerelease_3 | Christopher Baines | 2018-07-01 |
* | Use the remote host struct in read_json_file | Christopher Baines | 2018-07-01 |
* | Actually include the data snapshot when building | Christopher Baines | 2018-07-01 |
* | Change the default services for data snapshots•••Just exclude release and signon, rather than only including
content-tagger and contacts-admin.
| Christopher Baines | 2018-07-01 |
* | Fix the CreateDataSnapshotJob•••To better handle remote hosts.
| Christopher Baines | 2018-07-01 |
* | Fix the FetchRevisionJob to better handle remote hosts | Christopher Baines | 2018-07-01 |
* | Specify the mini_environment_up output for the AWS backendrelease_2 | Christopher Baines | 2018-06-28 |
* | Ensure the log directory exists in the AWS backend | Christopher Baines | 2018-06-28 |
* | Specify the disk size for the AWS build machine | Christopher Baines | 2018-06-28 |
* | Increase the number of build users in AWS | Christopher Baines | 2018-06-28 |
* | Make the git gem optional•••As it's not required or useful currently if Guix isn't available
locally.
| Christopher Baines | 2018-06-28 |
* | Use basic authentication with the Terraform http backend•••This prevents any unauthorised access to the Terraform state.
release_1 | Christopher Baines | 2018-06-24 |
* | Add a couple of buttons to speed up service selection | Christopher Baines | 2018-06-24 |
* | Neaten up SSH handling•••Explicitly use the specified private key where possible. Also, use a
struct for the user, address and private key.
| Christopher Baines | 2018-06-24 |
* | Guard against invalid build outputs•••Which seem to be a possibility if the job is forcefully stopped.
| Christopher Baines | 2018-06-24 |
* | Add locking around all Terraform actions•••To prevent them conflicting. Terraform itself has a locking mechanism,
which isn't being used, but this should be sufficient.
| Christopher Baines | 2018-06-24 |
* | Refactor the backends to use a method for working with Terraform | Christopher Baines | 2018-06-24 |
* | Switch to using the public AWS domain of the build machine•••Rather than the configured domain, as the corresponding SSH key
shouldn't change for the AWS domain (whereas it does for the
configured domain, if the machine changes).
| Christopher Baines | 2018-06-23 |
* | Disable strict host key checking•••So that SSH can run without requiring manual intervention. This
shouldn't pose a security risk, as the network should be trusted.
| Christopher Baines | 2018-06-23 |
* | Support 'Stopping' the AWS backend•••Which means just destroying the build machine.
| Christopher Baines | 2018-06-23 |
* | Use a custom branch of ruby_terraform•••Which supports the -target option to the destroy command.
| Christopher Baines | 2018-06-23 |
* | Support the refresh action on the terraform aws backend | Christopher Baines | 2018-06-23 |
* | Use an animated progress bar in the jobs partial | Christopher Baines | 2018-06-23 |
* | Redesign the mini environment show page•••With similar changes to the backend pages.
| Christopher Baines | 2018-06-23 |
* | Improve the jobs partial•••Use titles to provide additional information, add support for expired
jobs and clean up the text.
| Christopher Baines | 2018-06-23 |
* | Specify titles for TerraformLibvirtJob jobs | Christopher Baines | 2018-06-23 |