Commit graph

286 commits

Author SHA1 Message Date
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 6a9394bed5 document permissions required for github app 2024-06-12 10:24:25 +02:00
Jörg Thalheim 9f04067a6a bust cache after adding installation_id 2024-06-12 07:58:34 +02:00
Jörg Thalheim 30a49d4e88 fix typo in class name 2024-06-07 16:55:36 +02:00
Jörg Thalheim 4357604463 add assert message to get_repo_token 2024-06-07 16:50:03 +02:00
Jörg Thalheim 8664657737 Update README.md 2024-06-07 08:16:40 +00:00
magic_rb 4f6d08a33d Improve Nix code and docs
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 475fbf3952 Fix GitHub avatars for GitHub Apps
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 5dc05ea3fe Fix GitHub installation tokens not getting updated in the cache file
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb d586b9155b Fix examples and checks
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 067f3e0fc1 Add GitHub App support
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:39 +00:00
github-actions[bot] 46a33f9b2a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/a66aecff8795337adf83e16be9dd070fab95c341?narHash=sha256-gMvWwxNTVDcYWEpdW1YXiA3oKaMU4dFkUmUAEo3RNNU%3D' (2024-06-01)
  → 'github:Nixos/nixpkgs/52694a4be3f361cd7616e6641b070caed9c617d9?narHash=sha256-OVeQRahdkopKIeit2JKm80ylfE0Me/rpXvZLp%2BhqM3M%3D' (2024-06-05)
