From 139a7f337495c2157934eec06d52361cd60f45cb Mon Sep 17 00:00:00 2001 From: Pyrox Date: Mon, 1 May 2023 14:52:38 -0400 Subject: [PATCH 1/2] fix: Commit CI not running because cargo is not installed --- .woodpecker/commit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker/commit.yml b/.woodpecker/commit.yml index 6bb1b2d81..827ebc81d 100644 --- a/.woodpecker/commit.yml +++ b/.woodpecker/commit.yml @@ -2,6 +2,9 @@ pipeline: testCommit: image: node:latest commands: + - apt-get update + - apt-get install -y cargo + - rm -rf /var/lib/apt/lists/* - cp .config/ci.yml .config/default.yml - corepack enable - corepack prepare pnpm@latest --activate From c5c1fb73cf75cfb3b706d15214863f04d663bd12 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Mon, 1 May 2023 15:09:21 -0400 Subject: [PATCH 2/2] fix: Switch to node alpine image --- .woodpecker/commit.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.woodpecker/commit.yml b/.woodpecker/commit.yml index 827ebc81d..f57fd9d1e 100644 --- a/.woodpecker/commit.yml +++ b/.woodpecker/commit.yml @@ -1,10 +1,8 @@ pipeline: testCommit: - image: node:latest + image: node:alpine commands: - - apt-get update - - apt-get install -y cargo - - rm -rf /var/lib/apt/lists/* + - apk add --no-cache cargo python3 make g++ - cp .config/ci.yml .config/default.yml - corepack enable - corepack prepare pnpm@latest --activate