Skip to content

Releases: companieshouse/chs-dev

1.3.27

09 Oct 07:43
1f411f0
Compare
Choose a tag to compare
Update behaviour of up to match behaviour of status and service loade…

1.3.26

08 Oct 07:24
5246e58
Compare
Choose a tag to compare
Add check for other processes running to init hook (#113)

* Remove locking using file from the development mode class. This caused issues and was not foolproof, using this method will prevent multiple processes running when there are multiple docker compose processes running which would interfere with eachother.
* Add check to init when running up or down for other processes
* Reorganise up tests to use automatic not manual mocks

1.3.25

08 Oct 07:22
ffef036
Compare
Choose a tag to compare
Add further environment variables to skip some of the checks (#111)

* Add `CHS_DEV_SKIP_PROJECT_STATE_VALIDATION` to skip the check that chs-dev is being run from an invalid project
* Add `CHS_DEV_SKIP_ECR_LOGIN_CHECK` to skip the prompt to login to ECR
* Reformat tests for the hook: `ensure-ecr-logged-in` to use automatic rather than manual mocks

1.3.24

08 Oct 07:18
7e9e598
Compare
Choose a tag to compare
Update development disable command to pull service by default (#110)

* Currently when service is disabled in development mode if a user does not delete it or pull it manually, the image will remain to be the image built by development mode potentially.
* Pulling the image after disabling will mean that the service is reloaded as the one held in ECR
* Added the `-P` to the disable command to maintain current behaviour if desired
* Reorganied `disable.spec.ts` mocks to use automatic mocks and not manual mock
* Add a method which can be overidden in children of AbstractStateModificationCommand so that actions can occur after the hook has successfully run

1.3.23

03 Oct 10:51
cbbb91b
Compare
Choose a tag to compare
Fix issues with docker login using new l_docker command (#109)

* There was an issue where aws sts get-caller-identity would succeed when user was not logged in therefore could not be used as a way of determining a user was logged into aws, subsequently some work has been done to create a better l_docker which behaves much the same as the former script but should be available as standard on devs machines.
* Remove concept of authenticated repositories since we are not using them to perform docker login

1.3.22

24 Sep 10:47
eedbbaa
Compare
Choose a tag to compare
Update log file name to include day of month (#108)

* Update log file name to include day of month
* Use toLocaleDateString to construct date part of log file name

1.3.21

24 Sep 08:25
82558c2
Compare
Choose a tag to compare
Add ability to use the Dockerfile in repository with builder (#106)

* Add support for label "chs.local.builder.useServiceDockerfile" which will instruct chs-dev to use the Dockerfile within the repository for the service rather than the Dockerfile supplied by the builder

1.3.20

19 Sep 10:19
92cc4a4
Compare
Choose a tag to compare
Remove Damian as author of repo (#105)

* Set 'Companies House' as the author of the repository since Damian is no longer available

1.3.19

18 Sep 07:19
d90b5cc
Compare
Choose a tag to compare
Remove duplicate call to builderSecretsSpecAssemblyFunction (#104)

1.3.18

09 Sep 07:30
5af3719
Compare
Choose a tag to compare
Add force flag to reload (#103)

* Since builder will not necessarily be triggered when a `.code.hash` file is present therefore force
  the reload by removing the file