Hidde Beydals
c4d7e46b90
Drop deprecated `io/ioutil`
...
The package has been deprecated since Go 1.16, see:
https://golang.org/doc/go1.16#ioutil
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-07-29 09:58:00 +02:00
Stefan Prodan
add5444f16
Fix GitRepository include for nested paths
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-28 01:17:40 +03:00
Philip Laine
fcf7048992
Add include property to GitRepositories
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2021-05-11 09:46:50 +02:00
Michael Bridgen
681ddd5db0
Test RecurseSubmodules
...
This commit adds a test specifically for RecurseSubmodules. It takes a
bit more preparation, since it needs a repo using submodules to start
with. go-git doesn't appear to support adding submodules
programmatically, so the preparation is done in part by execing `git`.
Signed-off-by: Michael Bridgen <michael@weave.works>
2021-03-31 12:22:10 +01:00
Stefan Prodan
f0016cfad1
Enable self-signed certs for go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-29 13:23:32 +03:00
Philip Laine
c063484761
Add custom certificate validation
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-02-08 12:19:22 +01:00
Philip Laine
f044ebc253
Rename git2go option to libgit2
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-06 23:19:57 +01:00
Philip Laine
1b4eacc588
Refactor argument name to enable git2go
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-04 10:07:17 +01:00
Philip Laine
cb12736a84
Update pkg git server
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-03 12:56:38 +01:00
Philip Laine
47e4e54550
Add test to show that libgit2 fails with self signed test
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2020-12-02 23:28:32 +01:00
Aurel Canciu
00bb853d0e
Refactor to adopt k8s standardized Condition type
...
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02:00
Hidde Beydals
c9eb8f03c0
Switch to Masterminds/semver and pkg/version libs
...
Co-authored-by: Illia Ovchynnikov <illia.ovchynnikov@gmail.com>
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 12:21:08 +01:00
Hidde Beydals
582c2092b6
Change copyright to Flux authors
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-27 17:54:22 +01:00
stefanprodan
f16e5f041a
Promote API to v1beta1
2020-09-30 16:11:00 +03:00
Hidde Beydals
431ea05427
Implement `fluxcd/pkg/meta/api` in APIs
2020-09-30 10:18:43 +02:00
Hidde Beydals
3475d741a3
Switch to dedicated git and helm testserver pkgs
2020-08-18 12:11:29 +02:00
Hidde Beydals
9d947b8efa
Use testserver package from fluxcd/pkg
2020-08-18 12:11:29 +02:00
Hidde Beydals
0bc28f7a42
testserver: move from internal to pkg
2020-06-30 11:48:14 +02:00
Hidde Beydals
24b77d37a8
controllers: GitRepository ref
2020-05-29 14:24:31 +02:00
Hidde Beydals
b27c82dd1b
controllers: GitRepository test refs
2020-05-29 14:24:31 +02:00
Hidde Beydals
77822bd4d1
controllers: simple GitRepository test
2020-05-29 14:24:31 +02:00