Commit Graph

643594 Commits

Author SHA1 Message Date
Yaya
6f211d899d nixos/gitlab-runner: Add support runner authentication tokens
Support for *runner registration tokens* is deprecated since GitLab
16.0, has been disabled by default in GitLab 17.0 and will be removed in
GitLab 18.0, as outlined in the [GitLab documentation].

It is possible to [re-enable support for runner registration tokens]
until GitLab 18.0, to prevent the registration workflow from
breaking.

*Runner authentication tokens*, the replacement for registration tokens,
have been available since GitLab 16.0 and are expected to be defined in
the `CI_SERVER_TOKEN` environment variable, instead of the previous
`REGISTRATION_TOKEN` variable.

This commit adds a new option
`services.gitlab-runner.services.<name>.authenticationTokenConfigFile`.
Defining such option next to
`services.gitlab-runner.services.<name>.registrationConfigFile` brings
the following benefits:
- A warning message can be emitted to notify module users about the
  upcoming breaking change with GitLab 17.0, where *runner registration
  tokens* will be disabled by default, potentially disrupting
  operations.
- Some configuration options are no longer supported with *runner
  authentication tokens* since they will be defined when creating a new
  token in the GitLab UI instead. New warning messages can be emitted to
  notify users to remove the affected options from their configuration.
- Once support for *registration tokens* has been removed in GitLab 18,
  we can remove
  `services.gitlab-runner.services.<name>.registrationConfigFile` as
  well and make module users configure an *authentication token*
  instead.

This commit changes the option type of
`services.gitlab-runner.services.<name>.registrationConfigFile` to
`with lib.types; nullOr str` to allow configuring an authentication
token in
`services.gitlab-runner.services.<name>.authenticationTokenConfigFile`
instead.

A new assertion will make sure that
`services.gitlab-runner.services.<name>.registrationConfigFile` and
`services.gitlab-runner.services.<name>.authenticationTokenConfigFile`
are mutually exclusive. Setting both at the same time would not make
much sense in this case.

[GitLab documentation]: https://docs.gitlab.com/17.0/ee/ci/runners/new_creation_workflow.html#estimated-time-frame-for-planned-changes
[re-enable support for runner registration tokens]: https://docs.gitlab.com/17.0/ee/ci/runners/new_creation_workflow.html#prevent-your-runner-registration-workflow-from-breaking
2024-06-25 17:06:45 +02:00
Yaya
92a26526b9 nixos/gitlab-runner: Remove global with lib; 2024-06-25 17:06:45 +02:00
Julien Malka
9d1a59b2e2
Merge pull request #322386 from katexochen/jonringer/rm
treewide: remove jonringer as package maintainer and code owner
2024-06-25 17:04:27 +02:00
7c6f434c
191a3fd978
Merge pull request #321645 from Uthar/abcl-cffi-fix
abcl: fix visibility of CLASSPATH
2024-06-25 14:58:45 +00:00
Pol Dellaiera
6c030876aa
Merge pull request #322427 from GaetanLepage/typstyle
typstyle: 0.11.27 -> 0.11.28
2024-06-25 16:31:12 +02:00
Weijia Wang
e1c6966b69
Merge pull request #322335 from msanft/sev-snp-measure/0.0.11
python311Packages.sev-snp-measure: 0.0.9 -> 0.0.11
2024-06-25 16:27:17 +02:00
Weijia Wang
3f8391d04c
Merge pull request #321580 from gador/radicle-httpd
radicle-httpd: init at 0.11.0
2024-06-25 16:25:06 +02:00
Weijia Wang
dff7599cae
Merge pull request #321655 from r-ryantm/auto-update/zed
zed: 1.15.0 -> 1.16.0
2024-06-25 16:24:00 +02:00
Weijia Wang
89f949c377
Merge pull request #321670 from jchw-forks/update/ghidra
ghidra: reformat, 11.0.3 -> 11.1.1
2024-06-25 16:23:34 +02:00
Weijia Wang
31c9612ed5
Merge pull request #322053 from r-ryantm/auto-update/python311Packages.django-import-export
python311Packages.django-import-export: 4.0.8 -> 4.0.9
2024-06-25 16:22:31 +02:00
Weijia Wang
a38661ea6e
Merge pull request #322076 from r-ryantm/auto-update/ols
ols: 0-unstable-2024-06-13 -> 0-unstable-2024-06-18
2024-06-25 16:21:35 +02:00
Weijia Wang
fcd4d568d5
Merge pull request #322268 from uninsane/pr-py-imports-check
treewide: fix typos of `pythonImportsCheck`
2024-06-25 16:20:32 +02:00
Weijia Wang
df97293a6d
Merge pull request #321773 from r-ryantm/auto-update/knossosnet
knossosnet: 1.1.0 -> 1.2.0
2024-06-25 16:19:31 +02:00
Gaetan Lepage
aa601293e4 typstyle: 0.11.27 -> 0.11.28
Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.11.27...v0.11.28

