Commit graph

341 commits

Author SHA1 Message Date
Jörg Thalheim 5163434da6 github/reporter: use properties to render github secret 2024-07-14 02:48:29 +00:00
Jörg Thalheim e8a88f8f15 use nixos options instead of nixpkgs overlay
The overlay will break if buildbot in unstable will change it's python
override in nixpkgs.
This will happen in the next release when sqlalchemy will be update.

Also I have at least three installations where I share nixpkgs instances
across multiple nixos configuration for performance reasons,
where I cannot use overlays defined in a NixOS module.
2024-07-14 02:48:29 +00:00
Jörg Thalheim 6efd536381 remove unused fixPatch 2024-07-14 02:48:29 +00:00
magic_rb c3346978d5 Support per installation tokens directly in GitHubStatusPush
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-14 02:48:29 +00:00
magic_rb 4b8c544db8 Vendor buildbot from the nixpkgs input (nixpkgs-unstable-small)
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-14 02:48:29 +00:00
github-actions[bot] fade46ad70 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/e01511309fe8b0432aa58a547365e51d5a3ecf85?narHash=sha256-UONPcQR2r0voopd6pcNFmUv7p4TJPeAXzwnqWmaPujw%3D' (2024-07-10)
  → 'github:Nixos/nixpkgs/19116ccf234e32acf133863d430506da68008550?narHash=sha256-1K32XHPcQBo8XdLDQNybfLQc9I8hqSZdjA/Ur3zW/io%3D' (2024-07-13)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/750dfb555b5abdab4d3266b3f9a05dec6d205c04?narHash=sha256-vAeYp%2BWH7i/DlBM5xNt9QeWiOiqzzf5abO8DYGkbUxg%3D' (2024-07-10)
  → 'github:numtide/treefmt-nix/5b002f8a53ed04c1a4177e7b00809d57bd2c696f?narHash=sha256-f52x9srIcqQm1Df3T%2BxYR5P6VfdnDFa2vkkcLhlTp6U%3D' (2024-07-12)
2024-07-14 01:56:43 +00:00
Jörg Thalheim 6c7b3b1a1c fix max-silent-time 2024-07-13 00:06:04 +00:00
zowoq 8678bdf73b drop pre 24.05 patch 2024-07-12 11:31:30 +00:00
Jörg Thalheim d6ae979a91
Merge pull request #218 from nix-community/retries
fix retries beeing zero
2024-07-12 07:55:48 +02:00
magic_rb 458b39fc3a Don't pass token into AvatarGitHub, it works perfectly without it
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-12 07:33:19 +02:00
Jörg Thalheim 3389164c13 fix retries beeing zero 2024-07-12 07:28:28 +02:00
Jörg Thalheim 7b35dfe0a7 add missing license file
the license was already in the pyproject.toml file but github likes to
have files instead
2024-07-11 18:50:09 +00:00
github-actions[bot] d4e6741dba flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/c030874db3ce4ff192aabf059988ed1be95d167a?narHash=sha256-3gf8pkyp/yjFdLJo7PSQ/Vmta9QBPWfKs5SFc/wh3h4%3D' (2024-07-08)
  → 'github:Nixos/nixpkgs/e01511309fe8b0432aa58a547365e51d5a3ecf85?narHash=sha256-UONPcQR2r0voopd6pcNFmUv7p4TJPeAXzwnqWmaPujw%3D' (2024-07-10)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e?narHash=sha256-/cKXod0oGLl%2BvH4bKBZnTV3qxrw4jgOLnyQ8KXey5J8%3D' (2024-07-08)
  → 'github:numtide/treefmt-nix/750dfb555b5abdab4d3266b3f9a05dec6d205c04?narHash=sha256-vAeYp%2BWH7i/DlBM5xNt9QeWiOiqzzf5abO8DYGkbUxg%3D' (2024-07-10)
