From 7ac8d61007db14a8483e4c74825a9badc258f9c3 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Wed, 4 Sep 2024 10:52:20 +0200 Subject: [PATCH] pipeline fix --- .circleci/config.yml | 78 +++---------------- .../templates/kusama-otv-backend.yaml | 2 +- .../templates/polkadot-otv-backend.yaml | 2 +- .../templates/kusama-otv-backend.yaml | 2 +- .../templates/polkadot-otv-backend.yaml | 2 +- 5 files changed, 14 insertions(+), 72 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8348c2a7b..810736417 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: checkDependencies: docker: - - image: node:slim + - image: node:22-slim steps: - checkout - run: @@ -12,7 +12,7 @@ jobs: checkCandidatesFile: docker: - - image: node:22 + - image: node:22-slim resource_class: large steps: - checkout @@ -24,7 +24,7 @@ jobs: checkCoreESLint: docker: - - image: node:22 + - image: node:22-slim resource_class: large steps: - checkout @@ -36,7 +36,7 @@ jobs: checkCommonESLint: docker: - - image: node:22 + - image: node:22-slim resource_class: large steps: - checkout @@ -49,7 +49,7 @@ jobs: CommonUnitTests: description: "Common Unit Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb resource_class: xlarge @@ -67,7 +67,7 @@ jobs: ChaindataIntegrationTests: description: "Chaindata Integration Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb resource_class: xlarge @@ -85,7 +85,7 @@ jobs: ApiHandlerIntegrationTests: description: "ApiHandler Integration Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb resource_class: xlarge @@ -103,7 +103,7 @@ jobs: NominatorIntegrationTests: description: "Nominator Integration Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb resource_class: xlarge @@ -121,7 +121,7 @@ jobs: ScorekeeperIntegrationTests: description: "Scorekeeper Integration Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb @@ -140,7 +140,7 @@ jobs: TelemetryIntegrationTests: description: "Telemetry Integration Tests" docker: - - image: node:22-bullseye + - image: node:22-slim - image: mongo:6.0.9 name: mongodb @@ -208,36 +208,6 @@ jobs: command: | /scripts/publish-image.sh web3f/otv-backend staging - publishGatewayImage: - docker: - - image: web3f/ci-commons:v3.2.3 - steps: - - checkout - - setup_remote_docker - - run: - command: | - /scripts/publish-image.sh web3f/otv-gateway - - publishTelemetryImage: - docker: - - image: web3f/ci-commons:v3.2.3 - steps: - - checkout - - setup_remote_docker - - run: - command: | - /scripts/publish-image.sh web3f/otv-telemetry - - publishWorkerImage: - docker: - - image: web3f/ci-commons:v3.2.3 - steps: - - checkout - - setup_remote_docker - - run: - command: | - /scripts/publish-image.sh web3f/otv-worker - publishChart: docker: - image: web3f/ci-commons:v3.2.3 @@ -319,7 +289,6 @@ workflows: requires: - helmLint - buildCoreImage - - publishCoreImage: context: dockerhub-bot filters: @@ -336,33 +305,6 @@ workflows: only: staging requires: - integrationTests - - publishGatewayImage: - context: dockerhub-bot - filters: - branches: - ignore: /.*/ - tags: - only: /v[0-9]+(\.[0-9]+)*/ - requires: - - integrationTests - - publishTelemetryImage: - context: dockerhub-bot - filters: - branches: - ignore: /.*/ - tags: - only: /v[0-9]+(\.[0-9]+)*/ - requires: - - integrationTests - - publishWorkerImage: - context: dockerhub-bot - filters: - branches: - ignore: /.*/ - tags: - only: /v[0-9]+(\.[0-9]+)*/ - requires: - - integrationTests - publishChart: context: github-bot filters: diff --git a/apps/1kv-backend-staging/templates/kusama-otv-backend.yaml b/apps/1kv-backend-staging/templates/kusama-otv-backend.yaml index 93ee3390c..b7ce52075 100644 --- a/apps/1kv-backend-staging/templates/kusama-otv-backend.yaml +++ b/apps/1kv-backend-staging/templates/kusama-otv-backend.yaml @@ -60,7 +60,7 @@ spec: "skipUnclaimed": true, "clientUpgrade": { "skip": false, - "forcedVersion": "1.15.1" + "forcedVersion": "1.15.2" }, "minSelfStake": 10000000000000, "commission": 150000000, diff --git a/apps/1kv-backend-staging/templates/polkadot-otv-backend.yaml b/apps/1kv-backend-staging/templates/polkadot-otv-backend.yaml index ede7e82a7..77558d5b3 100644 --- a/apps/1kv-backend-staging/templates/polkadot-otv-backend.yaml +++ b/apps/1kv-backend-staging/templates/polkadot-otv-backend.yaml @@ -59,7 +59,7 @@ spec: "skipUnclaimed": true, "clientUpgrade": { "skip": false, - "forcedVersion": "1.15.1" + "forcedVersion": "1.15.2" }, "minSelfStake": 50000000000000, "commission": 50000000, diff --git a/apps/1kv-backend/templates/kusama-otv-backend.yaml b/apps/1kv-backend/templates/kusama-otv-backend.yaml index 5d5635175..077111c00 100644 --- a/apps/1kv-backend/templates/kusama-otv-backend.yaml +++ b/apps/1kv-backend/templates/kusama-otv-backend.yaml @@ -58,7 +58,7 @@ spec: "skipUnclaimed": true, "clientUpgrade": { "skip": false, - "forcedVersion": "1.15.1" + "forcedVersion": "1.15.2" }, "minSelfStake": 10000000000000, "commission": 150000000, diff --git a/apps/1kv-backend/templates/polkadot-otv-backend.yaml b/apps/1kv-backend/templates/polkadot-otv-backend.yaml index 456efe9b6..a80011218 100644 --- a/apps/1kv-backend/templates/polkadot-otv-backend.yaml +++ b/apps/1kv-backend/templates/polkadot-otv-backend.yaml @@ -57,7 +57,7 @@ spec: "skipUnclaimed": true, "clientUpgrade": { "skip": false, - "forcedVersion": "1.15.1" + "forcedVersion": "1.15.2" }, "minSelfStake": 50000000000000, "commission": 50000000,