Changelog: https://github.com/Enter-tainer/typstyle/blob/refs/tags/v0.11.28/CHANGELOG.md
2024-06-25 16:19:14 +02:00
Weijia Wang
7516674a92
Merge pull request #322134 from luftmensch-luftmensch/sfwbar_1.0_beta15
sfwbar: 1.0_beta14 -> 1.0_beta15
2024-06-25 16:19:11 +02:00
Weijia Wang
a39ecd10d7
Merge pull request #322307 from r-ryantm/auto-update/moon
moon: 1.25.6 -> 1.26.1
2024-06-25 16:17:30 +02:00
Weijia Wang
5347e827b8
Merge pull request #322346 from diogomdp/bun1.1.17
bun: 1.1.15 -> 1.1.17
2024-06-25 16:16:23 +02:00
Weijia Wang
3ee40fd613
Merge pull request #320100 from pyrox0/papers-46
papers: 45.0-unstable-2024-03-27 -> 46.2
2024-06-25 16:08:12 +02:00
Weijia Wang
b099e37826
Merge pull request #302269 from Tochiaha/thc-secure-delete
thc-secure-delete: init at 3.1.1
2024-06-25 16:07:18 +02:00
Weijia Wang
9a33350262
Merge pull request #322269 from r-ryantm/auto-update/healthchecks
healthchecks: 3.3 -> 3.4
2024-06-25 16:05:16 +02:00
Ulrik Strid
eb08c3e5e1
Merge pull request #322205 from vbgl/ocaml-eqaf-0.10
ocamlPackages.eqaf: 0.9 → 0.10
2024-06-25 16:04:49 +02:00
Weijia Wang
cf1c640dbe
Merge pull request #322231 from ahoneybun/update-ahoneybun
maintainers: update email
2024-06-25 16:03:56 +02:00
illfygli
ead3b767e1
maintainers: remove alva (#322371)
* remove myself from maintainer-list.nix

* remove myself from oils-for-unix package

* remove myself from oil package
2024-06-25 16:00:55 +02:00
Ulrik Strid
6842e01f13
Merge pull request #318126 from r-ryantm/auto-update/ocamlPackages.yojson
ocamlPackages.yojson: 2.2.0 -> 2.2.1
2024-06-25 15:59:30 +02:00
❄️
55a2319c99
Merge pull request #322394 from superherointj/elpa-mark-broken
elpa: mark broken
2024-06-25 10:54:54 -03:00
Matthias Beyer
21684f1e4d
Merge pull request #322407 from r-ryantm/auto-update/changie
changie: 1.19.0 -> 1.19.1
2024-06-25 15:34:36 +02:00
Bobby Rong
1373dd5ac8
Merge pull request #322186 from bobby285271/upd/cinnamon-xapps
Cinnamon updates 2024-06-24
2024-06-25 21:33:27 +08:00
Paul Meyer
7c2203aa29 azure-cli: add katexochen as maintainer
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-25 15:20:10 +02:00
Paul Meyer
0d67d7131f maintainers: remove jonringer
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-25 15:20:10 +02:00
R. Ryantm
636e398dae changie: 1.19.0 -> 1.19.1 2024-06-25 12:43:39 +00:00
Robert Schütz
6038b015e0
Merge pull request #322369 from r-ryantm/auto-update/python311Packages.pytibber
python311Packages.pytibber: 0.29.1 -> 0.29.3
2024-06-25 05:41:05 -07:00
nixpkgs-merge-bot[bot]
f3aa9a6663
Merge pull request #322383 from r-ryantm/auto-update/koboldcpp
koboldcpp: 1.67 -> 1.68
2024-06-25 12:32:08 +00:00
Masum Reza
5da2516724
Merge pull request #321668 from theobori/master
supermariowar: init at 2.0-unstable-2024-06-22
2024-06-25 17:57:34 +05:30
lassulus
859d745392
Merge pull request #322370 from a-kenji/init/status-im
status-im: init at 2.29.0
2024-06-25 14:23:20 +02:00
nixpkgs-merge-bot[bot]
9c513fc6fb
Merge pull request #322242 from r-ryantm/auto-update/bilibili
bilibili: 1.13.5-2 -> 1.13.6-2
2024-06-25 12:13:56 +00:00
0x4A6F
467d625ad1
Merge pull request #322180 from helsinki-systems/upd/rustdesk-flutter
rustdesk-flutter: 1.2.3-2 -> 1.2.6
2024-06-25 14:07:13 +02:00
superherointj
f832a634d4 elpa: mark broken
CC Maintainer @markuskowa
2024-06-25 09:04:50 -03:00
Someone
35551ddea8
Merge pull request #322070 from jeremyschlatter/cmakeCudaArchitecturesString
treewide: use cmakeCudaArchitecturesString
2024-06-25 11:59:19 +00:00
Guillaume Maudoux
882ce84db7
Merge pull request #319282 from malt3/dazel-init
dazel: init at 0.0.42
2024-06-25 13:25:05 +02:00
R. Ryantm
421a15f6e0 koboldcpp: 1.67 -> 1.68 2024-06-25 11:20:15 +00:00
Théo Bori
15582e9b5f
supermariowar: init at 2.0-unstable-2024-06-22 2024-06-25 13:09:18 +02:00
Paul Meyer
736555406c
Merge pull request #318718 from msanft/notary/0.6.1-unstable
notary: 0.6.1 -> 0.6.1-unstable-2024-04-16
2024-06-25 13:01:12 +02:00
éclairevoyant
1a65ed93c0
Merge pull request #322273 from NotAShelf/serpl
serpl: init at 0.1.26
2024-06-25 10:52:34 +00:00
Sandro
31ec7f5b47
Merge pull request #318841 from msanft/minio-exporter/remove 2024-06-25 12:51:03 +02:00
Marcus Ramberg
3ce4a6b83a
Merge pull request #322078 from pyrox0/koreader-2024.04
koreader: 2024.03.1 -> 2024.04
2024-06-25 12:29:16 +02:00
a-kenji
1f8187378d status-im: init at 2.29.0 2024-06-25 12:23:44 +02:00
R. Ryantm
75de14686a python311Packages.pytibber: 0.29.1 -> 0.29.3 2024-06-25 10:20:10 +00:00
Fabian Affolter
3bc55327d4
Merge pull request #322299 from r-ryantm/auto-update/python311Packages.casbin
python311Packages.casbin: 1.36.2 -> 1.36.3
2024-06-25 12:02:58 +02:00
Fabian Affolter
514ea5932f
Merge pull request #322241 from fabaff/pykakasi-bump
python311Packages.pykakasi: 2.2.1 -> 2.3.0
2024-06-25 11:56:58 +02:00
Maciej Krüger
02b4430d82
Merge pull request #319274 from Melkor333/oils-for-unix-0220
oils-for-unix: 0.21.0 -> 0.22.0
2024-06-25 11:44:44 +02:00