diff --git a/bin/stampede-worker.js b/bin/stampede-worker.js index 0eaa51c..2c1defa 100755 --- a/bin/stampede-worker.js +++ b/bin/stampede-worker.js @@ -39,7 +39,7 @@ const conf = require("rc-house")("stampede", { environmentVariablePrefix: "STAMP_", shell: "/bin/bash", gitClone: "https", - gitCloneOptions: "", + gitCloneOptions: "--filter=tree:0", defaultGitCloneDepth: 15, gitMerge: false, stdoutLogFile: "stdout.log", diff --git a/lib/workingDirectory.js b/lib/workingDirectory.js index f800b88..c82f8ec 100644 --- a/lib/workingDirectory.js +++ b/lib/workingDirectory.js @@ -194,9 +194,6 @@ async function cloneRepo( "git clone -b " + branch + " --single-branch " + - " --depth " + - depth + - " " + cloneOptions + " " + cloneUrl + diff --git a/package.json b/package.json index 3c3066f..7b9750e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stampede-worker", - "version": "1.3.0", + "version": "1.3.1", "description": "A centralized job queue system", "main": "bin/stampede-worker.js", "scripts": {