From 4e5ecf5c75a57c0aeb0e91f732e35192c82b7978 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:22:05 +0200 Subject: [PATCH 01/20] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2326164..a510523 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 orbs: node: circleci/node@5.2.0 - go: circleci/go@1.7.1 + go: circleci/go@1.11.0 python: circleci/python@2.1.1 rust: circleci/rust@1.6.1 From 8fbe7bb0d984c460904d4aaed74345128a4119b2 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:27:37 +0200 Subject: [PATCH 02/20] Updated config.yml --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a510523..88ab54e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,9 @@ jobs: integration-tests: docker: - image: ubuntu:22.04 + executor: + name: go/default + tag: '1.21' shell: /bin/bash resource_class: large parallelism: 10 @@ -21,6 +24,9 @@ jobs: apt-get update apt-get install -y curl git sudo - go/install + - go/load-cache + - go/mod-download + - go/save-cache - node/install - rust/install - restore_cache: From c9a8ca7c111094c9b8f5e7db2d3c8f18d71c58ad Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:42:52 +0200 Subject: [PATCH 03/20] Updated config.yml --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 88ab54e..50936d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,11 @@ jobs: apt-get install -y curl git sudo - go/install - go/load-cache - - go/mod-download + - run: + name: Go mod download in boba directory + command: | + cd boba + go mod download - go/save-cache - node/install - rust/install From 6b4b3716a6ae543f41addd472e4ff68d6457606a Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:49:56 +0200 Subject: [PATCH 04/20] Updated config.yml --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50936d0..0e52576 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,13 +24,14 @@ jobs: apt-get update apt-get install -y curl git sudo - go/install - - go/load-cache + #- go/load-cache - run: name: Go mod download in boba directory command: | cd boba + go mod tidy -e go mod download - - go/save-cache + #- go/save-cache - node/install - rust/install - restore_cache: From 8bd23238871bcc7cc62091cc22b80a1fe93cd636 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:53:33 +0200 Subject: [PATCH 05/20] Updated config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e52576..401ae7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,9 +28,7 @@ jobs: - run: name: Go mod download in boba directory command: | - cd boba - go mod tidy -e - go mod download + cd boba && go mod tidy -e && go mod download #- go/save-cache - node/install - rust/install From 2686f12aa83350d2bb3bd79c980e643cb4c4f12a Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:56:27 +0200 Subject: [PATCH 06/20] Updated config.yml --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 401ae7f..70f06df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,17 @@ jobs: apt-get update apt-get install -y curl git sudo - go/install + - run: + name: Diagnostic - Check directory structure + command: | + pwd + ls -la + tree -L 2 + - run: + name: Diagnostic - Check boba directory + command: | + ls -la boba + cat boba/go.mod || echo "go.mod not found in boba directory" #- go/load-cache - run: name: Go mod download in boba directory From 3eace86d7574bef8d83b39578c68b672c918b69f Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 21:57:31 +0200 Subject: [PATCH 07/20] Updated config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 70f06df..0affa05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,7 +29,6 @@ jobs: command: | pwd ls -la - tree -L 2 - run: name: Diagnostic - Check boba directory command: | From 88d148be74c1eed8ea8ae8d9889bf92453df3664 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:01:41 +0200 Subject: [PATCH 08/20] Updated config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0affa05..ecb148c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,9 @@ jobs: apt-get update apt-get install -y curl git sudo - go/install + - run: + name: Checkout submodules + command: git submodule update --init --recursive - run: name: Diagnostic - Check directory structure command: | @@ -46,9 +49,6 @@ jobs: name: Restore pnpm Package Cache keys: - pnpm-packages-{{ checksum "pnpm-lock.yaml" }} - - run: - name: Checkout submodules - command: git submodule update --init --recursive - run: name: Install Foundry command: | From 9db51dd80ba8b3f67c09c15718df16fba2565e55 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:04:53 +0200 Subject: [PATCH 09/20] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ecb148c..fc7bb3e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,7 +41,7 @@ jobs: - run: name: Go mod download in boba directory command: | - cd boba && go mod tidy -e && go mod download + go version && cd boba && go mod tidy -e && go mod download #- go/save-cache - node/install - rust/install From a4796230e6b5b779485aac1d3a986ba753f6259a Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:08:19 +0200 Subject: [PATCH 10/20] Updated config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc7bb3e..b768d7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,8 @@ jobs: command: | apt-get update apt-get install -y curl git sudo - - go/install + - go/install: + version: 1.22.5 - run: name: Checkout submodules command: git submodule update --init --recursive From 9a4264954b4fcf7c1c7a5857c0dbb84fa028187c Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:14:55 +0200 Subject: [PATCH 11/20] Updated config.yml --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b768d7f..d6b480d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,9 +22,17 @@ jobs: name: Install essential tools command: | apt-get update - apt-get install -y curl git sudo + apt-get install -y curl git sudo software-properties-common + add-apt-repository ppa:deadsnakes/ppa + apt-get update + apt-get install -y python3.8 python3-pip - go/install: version: 1.22.5 + - run: + name: Verify Python installation + command: | + python3 --version + pip3 --version - run: name: Checkout submodules command: git submodule update --init --recursive From c3dc92936e52a9ecebc5189e64f98ede63eb0b6d Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:18:40 +0200 Subject: [PATCH 12/20] Updated config.yml --- .circleci/config.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6b480d..785dd0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,10 +22,7 @@ jobs: name: Install essential tools command: | apt-get update - apt-get install -y curl git sudo software-properties-common - add-apt-repository ppa:deadsnakes/ppa - apt-get update - apt-get install -y python3.8 python3-pip + apt-get install -y curl git sudo software-properties-common python3.8 python3-pip - go/install: version: 1.22.5 - run: From 83f242693ff1bfdc2cb8fce81bfee4ec5fc40143 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:19:45 +0200 Subject: [PATCH 13/20] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 785dd0c..ef4d7bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: name: Install essential tools command: | apt-get update - apt-get install -y curl git sudo software-properties-common python3.8 python3-pip + apt-get install -y curl git sudo software-properties-common python3 python3-pip - go/install: version: 1.22.5 - run: From 700fb2dfaaad398c079c7ed88735999ed27a48ad Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:25:02 +0200 Subject: [PATCH 14/20] Updated config.yml --- .circleci/config.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ef4d7bb..dbf9c4c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,24 +5,22 @@ orbs: go: circleci/go@1.11.0 python: circleci/python@2.1.1 rust: circleci/rust@1.6.1 + docker: circleci/docker@2.2.0 jobs: integration-tests: - docker: - - image: ubuntu:22.04 - executor: - name: go/default - tag: '1.21' - shell: /bin/bash + machine: + image: ubuntu-2204:current resource_class: large parallelism: 10 steps: - checkout + - docker/install-docker - run: name: Install essential tools command: | - apt-get update - apt-get install -y curl git sudo software-properties-common python3 python3-pip + sudo apt-get update + sudo apt-get install -y curl git software-properties-common python3 python3-pip - go/install: version: 1.22.5 - run: @@ -43,12 +41,10 @@ jobs: command: | ls -la boba cat boba/go.mod || echo "go.mod not found in boba directory" - #- go/load-cache - run: name: Go mod download in boba directory command: | go version && cd boba && go mod tidy -e && go mod download - #- go/save-cache - node/install - rust/install - restore_cache: @@ -59,13 +55,13 @@ jobs: name: Install Foundry command: | curl -L https://foundry.paradigm.xyz | bash - export PATH="$PATH:/root/.foundry/bin" + export PATH="$PATH:$HOME/.foundry/bin" foundryup - run: name: Install pnpm command: | - corepack enable - corepack prepare pnpm@latest-9 --activate + sudo corepack enable + sudo corepack prepare pnpm@latest-9 --activate pnpm config set store-dir .pnpm-store - save_cache: name: Save pnpm Package Cache From 246e30d1c08331dae12d779561f9b0c2db664359 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:27:58 +0200 Subject: [PATCH 15/20] Updated config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index dbf9c4c..d5193a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,6 +60,7 @@ jobs: - run: name: Install pnpm command: | + sudo npm install -g corepack sudo corepack enable sudo corepack prepare pnpm@latest-9 --activate pnpm config set store-dir .pnpm-store From 8d790176e98b55d580ba03c6cace19d0950714eb Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:30:06 +0200 Subject: [PATCH 16/20] Updated config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5193a5..8ad30f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,6 +60,8 @@ jobs: - run: name: Install pnpm command: | + curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - + sudo apt-get install -y nodejs sudo npm install -g corepack sudo corepack enable sudo corepack prepare pnpm@latest-9 --activate From 9588fea6076adabd3dabc1feda9dd20c1325ba5b Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:36:59 +0200 Subject: [PATCH 17/20] Updated config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ad30f1..8732820 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,11 +60,11 @@ jobs: - run: name: Install pnpm command: | - curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - + curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs - sudo npm install -g corepack sudo corepack enable - sudo corepack prepare pnpm@latest-9 --activate + corepack prepare pnpm@latest --activate + pnpm --version pnpm config set store-dir .pnpm-store - save_cache: name: Save pnpm Package Cache From e416dbb28cb3e89468062431ddd0f59880066056 Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:43:41 +0200 Subject: [PATCH 18/20] Updated config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8732820..1c7c7a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,12 +60,13 @@ jobs: - run: name: Install pnpm command: | - curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - + curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs sudo corepack enable corepack prepare pnpm@latest --activate pnpm --version pnpm config set store-dir .pnpm-store + sudo corepack disable - save_cache: name: Save pnpm Package Cache key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }} From 1f2416ec0a6b2b7b48392081f7b9f9203fbab36a Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:47:07 +0200 Subject: [PATCH 19/20] Updated config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c7c7a0..73b9565 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,9 +64,10 @@ jobs: sudo apt-get install -y nodejs sudo corepack enable corepack prepare pnpm@latest --activate + sudo corepack enable pnpm pnpm --version pnpm config set store-dir .pnpm-store - sudo corepack disable + - save_cache: name: Save pnpm Package Cache key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }} From 218fe6eb7d4c66d17851ce37419c812fcbd72ece Mon Sep 17 00:00:00 2001 From: "Riedl Kevin, Bsc." Date: Sun, 18 Aug 2024 22:55:46 +0200 Subject: [PATCH 20/20] Updated config.yml --- .circleci/config.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 73b9565..d3122bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,13 +60,16 @@ jobs: - run: name: Install pnpm command: | - curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - - sudo apt-get install -y nodejs - sudo corepack enable - corepack prepare pnpm@latest --activate - sudo corepack enable pnpm - pnpm --version - pnpm config set store-dir .pnpm-store + curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - + sudo apt-get install -y nodejs + sudo corepack enable + corepack prepare yarn@stable pnpm@latest npm@latest --activate + sudo corepack enable yarn pnpm npm + echo "Node version: $(node --version)" + echo "NPM version: $(npm --version)" + echo "Yarn version: $(yarn --version)" + echo "PNPM version: $(pnpm --version)" + pnpm config set store-dir .pnpm-store - save_cache: name: Save pnpm Package Cache