diff --git a/config/config/crds.yml b/config/config/crds.yml index 62ee23a10..09d86c056 100644 --- a/config/config/crds.yml +++ b/config/config/crds.yml @@ -209,6 +209,10 @@ spec: git: description: Uses git to clone repository properties: + depth: + description: depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional) + format: int64 + type: integer forceHTTPBasicAuth: description: Force the usage of HTTP Basic Auth when Basic Auth is provided (optional) type: boolean @@ -828,6 +832,10 @@ spec: git: description: Uses git to clone repository properties: + depth: + description: depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional) + format: int64 + type: integer forceHTTPBasicAuth: description: Force the usage of HTTP Basic Auth when Basic Auth is provided (optional) type: boolean @@ -1653,6 +1661,10 @@ spec: git: description: Uses git to clone repository containing package list properties: + depth: + description: depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional) + format: int64 + type: integer forceHTTPBasicAuth: description: Force the usage of HTTP Basic Auth when Basic Auth is provided (optional) type: boolean diff --git a/pkg/apis/kappctrl/v1alpha1/generated.pb.go b/pkg/apis/kappctrl/v1alpha1/generated.pb.go index b08532ad0..e01d0e3c5 100644 --- a/pkg/apis/kappctrl/v1alpha1/generated.pb.go +++ b/pkg/apis/kappctrl/v1alpha1/generated.pb.go @@ -1114,165 +1114,167 @@ func init() { } var fileDescriptor_577b51e9dffdab9a = []byte{ - // 2523 bytes of a gzipped FileDescriptorProto + // 2545 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0x4d, 0x8c, 0x1b, 0x49, - 0xf5, 0x4f, 0x8f, 0x3d, 0x1f, 0x7e, 0x33, 0x93, 0x4c, 0x2a, 0x99, 0xff, 0xfa, 0x1f, 0xd8, 0x71, - 0xd4, 0x2b, 0xad, 0x12, 0xc1, 0xda, 0xca, 0x28, 0x09, 0x11, 0x48, 0x61, 0xdd, 0xf3, 0x95, 0xc9, - 0x64, 0x26, 0xa6, 0x3c, 0x09, 0x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7e, 0xf8, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x4b, 0xe9, 0xe0, 0xb6, 0x28, 0x00, + 0x00, } func (m *AppCluster) Marshal() (dAtA []byte, err error) { @@ -1637,6 +1639,11 @@ func (m *AppFetchGit) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.Depth != nil { + i = encodeVarintGenerated(dAtA, i, uint64(*m.Depth)) + i-- + dAtA[i] = 0x40 + } i-- if m.ForceHTTPBasicAuth { dAtA[i] = 1 @@ -3306,6 +3313,9 @@ func (m *AppFetchGit) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } n += 2 + if m.Depth != nil { + n += 1 + sovGenerated(uint64(*m.Depth)) + } return n } @@ -3960,6 +3970,7 @@ func (this *AppFetchGit) String() string { `LFSSkipSmudge:` + fmt.Sprintf("%v", this.LFSSkipSmudge) + `,`, `RefSelection:` + strings.Replace(fmt.Sprintf("%v", this.RefSelection), "VersionSelection", "v1alpha1.VersionSelection", 1) + `,`, `ForceHTTPBasicAuth:` + fmt.Sprintf("%v", this.ForceHTTPBasicAuth) + `,`, + `Depth:` + valueToStringGenerated(this.Depth) + `,`, `}`, }, "") return s @@ -5607,6 +5618,26 @@ func (m *AppFetchGit) Unmarshal(dAtA []byte) error { } } m.ForceHTTPBasicAuth = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Depth", wireType) + } + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Depth = &v default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) diff --git a/pkg/apis/kappctrl/v1alpha1/generated.proto b/pkg/apis/kappctrl/v1alpha1/generated.proto index 82171cfc2..299d69f76 100644 --- a/pkg/apis/kappctrl/v1alpha1/generated.proto +++ b/pkg/apis/kappctrl/v1alpha1/generated.proto @@ -127,6 +127,10 @@ message AppFetchGit { // Force the usage of HTTP Basic Auth when Basic Auth is provided (optional) // +optional optional bool forceHTTPBasicAuth = 7; + + // depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional) + // +optional + optional int64 depth = 8; } // +k8s:openapi-gen=true diff --git a/pkg/apis/kappctrl/v1alpha1/types_fetch.go b/pkg/apis/kappctrl/v1alpha1/types_fetch.go index f3a221a73..85b2bc489 100644 --- a/pkg/apis/kappctrl/v1alpha1/types_fetch.go +++ b/pkg/apis/kappctrl/v1alpha1/types_fetch.go @@ -109,6 +109,9 @@ type AppFetchGit struct { // Force the usage of HTTP Basic Auth when Basic Auth is provided (optional) // +optional ForceHTTPBasicAuth bool `json:"forceHTTPBasicAuth,omitempty" protobuf:"varint,7,opt,name=forceHTTPBasicAuth"` + // depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional) + // +optional + Depth *int64 `json:"depth,omitempty" protobuf:"bytes,8,opt,name=depth"` } // +k8s:openapi-gen=true diff --git a/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go index 478450469..e578693e1 100644 --- a/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go @@ -234,6 +234,11 @@ func (in *AppFetchGit) DeepCopyInto(out *AppFetchGit) { *out = new(AppFetchLocalRef) **out = **in } + if in.Depth != nil { + in, out := &in.Depth, &out.Depth + *out = new(int64) + **out = **in + } return } diff --git a/pkg/apiserver/openapi/zz_generated.openapi.go b/pkg/apiserver/openapi/zz_generated.openapi.go index 806942ed8..e44891e96 100644 --- a/pkg/apiserver/openapi/zz_generated.openapi.go +++ b/pkg/apiserver/openapi/zz_generated.openapi.go @@ -636,6 +636,13 @@ func schema_pkg_apis_kappctrl_v1alpha1_AppFetchGit(ref common.ReferenceCallback) Format: "", }, }, + "depth": { + SchemaProps: spec.SchemaProps{ + Description: "depth of commits to fetch; 1 (default) means only latest commit, 0 means everything (optional)", + Type: []string{"integer"}, + Format: "int64", + }, + }, }, }, }, diff --git a/pkg/fetch/vendir.go b/pkg/fetch/vendir.go index dd5d54f97..4420ed6db 100644 --- a/pkg/fetch/vendir.go +++ b/pkg/fetch/vendir.go @@ -160,6 +160,13 @@ func (v *Vendir) httpConf(http v1alpha1.AppFetchHTTP) vendirconf.DirectoryConten } func (v *Vendir) gitConf(git v1alpha1.AppFetchGit) vendirconf.DirectoryContents { + + // By default, we only fetch the latest commit. + depth := 1 + if git.Depth != nil { + depth = int(*(git.Depth)) + } + return vendirconf.DirectoryContents{ Path: vendirEntireDirPath, NewRootPath: git.SubPath, @@ -171,6 +178,7 @@ func (v *Vendir) gitConf(git v1alpha1.AppFetchGit) vendirconf.DirectoryContents LFSSkipSmudge: git.LFSSkipSmudge, DangerousSkipTLSVerify: v.shouldSkipTLSVerify(git.URL, GitURL), ForceHTTPBasicAuth: git.ForceHTTPBasicAuth, + Depth: depth, }, } } diff --git a/pkg/fetch/vendir_test.go b/pkg/fetch/vendir_test.go index 13fb1bf15..686d36d70 100644 --- a/pkg/fetch/vendir_test.go +++ b/pkg/fetch/vendir_test.go @@ -149,3 +149,38 @@ func TestExtractHost(t *testing.T) { }) } } + +func Test_GitConfig_depth(t *testing.T) { + k8scs := k8sfake.NewSimpleClientset() + config, err := kcconfig.NewConfig(k8scs) + assert.NoError(t, err) + + vendir := fetch.NewVendir("default", k8scs, + fetch.VendirOpts{SkipTLSConfig: config}, exec.NewPlainCmdRunner()) + + type testCase struct { + URL string + Depth *int64 + ExpectedDepth int + } + testCases := []testCase{ + {"https://github.com/bitnami/charts/", convertToInt64(1), 1}, + {"https://gitlab.com/bitnami/charts/", convertToInt64(0), 0}, + {"https://gitlab.com/bitnami/charts/", nil, 1}, + } + for i, tc := range testCases { + err = vendir.AddDir(v1alpha1.AppFetch{ + Git: &v1alpha1.AppFetchGit{URL: tc.URL, Depth: tc.Depth}, + }, + "dirpath/0") + assert.NoError(t, err) + + vConf := vendir.Config() + assert.Equal(t, i+1, len(vConf.Directories), "Failed on iteration %d", i) + assert.Equal(t, tc.ExpectedDepth, vConf.Directories[i].Contents[0].Git.Depth, "Expected depth: %d, Got: %d", tc.ExpectedDepth, vConf.Directories[i].Contents[0].Git.Depth) + } +} + +func convertToInt64(x int64) *int64 { + return &x +}