Skip to content

Commit

Permalink
Reput erpc service
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Jul 30, 2024
1 parent 749f977 commit ada912c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ jobs:
uses: aws-actions/amazon-ecr-login@v2

- name: Set up QEMU
if: steps.changes.outputs.images == 'true'
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
if: steps.changes.outputs.images == 'true'
uses: docker/setup-buildx-action@v3

- name: "🔨 Build Ponder docker dependencies"
Expand Down
6 changes: 3 additions & 3 deletions iac/Indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ export function IndexerStack({ app, stack }: StackContext) {
});

// Then add the erpc service
//const erpcService = addErpcService({ stack, app, vpc, cluster });
const erpcService = addErpcService({ stack, app, vpc, cluster });

// Add the indexer service
const indexerService = addIndexerService({ stack, app, vpc, cluster });

// If we are missing the fargate services, early exit
const indexerFaragateService = indexerService.cdk?.fargateService;
// const erpcFargateService = erpcService.cdk?.fargateService;
if (!(indexerFaragateService)) {
const erpcFargateService = erpcService.cdk?.fargateService;
if (!(indexerFaragateService && erpcFargateService)) {
throw new Error(
"Missing fargate service in the indexer or erpc service"
);
Expand Down

0 comments on commit ada912c

Please sign in to comment.