Skip to content

Commit

Permalink
Merge branch '249-update-health-check' into 'dev'
Browse files Browse the repository at this point in the history
Resolve "Update health check APIs"

Closes #249

See merge request ergo/rosen-bridge/watcher!291
  • Loading branch information
zargarzadehm committed Aug 30, 2024
2 parents 37589a7 + d63fe26 commit 91c8924
Show file tree
Hide file tree
Showing 15 changed files with 1,222 additions and 197 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-paws-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-bridge/watcher': minor
---

Add notification and its configurations to health check
5 changes: 5 additions & 0 deletions .changeset/giant-turtles-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-bridge/watcher': minor
---

Update Node version to 18
5 changes: 5 additions & 0 deletions .changeset/hot-carrots-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-bridge/watcher': minor
---

Update health check APIs regarding to latest changes
42 changes: 7 additions & 35 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
image: node:18.17.1

stages:
- installation_16
- installation
- type_check
- lint
- test
- installation_18
- coverage
- changeset

installation_16:
image: node:16.19.1
stage: installation_16
installation:
stage: installation
cache:
key: $CI_COMMIT_REF_NAME
policy: push
Expand All @@ -19,9 +18,8 @@ installation_16:
- npm ci

type_check:
image: node:16.19.1
stage: type_check
needs: ['installation_16']
needs: ['installation']
cache:
key: $CI_COMMIT_REF_NAME
policy: pull
Expand All @@ -31,7 +29,6 @@ type_check:
- npm run type-check

lint:
image: node:16.19.1
stage: lint
needs: ['type_check']
cache:
Expand All @@ -42,33 +39,9 @@ lint:
script:
- npm run lint

test:
image: node:16.19.1
stage: test
needs: ['lint']
cache:
key: $CI_COMMIT_REF_NAME
policy: pull
paths:
- node_modules
script:
- npm run test

installation_18:
image: node:18.14.0
stage: installation_18
cache:
key: $CI_COMMIT_REF_NAME
policy: push
paths:
- node_modules
script:
- npm ci

coverage:
image: node:18.14.0
stage: coverage
needs: ['installation_18']
needs: ['installation']
cache:
key: $CI_COMMIT_REF_NAME
policy: pull
Expand All @@ -84,7 +57,6 @@ coverage:
path: coverage/cobertura-coverage.xml

changeset:
image: node:18.14.0
stage: changeset
needs: ['coverage']
cache:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
18.17.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.14.2
FROM node:18.17.1

LABEL maintainer="rosen-bridge team <team@rosen.tech>"
LABEL description="Docker image for the watcher service owned by rosen-bridge organization."
Expand Down
Loading

0 comments on commit 91c8924

Please sign in to comment.