Skip to content

Commit

Permalink
Add update-service call for prod node20
Browse files Browse the repository at this point in the history
  • Loading branch information
nonword committed Jul 15, 2024
1 parent 8424fc8 commit c26ba1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:production-latest
docker push $ECR_REGISTRY/$ECR_REPOSITORY:production-latest
- name: Force ECS Update
run: |
aws ecs update-service --cluster discovery-api-production --service discovery-api-production --force-new-deployment
2 changes: 1 addition & 1 deletion lib/es-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ clientWrapper.esClient = function () {
port,
auth: { username, password }
}
logger.debug(`Connecting to ES at ${host}:${port}/${process.env.RESOURCES_INDEX} ${username && password ? 'with creds' : 'w/out creds'}`)
logger.info(`Connecting to ES at ${host}:${port}/${process.env.RESOURCES_INDEX} ${username && password ? 'with creds' : 'w/out creds'}`)
this._esClient = new elasticsearch.Client(options)
}
return this._esClient
Expand Down

0 comments on commit c26ba1f

Please sign in to comment.