From a792a3a9db64b4851c7984262a3d11607de59e63 Mon Sep 17 00:00:00 2001 From: KONFeature Date: Wed, 31 Jul 2024 11:22:48 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20Disable=20cache=20for=20th?= =?UTF-8?q?e=20erpc=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 +++-- iac/Indexer.ts | 2 +- packages/erpc/erpc.yaml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bba731e..e5c8730 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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' @@ -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: | diff --git a/iac/Indexer.ts b/iac/Indexer.ts index 4dc10fd..967d70b 100644 --- a/iac/Indexer.ts +++ b/iac/Indexer.ts @@ -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 diff --git a/packages/erpc/erpc.yaml b/packages/erpc/erpc.yaml index ab95a42..8f2de68 100644 --- a/packages/erpc/erpc.yaml +++ b/packages/erpc/erpc.yaml @@ -14,7 +14,7 @@ metrics: host: 0.0.0.0 port: 4001 projects: - - id: main-rpc + - id: rpc-main networks: # Arb sepolia - architecture: evm