Releases: companieshouse/chs-dev
Releases · companieshouse/chs-dev
1.3.27
1.3.26
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
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
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
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
1.3.21
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