7 Commits

Author SHA1 Message Date
f16ba2601f fix(ci): still trying to get gpg to work
All checks were successful
🚀 Lint & Test & Deploy / release (push) Successful in 3m54s
2026-02-13 02:43:02 +01:00
cc6b832f15 fix(ci): trying to get gpg to work
Some checks failed
🚀 Lint & Test & Deploy / release (push) Failing after 3m22s
2026-02-13 02:25:11 +01:00
dd5fd5bf17 fix(ci): better add updates to package.json
Some checks failed
🚀 Lint & Test & Deploy / release (push) Failing after 4m0s
2026-02-13 02:10:34 +01:00
38d0fffcf4 chore: update ci image
Some checks failed
🚀 Lint & Test & Deploy / release (push) Failing after 3m48s
2026-02-13 01:58:16 +01:00
bce06da456 ci: add gpg-agent to ci image
Some checks failed
Build & Push CI Image / build-and-push (push) Successful in 8m43s
🚀 Lint & Test & Deploy / release (push) Has been cancelled
2026-02-13 01:47:32 +01:00
af585d56ec feat: use new ci image with gpg
Some checks failed
🚀 Lint & Test & Deploy / release (push) Failing after 3m45s
2026-02-13 01:24:19 +01:00
0aa73a27c1 feat: install gpg in ci image
Some checks failed
Build & Push CI Image / build-and-push (push) Successful in 10m7s
🚀 Lint & Test & Deploy / release (push) Has been cancelled
2026-02-13 01:13:01 +01:00
4 changed files with 12 additions and 7 deletions

View File

@@ -75,18 +75,22 @@ pnpm exec dprint fmt CHANGELOG.md
# ------------------------------------------------------------------- # -------------------------------------------------------------------
# 5. Setup GPG signing # 5. Setup GPG signing
# ------------------------------------------------------------------- # -------------------------------------------------------------------
echo "$BOT_PGP_PRIVATE_KEY" | base64 -d | gpg --batch --import -- echo "$BOT_PGP_PRIVATE_KEY" | base64 -d | gpg --batch --import
GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG nodarium-bot@max-richter.dev 2>/dev/null | grep sec | head -n1 | sed 's/.*\///' | tr -d ' ') GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
export GPG_TTY=$(tty)
echo "allow-loopback-pinentry" >>~/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
git config user.name "nodarium-bot" git config user.name "nodarium-bot"
git config user.email "nodarium-bot@max-richter.dev" git config user.email "nodarium-bot@max-richter.dev"
git config user.signingkey "$GPG_KEY_ID" git config --global user.signingkey "$GPG_KEY_ID"
git config commit.gpgsign true git config --global commit.gpgsign true
# ------------------------------------------------------------------- # -------------------------------------------------------------------
# 6. Create release commit # 6. Create release commit
# ------------------------------------------------------------------- # -------------------------------------------------------------------
git add CHANGELOG.md $(find . -name package.json ! -path "*/node_modules/*") git add CHANGELOG.md $(git ls-files '**/package.json')
if git diff --cached --quiet; then if git diff --cached --quiet; then
echo "No changes to commit for release $TAG" echo "No changes to commit for release $TAG"

View File

@@ -15,7 +15,7 @@ env:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: git.max-richter.dev/max/nodarium-ci:fd7268d6208aede435e1685817ae6b271c68bd83 container: git.max-richter.dev/max/nodarium-ci:bce06da456e3c008851ac006033cfff256015a47
steps: steps:
- name: 📑 Checkout Code - name: 📑 Checkout Code

View File

@@ -6,6 +6,8 @@ ENV RUSTUP_HOME=/usr/local/rustup \
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ca-certificates=20230311+deb12u1 \ ca-certificates=20230311+deb12u1 \
gpg=2.2.40-1.1+deb12u2 \
gpg-agent=2.2.40-1.1+deb12u2 \
curl=7.88.1-10+deb12u14 \ curl=7.88.1-10+deb12u14 \
git=1:2.39.5-0+deb12u3 \ git=1:2.39.5-0+deb12u3 \
jq=1.6-2.1+deb12u1 \ jq=1.6-2.1+deb12u1 \

View File

@@ -17,7 +17,6 @@ export class ColorGenerator {
const newColor = this.generateNewColor(); const newColor = this.generateNewColor();
this.colors.set(id, newColor); this.colors.set(id, newColor);
console.log(id, newColor);
return this.colorToHsl(newColor); return this.colorToHsl(newColor);
} }