2024-06-06 01:45:31 +00:00
github-actions[bot] 663e2347fc flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9?narHash=sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78%3D' (2024-05-16)
  → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/c598bbfe379934e8f379bc474cc1914a7c34fbdc?narHash=sha256-vYbYTeWF4YMKYu6lHLQH%2BOagpubB9aZ1%2BV630h6qJr4%3D' (2024-05-29)
  → 'github:Nixos/nixpkgs/a66aecff8795337adf83e16be9dd070fab95c341?narHash=sha256-gMvWwxNTVDcYWEpdW1YXiA3oKaMU4dFkUmUAEo3RNNU%3D' (2024-06-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b?narHash=sha256-wJqHMg/K6X3JGAE9YLM0LsuKrKb4XiBeVaoeMNlReZg%3D' (2024-05-17)
  → 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
2024-06-02 01:49:43 +00:00
github-actions[bot] ad165ae64f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/7d7cf1590c05d799745bf456f2b95b798f48d3bb?narHash=sha256-wQmXzee/veETYJv93TkRYsAQkEdt2QYCJeJil5SrJfg%3D' (2024-05-27)
  → 'github:Nixos/nixpkgs/c598bbfe379934e8f379bc474cc1914a7c34fbdc?narHash=sha256-vYbYTeWF4YMKYu6lHLQH%2BOagpubB9aZ1%2BV630h6qJr4%3D' (2024-05-29)
2024-05-30 01:45:39 +00:00
Jörg Thalheim 7358c456cd
Merge pull request #160 from Mic92/fix-forks
gitea: fix status update for pull requests
2024-05-28 13:42:57 +02:00
Jörg Thalheim 20c19aca5b gitea: fix status update for pull requests 2024-05-27 15:25:56 +02:00
github-actions[bot] af4a31c72f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/bc5dc89513caa16788f6379962e50383cf3f70b0?narHash=sha256-X%2B99WjSwbxQ7X%2BCTyqZQZqeqGe8nbfAFz%2BtgK2r3O/g%3D' (2024-05-22)
  → 'github:Nixos/nixpkgs/6de51d98ec2ae46730f11845e221aab9d2470a8a?narHash=sha256-QO7cdjtDhx72KEw6m0NOtuE5FS4asaRExZ65uFR/q8g%3D' (2024-05-25)
2024-05-26 01:49:22 +00:00
github-actions[bot] c2e9f0a5b1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/04496f014fcf27fdcede464d5de8558e12b5710c?narHash=sha256-ewjE7eVBVmjh8faip3RW%2BI3WzQZ3iywQVyxZfjunfH0%3D' (2024-05-18)
  → 'github:Nixos/nixpkgs/bc5dc89513caa16788f6379962e50383cf3f70b0?narHash=sha256-X%2B99WjSwbxQ7X%2BCTyqZQZqeqGe8nbfAFz%2BtgK2r3O/g%3D' (2024-05-22)
2024-05-23 01:42:46 +00:00
dependabot[bot] 051f97f9f9 Bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 01:22:39 +00:00
github-actions[bot] 1530a714e9 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
  → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
  → 'github:Nixos/nixpkgs/04496f014fcf27fdcede464d5de8558e12b5710c' (2024-05-18)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
  → 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-05-19 01:47:58 +00:00
github-actions[bot] 85ae072719 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/0efaf283bd6e3b9ecf6e961d2305bf2e1a9f49c9' (2024-05-08)
  → 'github:Nixos/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
2024-05-16 22:49:06 +00:00
Jörg Thalheim 92a70872a8
Merge pull request #154 from Erethon/fix-example-typos
examples: Fix typos in Cachix example
2024-05-17 00:46:28 +02:00
Jörg Thalheim 045e66665d fix up formatting 2024-05-17 00:43:09 +02:00
Dionysis Grigoropoulos 67ba1db0ff
examples: Fix typos in Cachix example 2024-05-17 00:14:19 +03:00
Jörg Thalheim 077a60a5d0 README: add matrix channel 2024-05-11 10:29:09 +02:00
zowoq b35d937c0c master: on-failure -> always 2024-05-10 06:24:18 +00:00
Dionysis Grigoropoulos 21804ebc84 master: Add config to force https for the endpoint 2024-05-09 18:28:56 +00:00
github-actions[bot] 4de786e7da flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/9a22fecda3caa5fb5ae716fab63c5b8f0b7e1060' (2024-05-04)
  → 'github:Nixos/nixpkgs/0efaf283bd6e3b9ecf6e961d2305bf2e1a9f49c9' (2024-05-08)
2024-05-09 01:42:53 +00:00
Jörg Thalheim 2f389003e6 webhookBaseUrl: avoid redundant string interpolation 2024-05-08 20:00:55 +00:00
Andreas Fuchs 760aec7e07 Make the webhook endpoint URL configurable
In some CI setups, the URL to access the CI server differs from the
URL that the (external) webhook endpoint listens on. This change
introduces an option webhookBaseUrl that allows setting that URL
independently from the buildbot installation URL.
2024-05-08 20:00:55 +00:00
github-actions[bot] e9a3849417 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/4d34ce6412bc450b1d4208c953dc97c7fc764f1a' (2024-05-01)
  → 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/23cc2b1f071baee1853de7d93df6167bdfe57aa6' (2024-05-01)
  → 'github:Nixos/nixpkgs/9a22fecda3caa5fb5ae716fab63c5b8f0b7e1060' (2024-05-04)
2024-05-05 01:45:20 +00:00
Jörg Thalheim 8b1db0531a gitea: mention webhook 2024-05-04 21:57:28 +00:00
Jörg Thalheim 38c40bf54e README: also link to clan infra 2024-05-04 21:57:28 +00:00
Jörg Thalheim f544d7c715 README: expand gitea documentation 2024-05-04 21:57:28 +00:00
Jörg Thalheim 22885edd30
Merge pull request #141 from Mic92/faster-github
Gitea: don't drop pull request events
2024-05-03 20:41:55 +02:00
Jörg Thalheim 48d3f2dedc gitea: don't drop pull request events 2024-05-03 20:36:17 +02:00
Jörg Thalheim 1153510b04 Revert "don't block CI on github status updates"
This reverts commit 0bb55aaa8dfe98dc81c993d647ba814ebd9df260.
2024-05-03 20:36:17 +02:00
Jörg Thalheim f0f934bf11 don't block CI on github status updates 2024-05-03 11:51:34 +00:00
Jörg Thalheim a36953b52d gitea: fix testing pull requests 2024-05-03 10:20:55 +00:00
Jörg Thalheim 5e37a99685 github: only include properties that we actually use for performance 2024-05-02 04:29:28 +00:00
Jörg Thalheim c8f9d21153
Merge pull request #134 from Mic92/gitea-fixes
example: add gitea section
2024-05-02 05:52:29 +02:00
github-actions[bot] cffe353831 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
  → 'github:hercules-ci/flake-parts/4d34ce6412bc450b1d4208c953dc97c7fc764f1a' (2024-05-01)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/2bdd06e1d8e8b370a486251727f6ee6b059ff055' (2024-04-20)
  → 'github:Nixos/nixpkgs/23cc2b1f071baee1853de7d93df6167bdfe57aa6' (2024-05-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01)
  → 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
2024-05-02 01:40:48 +00:00
Jörg Thalheim 98dfa42ff3 example: add gitea section 2024-05-01 12:23:23 +02:00
Jörg Thalheim f767c7ee37
Merge pull request #133 from Mic92/gitea-fixes
Gitea fixes
2024-05-01 12:19:22 +02:00
Jörg Thalheim 4f78c6e7f7 gitea: expect full instance url 2024-05-01 12:00:45 +02:00
Jörg Thalheim 993b5e822a log worker name on startup 2024-04-30 18:03:29 +02:00
Jörg Thalheim 56899cd29c fix printing errors in project reload hooks 2024-04-30 18:03:29 +02:00
Jörg Thalheim cda191b7aa
Merge pull request #132 from Mic92/gitea-fixes
make it possible to disable github
2024-04-30 17:35:45 +02:00