Commit graph

333 commits

Author SHA1 Message Date
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
magic_rb eeb21e9ddd
Streamline Legacy <-> App GitHub auth backend migrations
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:19:11 +02:00
Jörg Thalheim f8e87d508a
Merge pull request #174 from nix-community/ngi0
link to ngi0 instance
2024-06-12 14:29:13 +02:00
Jörg Thalheim 6a9394bed5 document permissions required for github app 2024-06-12 10:24:25 +02:00
Jörg Thalheim d782734b2a link to other organisations 2024-06-12 10:03:58 +02:00
Jörg Thalheim 94b541c336 link to ngi0 instance 2024-06-12 09:48:09 +02:00
Jörg Thalheim 9f04067a6a bust cache after adding installation_id 2024-06-12 07:58:34 +02:00
dependabot[bot] 2058d5e8ca build(deps): bump DeterminateSystems/update-flake-lock from 21 to 22
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 21 to 22.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v21...v22)

---
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-06-10 01:40:19 +00:00
github-actions[bot] 0d88c67761 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/52694a4be3f361cd7616e6641b070caed9c617d9?narHash=sha256-OVeQRahdkopKIeit2JKm80ylfE0Me/rpXvZLp%2BhqM3M%3D' (2024-06-05)
  → 'github:Nixos/nixpkgs/3f3a01219b4a1b6ee63039a3aa63948fbf37c0dd?narHash=sha256-kC0eyEsfpXbtQ2Ee5kgjmLFSVsLgnqpj10LjEi%2BfK%2Bg%3D' (2024-06-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
  → 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
2024-06-09 01:53:00 +00:00