Skip to content

Commit

Permalink
Merge pull request #45 from drift-labs/master
Browse files Browse the repository at this point in the history
grpc
  • Loading branch information
NourAlharithi authored Dec 16, 2024
2 parents 898e748 + cface97 commit 0674fe3
Show file tree
Hide file tree
Showing 7 changed files with 1,086 additions and 87 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/mainnet-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
build:
runs-on: ubicloud
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '20.18.x'
registry-url: 'https://registry.npmjs.org'

- name: Checkout Code
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -62,4 +68,4 @@ jobs:
BRANCH_NAME: ${{ github.ref_name }}
run: |
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app-local
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app-local
10 changes: 8 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
build:
runs-on: ubicloud
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '20.18.x'
registry-url: 'https://registry.npmjs.org'

- name: Checkout Code
uses: actions/checkout@v3
with:
Expand All @@ -23,7 +29,7 @@ jobs:
- name: Log in to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Build and push
uses: docker/build-push-action@v6
env:
Expand Down Expand Up @@ -62,4 +68,4 @@ jobs:
BRANCH_NAME: ${{ github.ref_name }}
run: |
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app-local
kubectl rollout restart -n $BRANCH_NAME deployment/usermap-publisher-app-local
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/bitnami/node:18
FROM public.ecr.aws/bitnami/node:20.18.1
RUN apt-get install git
ENV NODE_ENV=production
RUN npm install -g typescript
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
"dependencies": {
"@drift-labs/sdk": "file:./drift-common/protocol/sdk",
"@drift/common": "file:./drift-common/common-ts",
"@grpc/grpc-js": "^1.8.0",
"@opentelemetry/api": "^1.1.0",
"@opentelemetry/auto-instrumentations-node": "^0.31.1",
"@opentelemetry/exporter-prometheus": "^0.31.0",
"@opentelemetry/sdk-node": "^0.31.0",
"@triton-one/yellowstone-grpc": "1.3.0",
"@types/lodash": "^4.14.202",
"commander": "^11.1.0",
"compression": "^1.7.4",
Expand Down
Loading

0 comments on commit 0674fe3

Please sign in to comment.