Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] 2008 move gitjob with history #1

Closed
wants to merge 388 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
388 commits
Select commit Hold shift + click to select a range
4e2902d
Bump golangci-lint release in Dapper to 1.48.0
thardeck Nov 28, 2022
23968da
Retry git repo updates after errors
thardeck Nov 28, 2022
ac0a123
Bump Tekton-Utils to v0.1.8
thardeck Nov 28, 2022
0d0ceab
Bump github.com/onsi/ginkgo/v2 from 2.4.0 to 2.5.1
dependabot[bot] Dec 1, 2022
b9d1202
Bump bci/bci-base from 15.4.27.14.8 to 15.4.27.14.21 in /package
dependabot[bot] Dec 1, 2022
3899184
Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1
dependabot[bot] Dec 1, 2022
f3a458d
Bump bci/golang from 1.19-18.38 to 1.19-18.44
dependabot[bot] Dec 5, 2022
aeae2db
Bump bci/golang from 1.19-18.44 to 1.19-18.46
dependabot[bot] Dec 12, 2022
f4e7168
Bump bci/golang from 1.19-18.46 to 1.19-18.50
dependabot[bot] Dec 19, 2022
176028d
Bump Tekton-Utils to v0.1.9
thardeck Dec 21, 2022
e519902
gitjob: allow to run longer before killing leader during debugging
thardeck Dec 21, 2022
bbb07f1
Bump bci/golang from 1.19-18.50 to 1.19-19.8
dependabot[bot] Jan 2, 2023
08cf6b8
Update year in Rancher Labs copyright statement
thardeck Jan 2, 2023
9bf9031
Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.1
dependabot[bot] Jan 1, 2023
a7e593e
Bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0
dependabot[bot] Jan 1, 2023
b5e7659
Bump bci/bci-base from 15.4.27.14.21 to 15.4.27.14.26 in /package
dependabot[bot] Jan 1, 2023
1dd6d3b
Bump github.com/onsi/gomega from 1.24.0 to 1.24.2
dependabot[bot] Jan 1, 2023
93ff736
Bump bci/golang from 1.19-19.8 to 1.19-19.13
dependabot[bot] Jan 9, 2023
19b2d4a
Bump bci/golang from 1.19-19.13 to 1.19-20.1
dependabot[bot] Jan 16, 2023
7adeb81
Import git ls-remote helper from wrangler
Aug 30, 2022
b1276be
Add validation to git params
Jan 24, 2023
5296cd1
Bump github.com/onsi/gomega from 1.24.2 to 1.26.0
dependabot[bot] Jan 24, 2023
0054c02
Bump github.com/urfave/cli from 1.22.10 to 1.22.12
dependabot[bot] Jan 24, 2023
717efc7
Bump bci/golang from 1.19-20.1 to 1.19-20.4
dependabot[bot] Jan 23, 2023
36d6154
Bump golang.org/x/crypto from 0.1.0 to 0.5.0
dependabot[bot] Jan 24, 2023
32d9d17
Bump github.com/rancher/wrangler from 1.0.0 to 1.0.2
dependabot[bot] Jan 24, 2023
3dcfec2
fixup! Add validation to git params
Jan 24, 2023
76aaaef
Enable manual dispatch for e2e workflow
Jan 24, 2023
6e5911f
Git validation for URLs was too strict
Jan 25, 2023
be12af9
Enable E2E for local PRs
Jan 25, 2023
dffa06d
Bump tekton image to 0.1.10
Jan 25, 2023
a00e103
Bump bci/golang from 1.19-20.4 to 1.19-20.11
dependabot[bot] Feb 6, 2023
18b281e
Don't run private tests for dependabot
Feb 7, 2023
38b30bd
Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.0
dependabot[bot] Feb 1, 2023
6bdb59d
Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
dependabot[bot] Feb 1, 2023
82b7020
Bump bci/bci-base from 15.4.27.14.26 to 15.4.27.14.31 in /package
dependabot[bot] Feb 1, 2023
2ac5956
Bump bci/golang from 1.19-20.11 to 1.19-20.13
dependabot[bot] Feb 13, 2023
d9e532d
Bump bci/bci-base from 15.4.27.14.31 to 15.4.27.14.34 in /package
thardeck Feb 15, 2023
ca10344
Bump build-tekton utils to v0.1.11
thardeck Feb 15, 2023
41b1277
Restrict Golang image build environment only by Go version
thardeck Feb 15, 2023
6c923cc
Bump Helm to v3.11.1
thardeck Feb 15, 2023
e11bfe2
Bump bci/bci-base from 15.4.27.14.34 to 15.4.27.14.37 in /package
dependabot[bot] Mar 1, 2023
0766ee1
Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.4
dependabot[bot] Mar 1, 2023
d6fcfd4
Bump github.com/whilp/git-urls
dependabot[bot] Mar 1, 2023
e37d493
Bump github.com/onsi/gomega from 1.26.0 to 1.27.2
dependabot[bot] Mar 8, 2023
4b84d50
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Mar 8, 2023
39a9c51
Bump golangci-lint to 1.51.2
thardeck Mar 8, 2023
c8c40b2
Use a fixed golang minor version in workflows
thardeck Mar 8, 2023
e8fcff3
Bump go.mod to Golang 1.19
thardeck Mar 8, 2023
a55a839
Bump golang.org/x/crypto from 0.5.0 to 0.6.0
dependabot[bot] Mar 1, 2023
b6514f3
Bump github.com/rancher/wrangler from 1.0.2 to 1.1.1
dependabot[bot] Mar 8, 2023
4b27088
Update generated code after Wrangler bump to 1.1.1
thardeck Mar 8, 2023
b4fed07
Add Github Release On Push Action
thardeck Mar 9, 2023
80bb442
Don't create pre releases with Drone
thardeck Mar 9, 2023
405cdf9
Run dependabot weekly
thardeck Mar 8, 2023
0976ddc
Add Updatecli Github Action to bump tekton-utils
thardeck Mar 8, 2023
b9a7b21
Use fleet@suse.de as bot mail
thardeck Mar 9, 2023
24e3590
Updatecli should not care about v version prefix
thardeck Mar 9, 2023
fe5d817
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Mar 9, 2023
7ce8bbc
Bump bci/bci-base from 15.4.27.14.37 to 15.4.27.14.38 in /package
dependabot[bot] Mar 9, 2023
6e8f7c9
Add CODEOWNERS file
thardeck Mar 9, 2023
57f0ad3
Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0
dependabot[bot] Mar 9, 2023
b2cee6a
Bump golang.org/x/crypto from 0.6.0 to 0.7.0
dependabot[bot] Mar 9, 2023
4aaf888
Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1
dependabot[bot] Mar 13, 2023
6936265
add catatonit init process
raulcabello Mar 14, 2023
3363f72
Switch updatecli Token
thardeck Mar 17, 2023
81c4394
Bump github.com/onsi/gomega from 1.27.3 to 1.27.4
dependabot[bot] Mar 20, 2023
413e751
Bump bci/bci-base from 15.4.27.14.38 to 15.4.27.14.41 in /package
dependabot[bot] Mar 20, 2023
21c7644
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Mar 24, 2023
1ac69a7
Bump github.com/onsi/gomega from 1.27.4 to 1.27.5
dependabot[bot] Mar 27, 2023
ce48318
Bump bci/bci-base from 15.4.27.14.41 to 15.4.27.14.42 in /package
dependabot[bot] Mar 27, 2023
c8f5624
Bump bci/golang from 1.19 to 1.20
dependabot[bot] Mar 27, 2023
1c2e358
Bump golangci-lint to 1.52.2
thardeck Mar 27, 2023
2cbeeb9
Bump github.com/onsi/gomega from 1.27.5 to 1.27.6
dependabot[bot] Apr 3, 2023
80ac719
Bump actions/setup-go from 3 to 4
dependabot[bot] Apr 1, 2023
a4cf3f4
Bump bci/bci-base from 15.4.27.14.42 to 15.4.27.14.47 in /package
dependabot[bot] Apr 3, 2023
1b41e5d
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Mar 30, 2023
c37fc7b
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Apr 4, 2023
4c99adf
Bump bci/bci-base from 15.4.27.14.47 to 15.4.27.14.49 in /package
dependabot[bot] Apr 10, 2023
a0a86c0
Bump golang.org/x/crypto from 0.7.0 to 0.8.0
dependabot[bot] Apr 10, 2023
cbeba78
Bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1
dependabot[bot] Apr 11, 2023
242e6ef
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Apr 11, 2023
2580b14
Bump bci/bci-base from 15.4.27.14.49 to 15.4.27.14.53 in /package
dependabot[bot] Apr 24, 2023
bf96013
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Apr 24, 2023
d4af917
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
Apr 26, 2023
ef50698
chore(deps): Bump github.com/urfave/cli from 1.22.12 to 1.22.13
dependabot[bot] May 1, 2023
03e94bf
chore(deps): Bump bci/bci-base in /package
dependabot[bot] May 1, 2023
422fce8
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
May 2, 2023
5ac8a95
chore: Updated the content of the file "/tmp/updatecli/github/rancher...
May 12, 2023
dc68115
chore(deps): Bump golang.org/x/crypto from 0.8.0 to 0.9.0
dependabot[bot] May 15, 2023
af4ef5a
chore(deps): Bump bci/bci-base in /package
dependabot[bot] May 15, 2023
a50ab5d
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4
dependabot[bot] May 8, 2023
c5aae22
Remove Gitjob image tag reference from values.yaml
thardeck May 15, 2023
88632e8
Move Tekton image tag reference from values.yaml
thardeck May 15, 2023
6908dbb
Fix replacing Tekton version in the template
thardeck May 15, 2023
a1ea55e
Workaround updatecli templating issue
thardeck May 16, 2023
568abd7
Fix updatecli script issue
thardeck May 16, 2023
e4e2798
Bump Tekton to v0.1.22
thardeck May 16, 2023
a38f94a
chore(deps): Bump github.com/onsi/gomega from 1.27.6 to 1.27.7
dependabot[bot] May 22, 2023
49a489d
chore(deps): Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2
dependabot[bot] May 22, 2023
d4a0d15
chore(deps): Bump bci/bci-base in /package
dependabot[bot] May 29, 2023
c0efbd8
Add scmid to updatecli manifest target
olblak Jun 1, 2023
2126858
chore: ran shell command "./updatecli/scripts/update_deployment.sh v0...
Jun 1, 2023
edb964f
chore(deps): Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3
dependabot[bot] Jun 5, 2023
794c71b
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7
dependabot[bot] Jun 5, 2023
102cc4d
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Jun 5, 2023
546440c
chore: ran shell command "./updatecli/scripts/update_deployment.sh v0...
Jun 7, 2023
d7c8fa2
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.10.0
dependabot[bot] Jun 7, 2023
4164c6d
chore(deps): Bump github.com/onsi/gomega from 1.27.7 to 1.27.8
dependabot[bot] Jun 7, 2023
9348430
Revert Gitjob image tag change
thardeck Jun 13, 2023
c7e160d
chore: Updated to content "" in file "chart/values.yaml"
Jun 13, 2023
8379619
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0
dependabot[bot] Jun 19, 2023
db2ff18
chore(deps): Bump github.com/urfave/cli from 1.22.13 to 1.22.14
dependabot[bot] Jun 19, 2023
a5acc0e
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Jun 19, 2023
be2ea04
chore(deps): Bump golang.org/x/crypto from 0.9.0 to 0.10.0
dependabot[bot] Jun 19, 2023
480194f
chore: Updated to content "" in file "chart/values.yaml"
Jun 20, 2023
0eb19be
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Jun 26, 2023
75ca889
chore(deps): Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
dependabot[bot] Jul 1, 2023
dfa502a
chore(deps): Bump google.golang.org/grpc from 1.47.0 to 1.53.0
dependabot[bot] Jul 5, 2023
1c155d5
chore(deps): Bump golang.org/x/crypto from 0.10.0 to 0.11.0
dependabot[bot] Jul 10, 2023
665b132
chore: Updated to content "" in file "chart/values.yaml"
Jul 11, 2023
f95cee0
chore: Updated to content "" in file "chart/values.yaml"
Jul 18, 2023
57c6bd4
Remove pprof and fix linter warnings
Apr 21, 2023
79b8b7c
Add timeouts to http server
Apr 21, 2023
f16aced
Remove gosec warning for git exec
Apr 21, 2023
8b4f318
Delete job so retry happens, if forcing or job failed
Jul 18, 2023
bbb1e9d
Add default ttl for jobs of 24h
Jul 21, 2023
e587f0a
chore(deps): Bump github.com/onsi/gomega from 1.27.8 to 1.27.9
dependabot[bot] Jul 24, 2023
9af6cb0
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Jul 24, 2023
32a8970
chore: Updated to content "" in file "chart/values.yaml"
Jul 25, 2023
48defb5
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Jul 31, 2023
a8c44a5
chore(deps): Bump github.com/onsi/gomega from 1.27.9 to 1.27.10
dependabot[bot] Jul 31, 2023
606f549
chore: Updated to content "" in file "chart/values.yaml"
Aug 1, 2023
72da294
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Aug 7, 2023
0ecda3a
chore(deps): Bump golang.org/x/crypto from 0.11.0 to 0.12.0
dependabot[bot] Aug 7, 2023
17d2ada
chore: Updated to content "" in file "chart/values.yaml"
Aug 8, 2023
b55ae59
Fix gitrepo retry failed jobs (#286)
manno Aug 10, 2023
8dad373
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Aug 14, 2023
530384f
chore: Updated to content "" in file "chart/values.yaml"
Aug 15, 2023
8c35d6b
chore(deps): Bump bci/golang from 1.20 to 1.21
dependabot[bot] Aug 21, 2023
2c372a9
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Aug 21, 2023
ed6c958
Go K8s related security bumps
thardeck Aug 21, 2023
5b86198
chore: Updated to content "" in file "chart/values.yaml"
Aug 21, 2023
3247920
Use go-git for getting the latest commit
raulcabello Jul 18, 2023
7e83f67
Exclude integration tests from ci unit tests
raulcabello Aug 10, 2023
ca97a72
Fix typos
raulcabello Aug 10, 2023
6cd6e44
Remove unnecessary description and exclude files
raulcabello Aug 10, 2023
98f2b69
Remove custom gogs client and use github.com/gogits/go-gogs-client in…
raulcabello Aug 10, 2023
b22e502
Create git repos for integration tests programatically
raulcabello Aug 17, 2023
6588c52
replace github.com/pkg/errors with errors
raulcabello Aug 17, 2023
27065bf
extract terminateContainer to a separate func
raulcabello Aug 17, 2023
14fad85
chore(deps): Bump github.com/docker/distribution
dependabot[bot] Aug 22, 2023
5dd3742
Remove unnecessary TODO
raulcabello Aug 23, 2023
ae91ff2
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0
dependabot[bot] Aug 28, 2023
aae4ad9
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Aug 28, 2023
859d34f
chore: Updated to content "" in file "chart/values.yaml"
Aug 23, 2023
f454c63
chore: Update build-tekton reference
Aug 29, 2023
adbb26a
chore(deps): Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5
dependabot[bot] Aug 22, 2023
1808304
chore(deps): Bump github.com/containerd/containerd from 1.5.9 to 1.5.18
dependabot[bot] Aug 22, 2023
534c938
chore(deps): Bump github.com/docker/docker
dependabot[bot] Aug 22, 2023
b2488c1
chore(deps): Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
dependabot[bot] Sep 1, 2023
059a7b2
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Sep 4, 2023
a35f607
chore(deps): Bump golang.org/x/crypto from 0.12.0 to 0.13.0
dependabot[bot] Sep 11, 2023
253fe96
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Sep 11, 2023
a5cef52
chore: Update build-tekton reference
Sep 12, 2023
09b002d
Update go version from 1.19 to 1.21 (#313)
aruiz14 Sep 13, 2023
8f553d0
Remove tekton for cloning git repos (#302)
raulcabello Sep 20, 2023
756d991
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Sep 18, 2023
0ffb38d
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1
dependabot[bot] Sep 25, 2023
14cc00c
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Sep 25, 2023
de33da1
chore(deps): Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.9.0
dependabot[bot] Sep 25, 2023
28a0afe
chore(deps): Bump github.com/onsi/gomega from 1.27.10 to 1.28.0
dependabot[bot] Oct 2, 2023
8f60ae6
Remove Tekton references
weyfonk Oct 3, 2023
6a66237
chore(deps): Bump actions/checkout from 3 to 4
dependabot[bot] Oct 3, 2023
6f66117
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Oct 2, 2023
12e645e
chore(deps): Bump github.com/otiai10/copy from 1.12.0 to 1.14.0
dependabot[bot] Oct 2, 2023
76dee6c
Use a separate Go module for pkg/apis (#326)
aruiz14 Oct 9, 2023
c3b1a4a
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Oct 9, 2023
a4bc46a
chore(deps): Bump golang.org/x/crypto from 0.13.0 to 0.14.0
dependabot[bot] Oct 9, 2023
1702a18
chore(deps): Bump golang.org/x/net from 0.15.0 to 0.17.0
dependabot[bot] Oct 11, 2023
85baae2
chore(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0 in /pkg/apis
dependabot[bot] Oct 12, 2023
e852eea
Add SecurityContext to deployment and init container (#331)
raulcabello Oct 16, 2023
d5cb122
Wait for gogs ssh server to be ready (#337)
raulcabello Oct 19, 2023
7169733
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Oct 16, 2023
4e7ecee
chore(deps): Bump github.com/google/go-cmp from 0.5.9 to 0.6.0
dependabot[bot] Oct 16, 2023
3ab69f6
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0
dependabot[bot] Oct 16, 2023
349873e
Make sure gogs https server is ready (#338)
raulcabello Oct 19, 2023
3f9e878
Remove unused websocket-based webhooks
aruiz14 Oct 20, 2023
2966aa2
build: bump wrangler and client-go dependencies in go.mod
aruiz14 Sep 13, 2023
d02c32b
build: run go generate
aruiz14 Sep 13, 2023
29d821c
test: replace mocks with new generic/fake package
aruiz14 Sep 13, 2023
de23974
cleanup: remove unnecessary mocks
aruiz14 Sep 13, 2023
02302cc
build: upgrade to the latest master commit before the import path change
aruiz14 Oct 17, 2023
6d0468e
Bump wrangler to v2.1.1
aruiz14 Oct 20, 2023
2e14e4f
chore(deps): Bump github.com/onsi/gomega from 1.28.0 to 1.28.1
dependabot[bot] Oct 23, 2023
fc5b6bc
chore(deps): Bump github.com/testcontainers/testcontainers-go
dependabot[bot] Oct 23, 2023
5957b03
Make gitcloner tests compatible with testcontainers-go 0.25.0
weyfonk Oct 23, 2023
d5208f8
chore(deps): Bump google.golang.org/grpc from 1.57.0 to 1.57.1
dependabot[bot] Oct 25, 2023
36f92e2
chore(deps): Bump k8s.io/api from 0.28.0 to 0.28.3
dependabot[bot] Oct 23, 2023
59903a6
chore(deps): Bump k8s.io/apimachinery from 0.28.0 to 0.28.3
dependabot[bot] Oct 23, 2023
d27b709
chore(deps): Bump github.com/rancher/wrangler/v2 from 2.1.1 to 2.1.2
dependabot[bot] Oct 30, 2023
fae0d56
chore(deps): Bump github.com/docker/docker
dependabot[bot] Oct 30, 2023
572954d
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Oct 30, 2023
2e3f12e
Migrate crds to kubebuilder (#352)
raulcabello Nov 3, 2023
e4f557a
chore(deps): Bump github.com/onsi/gomega from 1.28.1 to 1.29.0
dependabot[bot] Nov 6, 2023
7341e48
chore(deps): Bump github.com/testcontainers/testcontainers-go
dependabot[bot] Nov 6, 2023
52e6a0b
chore(deps): Bump github.com/onsi/gomega from 1.29.0 to 1.30.0
dependabot[bot] Nov 13, 2023
421826e
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1
dependabot[bot] Nov 13, 2023
2041b28
Add git to gitjob image (#362)
raulcabello Nov 13, 2023
28d7bc7
chore(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
dependabot[bot] Nov 6, 2023
179b179
chore(deps): Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0
dependabot[bot] Nov 13, 2023
154f426
chore(deps): Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
dependabot[bot] Nov 13, 2023
6ae59b4
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Nov 13, 2023
7bf8da8
chore(deps): Bump k8s.io/api from 0.28.3 to 0.28.4
dependabot[bot] Nov 20, 2023
5d41403
chore(deps): Bump golang.org/x/crypto from 0.14.0 to 0.15.0
dependabot[bot] Nov 20, 2023
ad8d66a
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Nov 20, 2023
7f41b48
Switch to minor version bumping during automatic releasing
thardeck Nov 23, 2023
552b04c
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Nov 27, 2023
ca4c7c6
remove s390x (#374)
raulcabello Dec 5, 2023
d466d62
chore(deps): Bump golang.org/x/crypto from 0.15.0 to 0.16.0
dependabot[bot] Dec 4, 2023
2f92c31
chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2
dependabot[bot] Dec 4, 2023
3b63e4d
chore(deps): Bump github.com/go-git/go-git/v5 from 5.10.0 to 5.10.1
dependabot[bot] Dec 4, 2023
3edd62e
Fork git-urls to fix DOS issue
thardeck Dec 5, 2023
43bd23e
Remove irrelevant functionality from our git-urls fork
thardeck Dec 6, 2023
0bc9668
chore(deps): Bump github.com/go-git/go-git/v5 from 5.10.1 to 5.11.0
dependabot[bot] Dec 11, 2023
cdb05b5
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Dec 11, 2023
1ea3e58
Disable automatic releases
Dec 12, 2023
a16fc42
Bump golangci-lint (#379)
raulcabello Dec 12, 2023
d94ba78
Migrate to controller runtime (#368)
raulcabello Dec 12, 2023
5100dd3
Remove misspelled golanci config
Dec 15, 2023
170b4cf
Add proxy env vars to job containers (#382)
raulcabello Dec 19, 2023
af5f3db
chore(deps): Bump github.com/containerd/containerd from 1.7.7 to 1.7.11
dependabot[bot] Dec 19, 2023
1f217bd
Switch to go.uber.org/mock
Dec 21, 2023
27eae4e
Bump x/crypto to 0.17.0
Dec 21, 2023
4270a2f
chore(deps): Bump golang.org/x/sync from 0.4.0 to 0.5.0
dependabot[bot] Dec 21, 2023
8a10df4
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Dec 22, 2023
cf9e338
chore(deps): Bump bci/bci-base in /package
dependabot[bot] Dec 25, 2023
cd47b4c
chore(deps): Bump github.com/go-logr/logr from 1.3.0 to 1.4.1
dependabot[bot] Dec 25, 2023
6a53771
chore(deps): Bump k8s.io/apimachinery from 0.28.4 to 0.29.0
dependabot[bot] Dec 22, 2023
2a104da
Bump copyright statement to 2024
thardeck Jan 2, 2024
d2bad0d
Switch copyright statements to SUSE LLC
thardeck Jan 2, 2024
12ee94b
chore(deps): Bump actions/setup-go from 4 to 5
dependabot[bot] Jan 2, 2024
42ec70c
chore(deps): Bump actions/upload-artifact from 3 to 4
dependabot[bot] Jan 2, 2024
3c79d06
Fix azure devops git clone error (#404)
raulcabello Jan 16, 2024
0ef9cfd
Run go generate with controller-gen 0.14
raulcabello Jan 16, 2024
403dbdc
Add azure webhooks support (#416)
raulcabello Jan 17, 2024
4cd6b4d
Recreate job always if generation has changed
raulcabello Jan 16, 2024
afd8a1b
Do not print error when there is an update status conflict
raulcabello Jan 16, 2024
82c2e03
Import gitcloner from rancher/gitjob
weyfonk Jan 18, 2024
1b8a3f6
Fix gitjob end-to-end tests
weyfonk Jan 25, 2024
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
56 changes: 56 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,26 @@ steps:
- refs/tags/*
event:
- tag
- name: docker-publish-gitjob
image: plugins/docker
settings:
dockerfile: package/Dockerfile.gitjob
password:
from_secret: docker_password
repo: "rancher/fleet-gitjob"
tag: "${DRONE_TAG}-linux-amd64"
username:
from_secret: docker_username
build_args:
- "ARCH=amd64"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: docker-publish
image: plugins/docker
settings:
Expand Down Expand Up @@ -191,6 +211,26 @@ steps:
- refs/tags/*
event:
- tag
- name: docker-publish-gitjob
image: plugins/docker
settings:
dockerfile: package/Dockerfile.gitjob
password:
from_secret: docker_password
repo: "rancher/fleet-gitjob"
tag: "${DRONE_TAG}-linux-arm64"
username:
from_secret: docker_username
build_args:
- "ARCH=arm64"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: docker-publish
image: plugins/docker
settings:
Expand Down Expand Up @@ -339,6 +379,22 @@ steps:
- refs/tags/*
event:
- tag
- name: manifest-gitjob
image: plugins/manifest:1.0.2
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
spec: manifest-gitjob.tmpl
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
- name: manifest-agent
image: plugins/manifest:1.0.2
settings:
Expand Down
29 changes: 29 additions & 0 deletions .github/scripts/build-fleet-binaries.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
# Description: build fleet binary and image with debug flags

set -euxo pipefail

if [ ! -d ./cmd/fleetcontroller ]; then
echo "please change the current directory to the fleet repo checkout"
exit 1
fi

export GOARCH="${GOARCH:-amd64}"
export CGO_ENABLED=0

# re-generate code
if ! git diff --quiet HEAD origin/master -- pkg/apis/fleet.cattle.io/v1alpha1; then
go generate
fi

export GOOS=linux
# fleet
go build -gcflags='all=-N -l' -o bin/fleetcontroller-linux-"$GOARCH" ./cmd/fleetcontroller

# fleet agent
go build -gcflags='all=-N -l' -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -gcflags='all=-N -l' -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent

# gitjob
go build -gcflags='all=-N -l' -o "bin/gitcloner" ./cmd/gitcloner
go build -gcflags='all=-N -l' -o "bin/gitjob" ./cmd/gitjob
5 changes: 5 additions & 0 deletions .github/scripts/build-fleet-images.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export GOARCH="${GOARCH:-amd64}"

docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.gitjob -t rancher/fleet-gitjob:dev --build-arg="ARCH=$GOARCH" .
15 changes: 0 additions & 15 deletions .github/scripts/check-for-gitjob-changes.sh

This file was deleted.

8 changes: 2 additions & 6 deletions .github/scripts/release-against-charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ PREV_CHART_VERSION="$3" # e.g. 101.2.0
NEW_CHART_VERSION="$4"
REPLACE="$5" # remove previous version if `true`, otherwise add new

if [ -z "${GITHUB_WORKSPACE:-}" ]; then
CHARTS_DIR="$(dirname -- "$0")/../../../charts"
else
CHARTS_DIR="${GITHUB_WORKSPACE}/charts"
fi
CHARTS_DIR=${CHARTS_DIR-"$(dirname -- "$0")/../../../charts"}

pushd "${CHARTS_DIR}" > /dev/null

Expand Down Expand Up @@ -53,4 +49,4 @@ PACKAGE=fleet make charts
git add assets/fleet* charts/fleet* index.yaml
git commit -m "Autogenerated changes for Fleet v${NEW_FLEET_VERSION}"

popd > /dev/null
popd > /dev/null
8 changes: 2 additions & 6 deletions .github/scripts/release-against-rancher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ bump_fleet_api() {
go mod tidy
}

if [ -z "${GITHUB_WORKSPACE:-}" ]; then
CHARTS_DIR="$(dirname -- "$0")/../../../rancher"
else
CHARTS_DIR="${GITHUB_WORKSPACE}/rancher"
fi
CHARTS_DIR=${CHARTS_DIR-"$(dirname -- "$0")/../../../rancher"}

pushd "${CHARTS_DIR}" > /dev/null

Expand Down Expand Up @@ -54,4 +50,4 @@ fi

git commit -m "Updating to Fleet v${NEW_FLEET_VERSION}"

popd > /dev/null
popd > /dev/null
5 changes: 1 addition & 4 deletions .github/workflows/aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ jobs:
-
name: Build fleet binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/check-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
-
name: go.mod
run: ./.github/scripts/check-for-go-mod-changes.sh
-
name: gitjob
run: ./.github/scripts/check-for-gitjob-changes.sh
-
name: generate.go
run: ./.github/scripts/check-for-auto-generated-changes.sh
17 changes: 11 additions & 6 deletions .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,15 @@ jobs:
-
name: Build Fleet Binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller
./.github/scripts/build-fleet-binaries.sh

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
cd e2e/testenv/infra
go build -o . ./...
-
name: Build Docker Images
run: |
docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .
./.github/scripts/build-fleet-images.sh

cd e2e/assets/gitrepo
# Buildkit needed here for proper here-document support
DOCKER_BUILDKIT=1 docker build -f Dockerfile.gitserver -t nginx-git:test --build-arg="passwd=$(openssl passwd foo)" .
Expand All @@ -73,7 +71,7 @@ jobs:
-
name: Import Images Into k3d
run: |
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev nginx-git:test
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev rancher/fleet-gitjob:dev nginx-git:test
-
name: Set Up Tmate Debug Session
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }}
Expand Down Expand Up @@ -155,6 +153,13 @@ jobs:
echo "${{ secrets.CI_SSH_PUBKEY }}" > "$GIT_SSH_PUBKEY"

ginkgo e2e/require-secrets

export GIT_GITJOB_SSH_KEY="$GITHUB_WORKSPACE/id_ed25519"
export GIT_GITJOB_SSH_PUBKEY="$GITHUB_WORKSPACE/id_ed25519.pub"
echo "${{ secrets.CI_GITJOB_SSH_KEY }}" > "$GIT_GITJOB_SSH_KEY"
echo "${{ secrets.CI_GITJOB_SSH_PUBKEY }}" > "$GIT_GITJOB_SSH_PUBKEY"

ginkgo e2e/gitjob
-
name: Dump Failed Environment
if: failure()
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/e2e-multicluster-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,11 @@ jobs:
-
name: Build Fleet Binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Build Docker Images
run: |
docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .
./.github/scripts/build-fleet-images.sh
-
name: Provision k3d Cluster
uses: AbsaOSS/k3d-action@v2
Expand Down Expand Up @@ -76,7 +72,7 @@ jobs:
-
name: Import Images Into k3d
run: |
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev -c upstream
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev rancher/fleet-gitjob:dev -c upstream
./.github/scripts/k3d-import-retry.sh rancher/fleet-agent:dev -c downstream
-
name: Set Up Tmate Debug Session
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ jobs:
-
name: Build fleet binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Get UUID
id: uuid
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/fleet-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,15 @@ jobs:
-
name: Build Fleet Binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Build Docker Images
run: |
docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .
./.github/scripts/build-fleet-images.sh
-
name: Import Images Into k3d
run: |
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev -c upstream
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev rancher/fleet-gitjob:dev -c upstream
-
name: Verify Example Workload
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ jobs:
-
name: Build fleet binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,15 @@ jobs:
-
name: Build Fleet Binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller
./.github/scripts/build-fleet-binaries.sh

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
cd e2e/testenv/infra
go build -o . ./...
-
name: Build Docker Images
run: |
docker build -f package/Dockerfile -t rancher/fleet:dev --build-arg="ARCH=$GOARCH" .
docker build -f package/Dockerfile.agent -t rancher/fleet-agent:dev --build-arg="ARCH=$GOARCH" .
./.github/scripts/build-fleet-images.sh

DOCKER_BUILDKIT=1 docker build -f e2e/assets/gitrepo/Dockerfile.gitserver -t nginx-git:test --build-arg="passwd=$(openssl passwd foo)" e2e/assets/gitrepo
-
name: Provision k3d Cluster
Expand All @@ -74,7 +72,7 @@ jobs:
-
name: Import Images Into k3d
run: |
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev nginx-git:test
./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev rancher/fleet-gitjob:dev nginx-git:test
-
name: Set Up Tmate Debug Session
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }}
Expand Down Expand Up @@ -152,6 +150,7 @@ jobs:
echo "${{ secrets.CI_SSH_PUBKEY }}" > "$GIT_SSH_PUBKEY"

ginkgo e2e/require-secrets
ginkgo e2e/gitjob
-
name: Dump Failed Environment
if: failure()
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,9 @@ jobs:
GOOS: linux
run: |
export GOARCH=amd64
go build -gcflags='all=-N -l' -o bin/fleetcontroller-linux-amd64 ./cmd/fleetcontroller
go build -gcflags='all=-N -l' -o bin/fleet-linux-amd64 ./cmd/fleetcli
go build -gcflags='all=-N -l' -o bin/fleetagent-linux-amd64 ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
export GOARCH=arm64
go build -gcflags='all=-N -l' -o bin/fleetcontroller-linux-arm64 ./cmd/fleetcontroller
go build -gcflags='all=-N -l' -o bin/fleet-linux-arm64 ./cmd/fleetcli
go build -gcflags='all=-N -l' -o bin/fleetagent-linux-arm64 ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
id: meta-fleet
uses: docker/metadata-action@v5
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/rancher-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ jobs:
-
name: Build fleet binaries
run: |
go build -o bin/fleetcontroller-linux-$GOARCH ./cmd/fleetcontroller

go build -o "bin/fleet-linux-$GOARCH" ./cmd/fleetcli
go build -o "bin/fleetagent-linux-$GOARCH" ./cmd/fleetagent
./.github/scripts/build-fleet-binaries.sh
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-against-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
- name: Install dependencies
run: sudo snap install yq --channel=v4/stable
- name: Run release script
run: ./fleet/.github/scripts/release-against-charts.sh ${{github.event.inputs.prev_fleet}} ${{github.event.inputs.new_fleet}} ${{github.event.inputs.prev_chart}} ${{github.event.inputs.new_chart}} ${{github.event.inputs.should_replace}}
run: |
export CHARTS_DIR="${GITHUB_WORKSPACE}/charts"
./fleet/.github/scripts/release-against-charts.sh ${{github.event.inputs.prev_fleet}} ${{github.event.inputs.new_fleet}} ${{github.event.inputs.prev_chart}} ${{github.event.inputs.new_chart}} ${{github.event.inputs.should_replace}}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-against-rancher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
with:
go-version: ${{ env.SETUP_GO_VERSION }}
- name: Run release script
run: ./fleet/.github/scripts/release-against-rancher.sh ${{github.event.inputs.new_fleet}} ${{github.event.inputs.new_chart}} ${{github.event.inputs.should_bump_api}}
run: |
export CHARTS_DIR="${GITHUB_WORKSPACE}/rancher"
./fleet/.github/scripts/release-against-rancher.sh ${{github.event.inputs.new_fleet}} ${{github.event.inputs.new_chart}} ${{github.event.inputs.should_bump_api}}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down
Loading
Loading