forgejo-runner: 8.0.1 -> 9.0.1
changelog: https://code.forgejo.org/forgejo/runner/releases/tag/v9.0.0 changelog: https://code.forgejo.org/forgejo/runner/releases/tag/v9.0.1
This commit is contained in:
@@ -13,21 +13,45 @@ let
|
||||
disabledTests = [
|
||||
"Test_runCreateRunnerFile"
|
||||
"Test_ping"
|
||||
|
||||
# The following tests were introduced in 9.x with the inclusion of act
|
||||
# the pkgs/by-name/ac/act/package.nix just sets doCheck = false;
|
||||
|
||||
# Requires running docker install
|
||||
"TestDocker"
|
||||
"TestJobExecutor"
|
||||
"TestRunner"
|
||||
"Test_validateCmd"
|
||||
|
||||
# Docker network request for image
|
||||
"TestImageExistsLocally"
|
||||
|
||||
# Reaches out to different websites
|
||||
"TestFindGitRemoteURL"
|
||||
"TestGitFindRef"
|
||||
"TestGitCloneExecutor"
|
||||
"TestCloneIfRequired"
|
||||
"TestActionCache"
|
||||
"TestRunContext_GetGitHubContext"
|
||||
|
||||
# These tests rely on outbound IP address
|
||||
"TestHandler"
|
||||
"TestHandler_gcCache"
|
||||
];
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "forgejo-runner";
|
||||
version = "8.0.1";
|
||||
version = "9.0.1";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "code.forgejo.org";
|
||||
owner = "forgejo";
|
||||
repo = "runner";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6FTJYs1dqIAHPxMzRNOHHZQv4be9LaR1wxMJsW3t5kg=";
|
||||
hash = "sha256-3VurTHOM7FMRJzmQ5tBmW4E0mw7hePCnff0vhxPsKfE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-NykeBR2dnWQaqJuY73i9KLIqehLHniaMqf9oTqUDstQ=";
|
||||
vendorHash = "sha256-7R42Aa04wCba90xLTX2p6oNX58OpfDDKegqwDw3Ycbk=";
|
||||
|
||||
# See upstream Makefile
|
||||
# https://code.forgejo.org/forgejo/runner/src/branch/main/Makefile
|
||||
@@ -39,7 +63,7 @@ buildGoModule rec {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X code.forgejo.org/forgejo/runner/internal/pkg/ver.version=${src.rev}"
|
||||
"-X code.forgejo.org/forgejo/runner/v9/internal/pkg/ver.version=${src.rev}"
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
|
||||
Reference in New Issue
Block a user