2024-07-11 01:49:51 +00:00
Jörg Thalheim 8da399b788
Merge pull request #211 from nix-community/joerg-ci
change type of buildRetries to int that allows 0 values
2024-07-09 12:05:47 +02:00
Jörg Thalheim 6dab953092 change type of buildRetries to int that allows 0 values 2024-07-09 12:02:34 +02:00
Jörg Thalheim ffabc831bb
Merge pull request #208 from nix-community/update_flake_lock_action
flake.lock: Update
2024-07-09 11:47:29 +02:00
Jörg Thalheim 701a5ac400 add build retries nixos option 2024-07-09 09:29:57 +00:00
zowoq ff3821bd05 treefmt: update ruff settings 2024-07-09 09:54:08 +10:00
github-actions[bot] d5c6b4bfe8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/88f3dab52d2cc42945f70f4e84c4505dedaa377d?narHash=sha256-TLiEulaY4I%2BvwaJIHQXASVQva%2B2nepaziUomigYY9%2B0%3D' (2024-07-03)
  → 'github:Nixos/nixpkgs/c030874db3ce4ff192aabf059988ed1be95d167a?narHash=sha256-3gf8pkyp/yjFdLJo7PSQ/Vmta9QBPWfKs5SFc/wh3h4%3D' (2024-07-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c?narHash=sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII%2BXXHDHqek%3D' (2024-07-02)
  → 'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e?narHash=sha256-/cKXod0oGLl%2BvH4bKBZnTV3qxrw4jgOLnyQ8KXey5J8%3D' (2024-07-08)
2024-07-08 23:51:41 +00:00
zowoq d1d3746aa7 remove boot workaround
partial revert of b2ed2ccacc
2024-07-06 06:54:52 +00:00
Jörg Thalheim bb9c110355 add Org members permission as an requirement 2024-07-05 12:48:44 +00:00
Jörg Thalheim 04cec58b20
Merge pull request #203 from MagicRB/defer-hook-creation
Defer hook creation to project reload, both GitHub and Gitea
2024-07-05 14:21:29 +02:00
magic_rb 372d7dc70b Defer hook creation to project reload, both GitHub and Gitea
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-05 12:13:55 +00:00
Jörg Thalheim 837df7f642 fix normalizing builder names 2024-07-05 11:47:21 +00:00
Jörg Thalheim c94738d1a1 buildbot_nix: allows to restart a build 2024-07-05 11:47:21 +00:00
github-actions[bot] 2ca8d94427 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01)
  → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/eb1ba314aff505efb42bce45f47542a517fc3c03?narHash=sha256-mlxmTqtlBR2CwbucuDpZ49ROKRJGeojCHkkY1Nd6Kw8%3D' (2024-06-29)
  → 'github:Nixos/nixpkgs/88f3dab52d2cc42945f70f4e84c4505dedaa377d?narHash=sha256-TLiEulaY4I%2BvwaJIHQXASVQva%2B2nepaziUomigYY9%2B0%3D' (2024-07-03)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf?narHash=sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4%3D' (2024-06-24)
  → 'github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c?narHash=sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII%2BXXHDHqek%3D' (2024-07-02)
2024-07-04 01:48:17 +00:00
dependabot[bot] 0b56574a5c build(deps): bump DeterminateSystems/update-flake-lock from 22 to 23
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 22 to 23.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v22...v23)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 01:35:56 +00:00
github-actions[bot] 8d972a1a76 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/af796de7d1e6bbda6049a3732ff881b3ad518b6b?narHash=sha256-C3gUNdFDAWrP6glCCo%2BMXrrAoAyHi1Zdvlgs1Awqpv8%3D' (2024-06-26)
  → 'github:Nixos/nixpkgs/eb1ba314aff505efb42bce45f47542a517fc3c03?narHash=sha256-mlxmTqtlBR2CwbucuDpZ49ROKRJGeojCHkkY1Nd6Kw8%3D' (2024-06-29)
2024-06-30 01:54:23 +00:00
github-actions[bot] 6d152158d9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
  → 'github:Nixos/nixpkgs/af796de7d1e6bbda6049a3732ff881b3ad518b6b?narHash=sha256-C3gUNdFDAWrP6glCCo%2BMXrrAoAyHi1Zdvlgs1Awqpv8%3D' (2024-06-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16)
  → 'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf?narHash=sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4%3D' (2024-06-24)
