mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
gitlab-ci-local: add version test
This commit is contained in:
parent
498e1283c5
commit
97f90494c8
@ -2,6 +2,8 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
, gitlab-ci-local
|
||||||
|
, testers
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
@ -23,7 +25,12 @@ buildNpmPackage rec {
|
|||||||
--replace-fail "npm run cleanup" "true"
|
--replace-fail "npm run cleanup" "true"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
package = gitlab-ci-local;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib;{
|
meta = with lib;{
|
||||||
description = "Run gitlab pipelines locally as shell executor or docker executor";
|
description = "Run gitlab pipelines locally as shell executor or docker executor";
|
||||||
|
Loading…
Reference in New Issue
Block a user