about summary refs log tree commit diff
path: root/.github/workflows
AgeCommit message (Collapse)AuthorFilesLines
2024-01-21workflows/check-by-name: Trigger on base branch changesSilvan Mosberger1-1/+9
Not doing this can cause CI to report a misleading result when it wasn't retriggered after a base branch change.
2024-01-18build(deps): bump cachix/cachix-action from 13 to 14 (#281122)dependabot[bot]3-3/+3
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/6a2e08b5ebf7a9f285ff57b1870a4262b06e0bee...18cf96c7c98e048e10a83abd92116114cd8504be) --- updated-dependencies: - dependency-name: cachix/cachix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18build(deps): bump cachix/install-nix-action from 24 to 25 (#281120)dependabot[bot]8-8/+8
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/7ac1ec25491415c381d9b62f0657c7a028df52a7...6004951b182f8860210c8d6f0d808ec5b1a33d28) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17check-by-name: Update contributor docsSilvan Mosberger1-2/+3
Now that the tooling is pinned instead of being fetched indirectly from the channel, the docs need some updating
2024-01-17check-by-name: Fix CISilvan Mosberger1-1/+1
Wasn't detected in https://github.com/NixOS/nixpkgs/pull/281407
2024-01-17check-by-name/run-local.sh: Make it usable for non-CI platformsSilvan Mosberger1-2/+6
Since https://github.com/NixOS/nixpkgs/pull/281374, the nixpkgs-check-by-name tooling is pinned to a specific /nix/store path to avoid having to evaluate Nixpkgs in CI. The same path is used for local runs, but that doesn't actually work when you're trying to run it on a platform different from CI. This commit makes it work by being clearer about platforms and making local runs check out the correct Nixpkgs to evaluate the tool from.
2024-01-16Merge pull request #281374 from tweag/by-name-check-pinSilvan Mosberger1-1/+1
workflows/check-by-name: Pin nixpkgs-check-by-name tool
2024-01-16workflows/check-by-name: Pin nixpkgs-check-by-name toolSilvan Mosberger1-1/+1
Before this, the tool for CI would update when nixos-unstable updated, which is kind of terrible because you don't know when it happens, and it might break master. In fact, the tooling _right now_ has a serious bug and shouldn't be used! This PR addresses this by _pinning_ the tooling in Nixpkgs itself. Updating the tooling now requires two PRs: - The first PR to update the tooling source - (wait for Hydra to build and publish it in nixos-unstable) - The second PR to update the pinned tooling In turn you know exactly when the changes are going to take effect. This change however has additional benefits: - It makes CI more reproducible, because it doesn't depend on the state of nixos-unstable anymore - Updates to the tooling can be tested with the workflow itself, because PRs that update the pinned tool will be tested on the updated version - CI gets a sizable speed boost, because there's no need to download and evaluate a channel anymore - It makes it more realistic to move the source of the tool into a separate repository - It removes the brittle branch-specific logic that was previously needed to ensure that release branches use their own version of the tooling.
2024-01-16ci: Fix nix-parse workflowJanne Heß1-1/+3
The nix_path definition was missing :/
2024-01-16ci: Only check nix files when any nix file changedJanne Heß1-0/+5
2024-01-10ci: Check if all nix files are parseableJanne Heß1-0/+35
2023-12-22Merge pull request #274591 from tweag/by-name-reproducibleSilvan Mosberger1-115/+16
`pkgs/by-name`: Enable gradual migration checks and add `run-local.sh`
2023-12-22maintainers/scripts/check-by-name.sh: Introduce symlink aliasSilvan Mosberger1-1/+1
2023-12-20Merge pull request #273773 from nbraud/scripts/doc/check-manpage-urlsSilvan Mosberger1-1/+1
maintainers: Add new script to check URLs in `doc/manpage-urls.json`
2023-12-20check-by-name: Pass --base in CI and local running scriptSilvan Mosberger1-1/+1
This enables the ratchet checks for pkgs/by-name, allowing gradual migrations!
2023-12-20workflows/check-by-name: Slim down and prepare for --baseSilvan Mosberger1-81/+11
Now that we have a script to run the check locally, there's no real need to output the information to reproduce anymore, which allows cleaning up the CI workflow. Furthermore, this prepares the CI workflow to be passed `--base`, as introduced recently.
2023-12-19workflows/check-by-name: Why the mergeability check needs to be inlineSilvan Mosberger1-0/+3
2023-12-19workflows/check-by-name: Move tool fetching into scriptSilvan Mosberger1-34/+2
This part of the CI can also be reproduced locally
2023-12-18workflows/manual-nixpkgs: Run the manual's testsnicoo1-1/+1
2023-12-15workflows/check-by-name: Cancel on merge conflictsSilvan Mosberger1-3/+11
2023-12-08.github/workflows/update-terraform-providers.yml: use opentofu instead of ↵zowoq1-1/+1
terraform terraform is unfree and can't be built on ofborg
2023-12-05build(deps): bump cachix/cachix-action from 12 to 13 (#272012)dependabot[bot]3-3/+3
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/6a9a34cdd93d0ae4b4b59fd678660efb08109f2f...6a2e08b5ebf7a9f285ff57b1870a4262b06e0bee) --- updated-dependencies: - dependency-name: cachix/cachix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05build(deps): bump cachix/install-nix-action from 23 to 24 (#272011)dependabot[bot]7-7/+7
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011...7ac1ec25491415c381d9b62f0657c7a028df52a7) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02workflows/periodic-merge: allow manual dispatchMartin Weinelt2-0/+2
Currently there is an eval fix on master and waiting five hours for it to propagate into staging-next and staging is annoyingly long.
2023-12-01Merge pull request #270496 from tweag/by-name-backoffSilvan Mosberger1-4/+21
workflows/check-by-name: Limited and exponential retries
2023-11-29ci: pin third party actionsVictor Engmark11-28/+27
For reproducibility. Command: ```shell for file in .github/workflows/*.y*ml; do npx pin-github-action --comment=' {ref}' "$file" done ``` Then had to manually replace all the versions with accurate specifiers (for example, "v4" → "v4.1.1" in case of `actions/checkout`).
2023-11-27workflows/check-by-name: Set 10 minute timeoutSilvan Mosberger1-0/+3
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
2023-11-27workflows/check-by-name: Limited and exponential retriesSilvan Mosberger1-4/+18
We've had a recent PR CI mass failure event, ultimately caused by the mergeability check GitHub API not returning a result. But due to the `pkgs/by-name` check workflow not backing off appropriately between retries, it pummeled the API, resulting in exceeding the API rate limit: https://github.com/NixOS/nixpkgs/actions/runs/7010089143/job/19069845070 This commit fixes that for the future by implementing a retry strategy limited to three retries, with exponential backoff
2023-11-22workflows/check-by-name: If channel no existent, fall back to nixos-unstableSilvan Mosberger1-3/+9
2023-11-2124.05 is Uakari 24.05-prefigsoda1-0/+4
2023-11-13build(deps): bump korthout/backport-action from 2.1.0 to 2.1.1dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v2.1.0...v2.1.1) --- updated-dependencies: - dependency-name: korthout/backport-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07build(deps): bump korthout/backport-action from 2.0.0 to 2.1.0dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: korthout/backport-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30build(deps): bump korthout/backport-action from 1.3.1 to 2.0.0dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 1.3.1 to 2.0.0. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v1.3.1...v2.0.0) --- updated-dependencies: - dependency-name: korthout/backport-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18workflows/check-by-name: Improved mergeability checkSilvan Mosberger1-6/+26
2023-10-17workflows/check-by-name: print failed command outputArtturin1-1/+3
2023-10-06Merge pull request #259074 from tweag/detect-merge-conflictsSilvan Mosberger1-3/+11
workflows/check-by-name: Better error for merge conflicts
2023-10-05workflows/check-by-name: Better error for merge conflictsSilvan Mosberger1-3/+11
2023-10-04workflows/check-by-name: Add a missing colonSilvan Mosberger1-1/+1
2023-10-02workflows/check-by-name: Better error when base branch also failsSilvan Mosberger1-1/+90
Previously, even if the check also failed on the base branch, it looked like the PR introduced the failure. We can easily have a better error message for such cases. Meanwhile this also paves the road for something like https://github.com/NixOS/nixpkgs/issues/256788
2023-09-11workflows/check-by-name: Make runnable without approvalSilvan Mosberger1-2/+7
Co-Authored-By: zowoq <59103226+zowoq@users.noreply.github.com>
2023-09-11build(deps): bump actions/checkout from 3 to 4dependabot[bot]10-10/+10
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11Merge pull request #253249 from ↵Martin Weinelt7-7/+7
NixOS/dependabot/github_actions/cachix/install-nix-action-23 build(deps): bump cachix/install-nix-action from 22 to 23
2023-09-06workflows/backport: Fix link and rewordSilvan Mosberger1-2/+2
2023-09-05build(deps): bump cachix/install-nix-action from 22 to 23dependabot[bot]7-7/+7
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23) --- 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>
2023-09-05Merge pull request #237439 from tweag/spp-1Silvan Mosberger1-0/+49
[RFC 140] Simple package paths, part 1b: Enabling the directory structure
2023-09-05pkgs/by-name: IntroduceSilvan Mosberger1-0/+49
This introduces the `pkgs/by-name` directory as proposed by RFC 140. Included are: - The implementation to add packages defined in that directory to the top-level package scope - Contributer documentation on how to add packages to it - A GitHub Actions workflow to check the structure of it on all PRs
2023-09-01.github/workflows/update-terraform-providers.yml: re-enable workflow_dispatchzowoq1-1/+1
2023-09-01.github/workflows/update-terraform-providers.yml: disablezowoq1-3/+3
2023-08-14Remove direct push detection GitHub actionSilvan Mosberger1-37/+0
We are trying out not allowing direct pushes anymore, so this is not necessary anymore, unless we later revert it again (unlikely): https://github.com/NixOS/nixpkgs/issues/249117
2023-07-04workflows/periodic-merge: drop 22.11 jobsMartin Weinelt1-4/+0