2024-06-27 01:47:35 +00:00
Jörg Thalheim 6e34215574 fix formatting of README 2024-06-25 14:45:38 +00:00
Jörg Thalheim 83849e86f8 allow secretKeyFile to be a path 2024-06-25 16:42:24 +02:00
Jörg Thalheim b7237a3fb2 improve github app installation 2024-06-25 16:29:14 +02:00
Jörg Thalheim 5cf46bdb59 examples/master: make app authentication the default option 2024-06-25 16:17:59 +02:00
github-actions[bot] 619ed4e436 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/5b75ddc9a3e93465bc939dcbacb281879b64b9ed?narHash=sha256-wqQUoA6AW3gifOfEeBQVZ3ulropw0iXwmZRT0Ef2Kls%3D' (2024-06-19)
  → 'github:Nixos/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
2024-06-23 01:51:51 +00:00
github-actions[bot] 00d0992732 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/24b048f70e34020c93ed7c11491bc050ff6eb142?narHash=sha256-v4%2BaJpRDbJil691DXo5SydqowcB01B6E9%2BwFH/pNk6k%3D' (2024-06-15)
  → 'github:Nixos/nixpkgs/5b75ddc9a3e93465bc939dcbacb281879b64b9ed?narHash=sha256-wqQUoA6AW3gifOfEeBQVZ3ulropw0iXwmZRT0Ef2Kls%3D' (2024-06-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16)
2024-06-20 01:45:33 +00:00
github-actions[bot] c3b59dac3e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/5ec9d1b2bcd3309616f578d9637764df8e43ba31?narHash=sha256-jhJ98u/3M6u6G3HkxKI4IepZMzj2UBnd5ogwsbWxVic%3D' (2024-06-12)
  → 'github:Nixos/nixpkgs/24b048f70e34020c93ed7c11491bc050ff6eb142?narHash=sha256-v4%2BaJpRDbJil691DXo5SydqowcB01B6E9%2BwFH/pNk6k%3D' (2024-06-15)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1?narHash=sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k%3D' (2024-06-11)
  → 'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13)
2024-06-16 01:53:20 +00:00
Jörg Thalheim 92379a0ed4 github app: remove experimental status 2024-06-15 13:24:16 +00:00
Jörg Thalheim 8a41a3899a attic-watch-store: drop unused inputs 2024-06-15 09:16:59 +00:00
mannp 51653df88b Added simple Attic
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-06-15 09:03:54 +00:00
zowoq 1912618053 remove github.user 2024-06-14 14:35:31 +00:00
magic_rb aaab03e1da Fix JWT token renewal condition
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-14 14:28:26 +00:00
Jörg Thalheim 383d759cce README: mark github app experimental 2024-06-13 11:01:51 +00:00
github-actions[bot] e6eaaef1f2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/3f3a01219b4a1b6ee63039a3aa63948fbf37c0dd?narHash=sha256-kC0eyEsfpXbtQ2Ee5kgjmLFSVsLgnqpj10LjEi%2BfK%2Bg%3D' (2024-06-08)
  → 'github:Nixos/nixpkgs/5ec9d1b2bcd3309616f578d9637764df8e43ba31?narHash=sha256-jhJ98u/3M6u6G3HkxKI4IepZMzj2UBnd5ogwsbWxVic%3D' (2024-06-12)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
  → 'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1?narHash=sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k%3D' (2024-06-11)
2024-06-13 10:36:39 +00:00
Jörg Thalheim aeddb4809d
Merge pull request #179 from MagicRB/fix_installation_token_renewal
Fix GitHub `InstallationToken` renewal.
2024-06-13 10:54:59 +02:00
magic_rb 16d4308d29 Fix GitHub InstallationToken renewal.
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-13 10:54:09 +02:00
Jörg Thalheim c92a655055
Merge pull request #181 from MagicRB/freefmt_fix_github_app
Fix `treefmt` errors introduced in #156
2024-06-13 09:56:46 +02:00
magic_rb 300fd88394
Fix treefmt errors introduced in #156
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 18:59:23 +02:00
Richard Brežák 7e327b88b6
Merge pull request #156 from MagicRB/github_app
Add GitHub App support
2024-06-12 15:40:19 +00:00
magic_rb 0ac5dcb33d
Fix GitHub App backend failing if project-id-map disappears
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:36:43 +02:00
magic_rb 467b9164de
Fix app_project_id_map_name in GitHub App backend, not having a .json extension
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:36:08 +02:00