Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/native/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
// default image for clone process.
cloneImage = "target/vela-git:v0.4.0"
cloneImage = "target/vela-git:v0.5.1"
// default name for clone stage.
cloneStageName = "clone"
// default name for clone step.
Expand Down
4 changes: 2 additions & 2 deletions compiler/native/clone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestNative_CloneStage(t *testing.T) {
Name: "clone",
Steps: yaml.StepSlice{
&yaml.Step{
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Pull: "not_present",
},
Expand Down Expand Up @@ -142,7 +142,7 @@ func TestNative_CloneStep(t *testing.T) {
Version: "v1",
Steps: yaml.StepSlice{
&yaml.Step{
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Pull: "not_present",
},
Expand Down
24 changes: 12 additions & 12 deletions compiler/native/compile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestNative_Compile_StagesPipeline(t *testing.T) {
ID: "__0_clone_clone",
Directory: "/vela/src/foo//",
Environment: cloneEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -485,7 +485,7 @@ func TestNative_Compile_StepsPipeline(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: cloneEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -702,7 +702,7 @@ func TestNative_Compile_StagesPipelineTemplate(t *testing.T) {
ID: "__0_clone_clone",
Directory: "/vela/src/foo//",
Environment: setupEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -955,7 +955,7 @@ func TestNative_Compile_StepsPipelineTemplate(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: setupEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1147,7 +1147,7 @@ func TestNative_Compile_InvalidType(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: environment(nil, m, nil, nil),
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1298,7 +1298,7 @@ func TestNative_Compile_Clone(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: environment(nil, m, nil, nil),
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1337,7 +1337,7 @@ func TestNative_Compile_Clone(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: cloneEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "always",
Expand Down Expand Up @@ -1452,7 +1452,7 @@ func TestNative_Compile_Pipeline_Type(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: defaultEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1496,7 +1496,7 @@ func TestNative_Compile_Pipeline_Type(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: defaultGoEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1540,7 +1540,7 @@ func TestNative_Compile_Pipeline_Type(t *testing.T) {
ID: "step___0_clone",
Directory: "/vela/src/foo//",
Environment: defaultStarlarkEnv,
Image: "target/vela-git:v0.4.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "not_present",
Expand Down Expand Up @@ -1724,7 +1724,7 @@ func Test_client_modifyConfig(t *testing.T) {
},
&yaml.Step{
Environment: environment(nil, m, nil, nil),
Image: "target/vela-git:v0.3.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Pull: "not_present",
},
Expand Down Expand Up @@ -1757,7 +1757,7 @@ func Test_client_modifyConfig(t *testing.T) {
},
&yaml.Step{
Environment: environment(nil, m, nil, nil),
Image: "target/vela-git:v0.3.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Pull: "not_present",
},
Expand Down
2 changes: 1 addition & 1 deletion compiler/native/testdata/clone_replace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:

steps:
- name: clone
image: target/vela-git:v0.4.0
image: target/vela-git:v0.5.1
parameters:
depth: 5
pull: always
Expand Down
2 changes: 1 addition & 1 deletion queue/redis/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ var (
ID: "step_github_octocat_1_clone",
Directory: "/home/github/octocat",
Environment: map[string]string{"FOO": "bar"},
Image: "target/vela-git:v0.3.0",
Image: "target/vela-git:v0.5.1",
Name: "clone",
Number: 2,
Pull: "always",
Expand Down