nix-community / buildbot-nix

A nixos module to make buildbot a proper Nix-CI [maintainer=@Mic92,@MagicRB]
MIT License
84 stars 23 forks source link

Fix JWT token renewal condition #188

Closed MagicRB closed 3 months ago

MagicRB commented 3 months ago

Fixes #184, tested by running the following script for 8 hours and creating 360 builds over two repos:

#!/usr/bin/env bash

set -x -e -o pipefail

for repo in *; do
  [ -d "$repo" ] && (
    cd "$repo"

    git config --local user.name 'test'
    git config --local user.email 'test@example.com'
    git commit --allow-empty --m 'test'
    GIT_SSH_COMMAND='ssh -F/dev/null -i .git/id_ed25519 -o IdentitiesOnly=yes' git push origin
  )
done
MagicRB commented 3 months ago

hold of on merging for a bit. works

Mic92 commented 3 months ago

works here as well. @mergify queue

Mic92 commented 3 months ago

@mergify queue

mergify[bot] commented 3 months ago

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at *aaab03e1da26422709861b2939541a1f7ac00845*