unit tests reflect clone pulls if-not-exists
This commit is contained in:
@@ -43,7 +43,7 @@ func TestClone(t *testing.T) {
|
||||
ID: "random",
|
||||
Image: "drone/git:latest",
|
||||
Name: "clone",
|
||||
Pull: engine.PullDefault,
|
||||
Pull: engine.PullIfNotExists,
|
||||
RunPolicy: engine.RunAlways,
|
||||
WorkingDir: "/drone/src",
|
||||
Volumes: []*engine.VolumeMount{
|
||||
|
||||
1
engine/compiler/testdata/graph.json
vendored
1
engine/compiler/testdata/graph.json
vendored
@@ -7,6 +7,7 @@
|
||||
"image": "drone/git:latest",
|
||||
"labels": {},
|
||||
"name": "clone",
|
||||
"pull": "if-not-exists",
|
||||
"run_policy": "always",
|
||||
"volumes": [
|
||||
{
|
||||
|
||||
1
engine/compiler/testdata/serial.json
vendored
1
engine/compiler/testdata/serial.json
vendored
@@ -8,6 +8,7 @@
|
||||
"labels": {},
|
||||
"name": "clone",
|
||||
"run_policy": "always",
|
||||
"pull": "if-not-exists",
|
||||
"volumes": [
|
||||
{
|
||||
"name": "_workspace",
|
||||
|
||||
Reference in New Issue
Block a user