Skip to content

Commit 8be6a9a

Browse files
authored
refactor(price_pusher): re-organize in monorepo (#1464)
* refactor(price_pusher): re-organize in monorepo * revert(price_pusher): undo gitignore
1 parent 76ec4e3 commit 8be6a9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1274
-1512
lines changed

.github/workflows/push-price-pusher-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: ecr_login
4141
- run: |
4242
DOCKER_BUILDKIT=1 docker build -t lerna -f Dockerfile.lerna .
43-
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_pusher/Dockerfile .
43+
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f apps/price_pusher/Dockerfile .
4444
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4545
env:
4646
ECR_REGISTRY: public.ecr.aws
File renamed without changes.
File renamed without changes.

price_pusher/Dockerfile renamed to apps/price_pusher/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ COPY --chown=1000:1000 price_service/client/js price_service/client/js
1313
COPY --chown=1000:1000 price_service/sdk/js price_service/sdk/js
1414
COPY --chown=1000:1000 target_chains/solana/sdk/js target_chains/solana/sdk/js
1515

16-
COPY --chown=1000:1000 price_pusher price_pusher
16+
COPY --chown=1000:1000 apps/price_pusher apps/price_pusher
1717

1818
RUN npx lerna run build --scope="@pythnetwork/price-pusher" --include-dependencies
1919

20-
WORKDIR /home/node/price_pusher
20+
WORKDIR /home/node/apps/price_pusher
2121

2222
ENTRYPOINT [ "npm", "run", "start" ]

price_pusher/README.md renamed to apps/price_pusher/README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)