|
|
|
@ -181,7 +181,8 @@ func TestGetRepoNames(t *testing.T) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// This function is the skeleton test code of failing tests for #6416 and bugs due to #5874.
|
|
|
|
|
// This function is the skeleton test code of failing tests for #6416 and #6871 and bugs due to #5874.
|
|
|
|
|
//
|
|
|
|
|
// This function is used by below tests that ensures success of build operation
|
|
|
|
|
// with optional fields, alias, condition, tags, and even with ranged version.
|
|
|
|
|
// Parent chart includes local-subchart 0.1.0 subchart from a fake repository, by default.
|
|
|
|
@ -283,3 +284,11 @@ func TestBuild_WithTags(t *testing.T) {
|
|
|
|
|
Tags: []string{"tag1", "tag2"},
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Failing test for #6871
|
|
|
|
|
func TestBuild_WithRepositoryAlias(t *testing.T) {
|
|
|
|
|
// Dependency repository is aliased in Chart.yaml
|
|
|
|
|
checkBuildWithOptionalFields(t, "with-repository-alias", chart.Dependency{
|
|
|
|
|
Repository: "@test",
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|