3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

15676 commits

Author SHA1 Message Date
Mario Rodas 27d7c671af
Merge pull request #118972 from r-ryantm/auto-update/cloud-nuke
cloud-nuke: 0.1.27 -> 0.1.28
2021-04-10 12:31:55 -05:00
Mario Rodas 763b66fef5
Merge pull request #119013 from r-ryantm/auto-update/go-toml
go-toml: 1.8.1 -> 1.9.0
2021-04-10 10:03:14 -05:00
Sandro 937e6da44e
Merge pull request #118984 from Tomahna/metals
metals: 0.10.0 -> 0.10.1
2021-04-10 16:32:15 +02:00
Sandro 15435a234c
Merge pull request #118980 from r-ryantm/auto-update/dbmate
dbmate: 1.11.0 -> 1.12.0
2021-04-10 16:31:28 +02:00
Dmitry Kalinkin c32ba28e67
github-runner: fix eval (#119011) 2021-04-10 07:14:10 -04:00
R. RyanTM 79ea4d0e0f go-toml: 1.8.1 -> 1.9.0 2021-04-10 11:09:57 +00:00
Vincent Haupert f4af2f267a
nixos/github-runner: init at v2.277.1 (#116775)
* github-runner: init at 2.277.1

* nixos/github-runner: initial version

* nixos/github-runner: add warning if tokenFile in Nix store

* github-runner: don't accept unexpected attrs

* github-runner: formatting nits

* github-runner: add pre and post hooks to checkPhase

* nixos/github-runner: update ExecStartPre= comment

* nixos/github-runner: adapt tokenFile option description

Also note that not only a change to the option value will trigger a
reconfiguration but also modifications to the file's content.

* nixos/github-runner: remove mkDefault for DynamicUser=

* nixos/github-runner: create a parent for systemd dirs

Adds a parent directory "github-runner/" to all of the systemd lifecycle
directories StateDirectory=, RuntimeDirectory= and LogDirectory=.

Doing this has two motivations:

1. Something like this would required if we want to support multiple
   runners configurations. Please note that this is already possible
   using NixOS containers.
2. Having an additional parent directory makes it easier to remap
   any of the directories. Without a parent, systemd is going to
   complain if, for example, the given StateDirectory= is a symlink.

* nixos/github-runner: use specifier to get abs runtime path

* nixos/github-runner: use hostname as default for option `name`

Until now, the runner registration did not set the `--name` argument if
the configuration option was `null`, the default for the option.
According to GitHub's documentation, this instructs the registration
script to use the machine's hostname.

This commit causes the registration to always pass the `--name` argument
to the runner configuration script. The option now defaults to
`networking.hostName` which should be always set on NixOS.

This change becomes necessary as the systemd service name includes the
name of the runner since fcfa809 and, hence, expects it to be set. Thus,
an unset `name` option leads to an error.

* nixos/github-runner: use types.str for `name` option

Forcing a `name` option to comply with a pattern which could also be
used as a hostname is probably not required by GitHub.

* nixos/github-runner: pass dir paths explicitly for ExecStartPre=

* nixos/github-runner: update variable and script naming

* nixos/github-runner: let systemd choose the user/group

User and group naming restrictions are a complex topic [1] that I don't
even want to touch. Let systemd figure out the username and group and
reference it in our scripts through the USER environment variable.

[1] https://systemd.io/USER_NAMES/

* Revert "nixos/github-runner: use types.str for `name` option"

The escaping applied to the subdirectory paths given to StateDirectory=,
RuntimeDirectory= and LogsDirectory= apparently doesn't use the same
strategy that is used to escape unit names (cf. systemd-escape(1)). This
makes it unreasonably hard to construct reliable paths which work for
StateDirectory=/RuntimeDirectory=/LogsDirectory= and ExecStartPre=.

Against this background, I decided to (re-)apply restrictions to the
name a user might give for the GitHub runner. The pattern for
`networking.hostName` seems like a reasonable choice, also as its value
is the default if the `name` option isn't set.

This reverts commit 193ac67ba3.

* nixos/github-runner: use types.path for `tokenFile` option

* nixos/github-runner: escape options used as shell arguments

* nixos/github-runner: wait for network-online.target

* github-runner: ignore additional online tests
2021-04-10 10:17:10 +00:00
Kevin Rauscher 92f5917c43
metals: 0.10.0 -> 0.10.1 2021-04-10 10:07:11 +02:00
R. RyanTM 3d3bad9ff3 dbmate: 1.11.0 -> 1.12.0 2021-04-10 07:49:58 +00:00
R. RyanTM e8a7bf4e2d cloud-nuke: 0.1.27 -> 0.1.28 2021-04-10 07:03:23 +00:00
R. RyanTM 85e62de17b
bazel-kazel: 0.2.1 -> 0.2.2 (#118959) 2021-04-09 22:52:24 -07:00
Ryan Mulligan dd7dc1b724
Merge pull request #118473 from r-ryantm/auto-update/async-profiler
async-profiler: 1.8.4 -> 1.8.5
2021-04-09 20:50:02 -07:00
Peter Simons cb29de02c4
Merge pull request #118350 from NixOS/haskell-updates
Update Haskell package set to Stackage Nightly 2021-04-02 (plus other fixes)
2021-04-09 20:50:19 +02:00
Frederik Rietdijk 0656d546fb
Merge pull request #118312 from NixOS/staging-next
Staging next
2021-04-09 18:29:47 +02:00
Maximilian Bosch 0b938eae3b
Merge pull request #117005 from tomberek/go-yq/test
yq-go: add simple test
2021-04-09 18:01:49 +02:00
Maximilian Bosch 45f94b613a
Merge pull request #117510 from r-ryantm/auto-update/py-spy
py-spy: 0.3.4 -> 0.3.5
2021-04-09 17:57:45 +02:00
(cdep)illabout 84902fa84a
spago: 0.19.0 -> 0.20.0 2021-04-09 23:47:09 +09:00
github-actions[bot] c99b6f5343
Merge master into staging-next 2021-04-09 00:16:01 +00:00
Sandro a5f6343808
Merge pull request #118702 from aanderse/conan
conan: 1.27.0 -> 1.35.0
2021-04-08 22:43:24 +02:00
github-actions[bot] 85b57e4446
Merge master into staging-next 2021-04-08 18:14:17 +00:00
Jörg Thalheim 97cdea3f94
Merge pull request #117170 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.8.9 -> 0.9.0
2021-04-08 15:23:10 +01:00
github-actions[bot] bf6abedefb
Merge master into staging-next 2021-04-08 12:06:16 +00:00
Sandro Jäckel 9d3e9fc017
rizin: remove not required enableParallelBuilding 2021-04-08 13:08:05 +02:00
Sandro Jäckel 107adc2701
rizin: remove not required enableParallelBuilding 2021-04-08 13:07:43 +02:00
Sandro Jäckel 61712e88ed
radare2: remove ? null and assert 2021-04-08 13:06:47 +02:00
Jörg Thalheim 034c49f514
Merge pull request #118041 from Mic92/cutter
cutter: 1.12.0 -> 2.0.0
2021-04-08 11:32:54 +01:00
Riey 6bf4e6b230
cargo-feature: init at 0.5.2 2021-04-08 18:32:24 +09:00
Sandro 339854db04
Merge pull request #118782 from eonpatapon/cue-0.3.0
cue: 0.2.2 -> 0.3.0
2021-04-08 09:53:34 +02:00
Lorenz Leutgeb 2bc413b970
gradle: Add 7-rc-2, leave latest pointing at 6.8 (#117462) 2021-04-08 09:24:12 +02:00
Jean-Philippe Braun e0213764e7 cue: 0.2.2 -> 0.3.0 2021-04-08 08:44:35 +02:00
github-actions[bot] 0ba1008684
Merge master into staging-next 2021-04-08 06:05:39 +00:00
Sandro 49cfaef0c3
Merge pull request #118596 from dlesl/update-rebar3
rebar3: 3.14.2 -> 3.14.4
2021-04-08 02:33:19 +02:00
github-actions[bot] 8d1d992273
Merge master into staging-next 2021-04-08 00:17:24 +00:00
Sandro df6ff00a37
Merge pull request #118747 from NeQuissimus/sbtextras
sbt-extras: 2021-03-29 → 2021-04-06
2021-04-07 23:24:55 +02:00
Sandro 5dabc86289
Merge pull request #118748 from NeQuissimus/jenkins
jenkins: 2.277.1 → 2.277.2
2021-04-07 23:24:41 +02:00
github-actions[bot] 6e4d572602
Merge master into staging-next 2021-04-07 18:14:53 +00:00
Tim Steinbach 5e504f87a8
jenkins: 2.277.1 → 2.277.2 2021-04-07 18:01:25 +00:00
Tim Steinbach 5452be4bc6
sbt-extras: 2021-03-29 → 2021-04-06 2021-04-07 18:00:26 +00:00
Sandro a73894acfb
Merge pull request #118726 from saschagrunert/ginkgo
ginkgo: 1.16.0 -> 1.16.1
2021-04-07 15:58:03 +02:00
Jan Tojnar e3c239fa55 gi-docgen: fix patch URL
Fixes: https://github.com/NixOS/nixpkgs/issues/118728
2021-04-07 15:33:15 +02:00
Sascha Grunert caf9668c8b
ginkgo: 1.16.0 -> 1.16.1
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-04-07 14:31:47 +02:00
github-actions[bot] 1d48804dab
Merge master into staging-next 2021-04-07 12:06:23 +00:00
Jonas Heinrich a0408312e8
krankerl: init at 0.13.0 (#118582) 2021-04-07 10:07:31 +02:00
Aaron Andersen 17c66529f6 conan: 1.27.0 -> 1.35.0 2021-04-06 22:40:32 -04:00
github-actions[bot] 5e509a83ed
Merge master into staging-next 2021-04-07 00:15:14 +00:00
Maxine Aubrey 2cf150ab8c
packer: 1.7.1 -> 1.7.2 2021-04-06 19:54:19 +02:00
Jan Tojnar c04a14edd6 Merge branch 'master' into staging-next 2021-04-06 16:01:14 +02:00
JesusMtnez 413e9561f8 sbt: 1.4.9 -> 1.5.0 2021-04-06 08:55:30 -04:00
Sandro a64eb90739
Merge pull request #118611 from risicle/ris-tracy-darwin-fix
tracy: force-disable LTO for darwin
2021-04-06 12:00:30 +02:00
Fabian Affolter 048c9600dc
Merge pull request #118215 from r-ryantm/auto-update/go-swagger
go-swagger: 0.26.1 -> 0.27.0
2021-04-06 11:31:53 +02:00