Skip to content

Commit

Permalink
⚗️ Disable cache for the erpc build
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Jul 31, 2024
1 parent 343cb2e commit a792a3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
262732185023.dkr.ecr.eu-west-1.amazonaws.com/indexer:${{ github.sha }}
# Github actions cache
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min

- name: "🔨 Build ERPC docker dependencies"
if: steps.changes.outputs.images == 'true'
Expand All @@ -105,8 +105,9 @@ jobs:
262732185023.dkr.ecr.eu-west-1.amazonaws.com/erpc:latest
262732185023.dkr.ecr.eu-west-1.amazonaws.com/erpc:${{ github.sha }}
# Github actions cache
no-cache: true
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min

- name: "🚀 SST Deploy"
run: |
Expand Down
2 changes: 1 addition & 1 deletion iac/Indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function IndexerStack({ app, stack }: StackContext) {
httpListener.addTargetGroups("ErpcTarget", {
targetGroups: [erpcTargetGroup],
priority: 10,
conditions: [ListenerCondition.pathPatterns(["/main-rpc/*"])],
conditions: [ListenerCondition.pathPatterns(["/rpc-main/*"])],
});

// Add the indexer service to the ALB on bind it to the port 42069
Expand Down
2 changes: 1 addition & 1 deletion packages/erpc/erpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metrics:
host: 0.0.0.0
port: 4001
projects:
- id: main-rpc
- id: rpc-main
networks:
# Arb sepolia
- architecture: evm
Expand Down

0 comments on commit a792a3a

Please sign in to comment.