[price-service] Remove wasm from readme and workflow (#548)

* Remove wasm from readme and workflow

* Update CI and Readme with lerna

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
This commit is contained in:
guibescos 2023-02-01 10:18:27 -06:00 committed by GitHub
parent d978315ec8
commit 34347c8629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View File

@ -37,7 +37,7 @@ jobs:
env: env:
AWS_REGION: us-east-1 AWS_REGION: us-east-1
- run: | - run: |
DOCKER_BUILDKIT=1 docker build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. . DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_service/server/Dockerfile . DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_service/server/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
env: env:

View File

@ -46,17 +46,11 @@ price service you should:
## Build an image ## Build an image
First, build the wasm files from [the repo root](../../) like below. This command generates the wasm files necessary Build the image from [the repo root](../../) like below. It will create a
for parsing Pyth messages coming from Wormhole and stores them on [this](../../wormhole_attester/sdk/js) directory.
```
docker buildx build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
```
Then, build the image from [the repo root](../../) like below. It will create a
local image named `pyth_price_server`. local image named `pyth_price_server`.
``` ```
$ docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .
$ docker buildx build -f price_service/server/Dockerfile -t pyth_price_server . $ docker buildx build -f price_service/server/Dockerfile -t pyth_price_server .
``` ```