Commit Graph

389 Commits

Author SHA1 Message Date
R. RyanTM
d0c34a1642 fly: 7.3.1 -> 7.3.2 2021-06-17 05:09:31 +00:00
Pamplemousse
6f6c649ec6 jenkins: Create the jenkins-cli command
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-06-14 20:16:20 -07:00
R. RyanTM
14a6aedeea jenkins: 2.277.4 -> 2.289.1 2021-06-03 05:26:14 +00:00
Robert Scott
ed4857612d
Merge pull request #124844 from r-ryantm/auto-update/fly
fly: 7.3.0 -> 7.3.1
2021-05-30 01:19:48 +01:00
R. RyanTM
a821e14e5e
buildkite-agent: 3.29.0 -> 3.30.0 (#124837) 2021-05-29 11:27:31 +02:00
R. RyanTM
91b22b4917 fly: 7.3.0 -> 7.3.1 2021-05-29 04:18:30 +00:00
R. RyanTM
52d8d95554 fly: 7.2.0 -> 7.3.0 2021-05-26 06:24:12 +00:00
Jonas Chevalier
7c6c48ab9c
gitlab-runner: fix wrong hash (#124033) 2021-05-22 17:23:37 +02:00
Pablo Ovelleiro Corral
52e1188437
Update vendorsha256 2021-05-22 13:21:23 +02:00
Pablo Ovelleiro Corral
a9f621f292
Update commit sha 2021-05-22 12:59:28 +02:00
Pablo Ovelleiro Corral
89fc4a5ea6
Update version number, invalidate shas 2021-05-22 12:52:59 +02:00
Max Wittig
fba98bad71
gitlab-runner: 13.11.0 -> 13.12.0 (#123871) 2021-05-21 17:38:07 +00:00
Léo Gaspard
08b00c20e0
Merge pull request #118442 from Ekleog/nixos-tests
Add nixos tests with names starting by A or B to all relevant packages
2021-05-09 00:37:26 +02:00
R. RyanTM
9cb8e1ea06 jenkins: 2.277.3 -> 2.277.4 2021-05-08 15:10:03 -07:00
Léo Gaspard
7c17768a48 buildkite-agent: add link to nixos test 2021-05-08 21:41:35 +02:00
Robert Hensing
7bd3c0c2df hercules-ci-agent: Add passthru test for NixOS module eval 2021-05-04 16:58:07 +02:00
Luke Granger-Brown
3e473120d9
Merge pull request #120153 from r-ryantm/auto-update/buildkite-agent
buildkite-agent: 3.28.1 -> 3.29.0
2021-05-01 18:23:18 +01:00
Vincent Haupert
6477046b53
github-runner: 2.277.1 -> 2.278.0 2021-04-22 21:46:37 +02:00
R. RyanTM
30f7281d99 buildkite-agent: 3.28.1 -> 3.29.0 2021-04-22 06:46:13 +00:00
Tim Steinbach
529ecceaa6 jenkins: 2.277.2 → 2.277.3 2021-04-21 22:38:53 +02:00
Max Wittig
9b9782834d
gitlab-runner: 13.10.0 -> 13.11.0 2021-04-21 11:04:21 +02:00
Dmitry Bogatov
9479e4f0a1 laminar: use more specific license (gpl3 -> gpl3Plus) 2021-04-20 00:00:00 +00:00
R. RyanTM
13ff90fa44 fly: 7.1.0 -> 7.2.0 2021-04-15 02:16:50 -04:00
Dmitry Kalinkin
c32ba28e67
github-runner: fix eval (#119011) 2021-04-10 07:14:10 -04: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
Sandro
5dabc86289
Merge pull request #118748 from NeQuissimus/jenkins
jenkins: 2.277.1 → 2.277.2
2021-04-07 23:24:41 +02:00
Tim Steinbach
5e504f87a8
jenkins: 2.277.1 → 2.277.2 2021-04-07 18:01:25 +00:00
Dmitry Bogatov
19b0f5623d laminar: use "pname" instead of "name" in mkDerivation 2021-04-04 00:00:00 +00:00
Simon Bruder
d04389aeb2
drone: add option to build oss edition
By default drone is distributed under an unfree license that only
permits non-commercial or evaluation use. To build the OSS edition, two
tags have to be passed as build flags. This commit adds an option to
build the OSS edition to the package and defines drone-oss as an alias
for this.
2021-03-30 17:16:22 +02:00
ivanbrennan
0be7adbc6c
fly: remove writeText
The writeText argument is unused. It was originally used to copy a bash
completion script into the derivation, but a different approach was
chosen, and I simply forgot to remove the writeText argument.

78013b4ecc
https://github.com/NixOS/nixpkgs/pull/64714#discussion_r303216977
2021-03-28 14:05:20 -04:00
R. RyanTM
5498ac7c50 buildkite-agent: 3.27.0 -> 3.28.1 2021-03-23 23:24:59 -07:00
Danielle
ded9ada2b1
drone-runner-docker: init at 1.6.3 (#117239)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-23 15:46:04 +01:00
Max Wittig
7fdf3c30a7
gitlab-runner: 13.9.0 -> 13.10.0 2021-03-22 10:27:27 +01:00
Sandro
19acaca157
Merge pull request #116131 from r-ryantm/auto-update/buildkite-cli
buildkite-cli: 1.1.0 -> 1.2.0
2021-03-22 01:25:13 +01:00
Robert Scott
996b14f610
Merge pull request #116614 from r-ryantm/auto-update/fly
fly: 7.0.0 -> 7.1.0
2021-03-19 23:13:22 +00:00
R. RyanTM
6fdb1772f3 fly: 7.0.0 -> 7.1.0 2021-03-17 11:55:47 +00:00
R. RyanTM
fddb829150 buildkite-cli: 1.1.0 -> 1.2.0 2021-03-13 02:43:35 +00:00
github-actions[bot]
b0a6c2b8a5
Merge master into staging-next 2021-03-13 00:38:26 +00:00
Peter Simons
795ef4f46f
Merge pull request #115256 from NixOS/haskell-updates
Update Haskell package set to Stackage Nightly 2021-03-06 (plus other fixes)
2021-03-12 20:53:42 +01:00
github-actions[bot]
903fc48674
Merge master into staging-next 2021-03-12 00:39:51 +00:00
Tim Steinbach
ddae5e706e
jenkins: 2.263.4 → 2.277.1 2021-03-11 14:14:45 +00:00
Robert Hensing
fdfbd17b70 hci: init at 0.1.0 2021-03-09 16:38:20 +01:00
Robert Hensing
c0a3fd18ca hercules-ci-agent: Fix and update build 2021-03-09 16:38:20 +01:00
github-actions[bot]
65cddb74d7
Merge staging-next into staging 2021-03-07 06:17:25 +00:00
Jörg Thalheim
f003d2c9ce
drone-runner-exec: init at unstable-2020-04-19 (#115003)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-07 04:35:30 +01:00
Jan Tojnar
6d1958ad2d
Merge branch 'staging-next' into staging 2021-03-04 22:16:45 +01:00
sternenseemann
6f2fbf5f0b treewide: add missing lib inputs
This fixes hopefully all remaining missing lib inputs, likely introduced
as a regression by our recent treewide switch from stdenv.lib to lib.
These instances are all I could find using nix-instantiate --parse using
the following command:

    find "$NIXPKGS" -name '*.nix' \
      -and ! -path "$NIXPKGS/pkgs/development/interpreters/python/cpython/docs/template.nix" \
      -and ! -path '$NIXPKGS/.git/**' \
      -print0 | xargs -0 nix-instantiate --parse >/dev/null
2021-03-03 13:40:45 +01:00
Robert Schütz
54757b35c1 Merge branch 'staging-next' into staging 2021-02-26 10:56:17 +01:00
Max Wittig
44863a15c8
gitlab-runner: 13.8.0 -> 13.9.0 2021-02-23 09:56:09 +01:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
R. RyanTM
802d394f3c fly: 6.7.5 -> 7.0.0 2021-02-18 08:08:43 +00:00
maralorn
57d929c279
Merge pull request #108334 from maralorn/laminar
laminar: 0.8 -> 1.0
2021-02-14 19:26:20 +01:00
Ryan Mulligan
d047751a35
Merge pull request #112790 from r-ryantm/auto-update/fly
fly: 6.7.4 -> 6.7.5
2021-02-12 19:39:23 -08:00
R. RyanTM
818a324b34 fly: 6.7.4 -> 6.7.5 2021-02-11 16:05:05 +00:00
Tim Steinbach
91667d4fe3
jenkins: 2.263.3 → 2.263.4 2021-02-11 09:13:44 -05:00
Malte Brandy
4e10c05d1f
laminar: 0.8 -> 1.0
Bumped version and updated javascript dependencies.
Had to modify the no-network patch as well because of the changed
javascript libs.

Upstream changed the handling CMAKE_INSTALL_PREFIX in
1bb545e3f9
so I decided to patch around that as well.

Removing systemd units and config file because they should be defined
declaratively
2021-02-11 11:29:56 +01:00
R. RyanTM
ad89ec0cb6
buildkite-agent: 3.26.0 -> 3.27.0 (#112474) 2021-02-09 11:49:52 +01:00
Tim Steinbach
40463bfd03
jenkins: 2.263.2 → 2.263.3 2021-01-29 11:57:00 -05:00
R. RyanTM
bda6c3bfd2 fly: 6.7.3 -> 6.7.4 2021-01-29 01:59:05 +00:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Max Wittig
4c7ffbccf0
gitlab-runner: 13.7.0 -> 13.8.0 (#110280) 2021-01-21 10:07:03 +00:00
R. RyanTM
feff6a6926 fly: 6.7.2 -> 6.7.3 2021-01-18 18:51:55 +00:00
Tim Steinbach
4a521fb5e9
jenkins: 2.263.1 → 2.263.2 2021-01-15 10:39:10 -05:00
Max Wittig
74971a10d5
gitlab-runner: 13.6.0 -> 13.7.0 (#107378) 2020-12-22 13:16:15 +01:00
zowoq
566bce3cdb buildkite-agent: remove goPackagePath 2020-12-17 16:38:13 +10:00
Jörg Thalheim
028f711404
drone: 1.9.0 -> 1.10.0 2020-12-12 07:36:17 +01:00
R. RyanTM
feed5210dd
jenkins: 2.249.3 -> 2.263.1 2020-12-06 02:04:07 +01:00
R. RyanTM
053c522b7c
buildkite-agent: 3.25.0 -> 3.26.0 (#105852) 2020-12-04 15:18:54 +01:00
R. RyanTM
1590c5302b fly: 6.7.0 -> 6.7.2 2020-12-01 18:58:35 +00:00
R. RyanTM
97904288cd drone-cli: 1.2.2 -> 1.2.4 2020-11-26 02:22:11 +00:00
Max Wittig
e83b3f6866
gitlab-runner: 13.5.0 -> 13.6.0 (#104498) 2020-11-21 19:32:45 +01:00
Tim Steinbach
37cd50fa35
jenkins: 2.249.2 → 2.249.3 2020-11-05 18:09:37 +00:00
Tim Steinbach
66d8c7d29a
jenkins: Inline update script, add test reference 2020-11-05 13:08:06 -05:00
Mario Rodas
8b579d8062
Merge pull request #102337 from r-ryantm/auto-update/fly
fly: 6.6.0 -> 6.7.0
2020-11-01 07:05:19 -05:00
R. RyanTM
fa45e8792d fly: 6.6.0 -> 6.7.0 2020-11-01 09:49:56 +00:00
Andrey Kuznetsov
0d41c9a9c6
buildkite-agent: 3.17.0 -> 3.25.0, use buildGoModule, add darwin to platforms (#101954) 2020-10-28 23:43:24 +01:00
Max Wittig
79b036b7db
gitlab-runner: 13.4.1 -> 13.5.0 (#101175) 2020-10-21 13:16:30 +02:00
Mario Rodas
16895196ed
Merge pull request #100934 from r-ryantm/auto-update/fly
fly: 6.5.1 -> 6.6.0
2020-10-18 08:15:24 -05:00
R. RyanTM
9871506209 fly: 6.5.1 -> 6.6.0 2020-10-18 07:27:27 +00:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Tim Steinbach
553ec1bf72
jenkins: 2.249.1 -> 2.249.2 2020-10-08 14:51:20 -04:00
Diego Louzán
dbbd13568e
gitlab-runner: 13.4.0 -> 13.4.1 (#99409) 2020-10-05 14:46:20 +02:00
Max Wittig
d4eed01376
gitlab-runner: 13.3.1 -> 13.4.0 (#98377) 2020-09-21 15:19:51 +02:00
Tim Steinbach
bc0dd710e5
jenkins: 2.235.5 -> 2.249.1 2020-09-10 10:36:18 -04:00
Max Wittig
61eb2b639b
gitlab-runner: 13.3.0 -> 13.3.1 (#97350) 2020-09-08 15:27:08 +02:00
R. RyanTM
96e6957440 fly: 6.5.0 -> 6.5.1 2020-09-04 14:24:55 +00:00
Lassulus
f88ab589ed
Merge pull request #85595 from KAction/laminar
laminar: init at 0.8
2020-08-27 21:19:44 +02:00
R. RyanTM
46d33689d5 fly: 6.4.1 -> 6.5.0 2020-08-25 03:35:14 +00:00
Max Wittig
54acf58040
gitlab-runner: 13.2.2 -> 13.3.0 (#95838) 2020-08-20 10:16:55 +00:00
Tim Steinbach
bae91fb6c9
jenkins: 2.235.3 -> 2.235.5 2020-08-18 08:02:31 -04:00
Timothy Stott
ba7c0893d4
treewide: remove obsolete attribute goPackagePath in buildGoModule derivations (#95092)
The buildGoModule infrastructure does not make use of goPackagePath it is a residue from buildGoPackage.
2020-08-11 21:04:55 +00:00
Mario Rodas
3bbdc0f2c4
Merge pull request #95054 from r-ryantm/auto-update/fly
fly: 6.4.0 -> 6.4.1
2020-08-10 07:07:02 -05:00
Christian Kampka
044f18a6f0
drone-cli: 1.2.1 -> 1.2.2 2020-08-10 10:32:33 +02:00
R. RyanTM
53c69e01d3 fly: 6.4.0 -> 6.4.1 2020-08-10 07:59:41 +00:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Max Wittig
585aa266d3
gitlab-runner: 13.2.0 -> 13.2.2 (#94818) 2020-08-07 09:24:58 +00:00
zowoq
3c5750d1cd buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
Tim Steinbach
ed0ad5f792
jenkins: 2.235.2 -> 2.235.3 2020-07-28 09:59:03 -04:00
Vladimír Čunát
2b7c0dcdaa
Merge branch 'staging-next'
Rebuild on Hydra seems OK-ish.
mongodb.nix needed some conflict resolution (scons versions);
all four versions seem to build fine.
2020-07-25 16:18:40 +02:00