Mario Manno
75c0c1db16
Fix gitrepo retry failed jobs ( #286 )
...
Add propagationPolicy to delete job
Deleting jobs via the API does not remove their pods. This PR adds the
propagationPolicy to both delete request, the ForceUpdateGeneration one,
which previously didn't work and the new one, which is used to retrigger
failed jobs.
* Revert "Merge pull request #272 from rancher/add-default-ttl"
* Remove unused context value
* Add debug logging to job controller
* Remove the job cache from apply, so jobs can be recreated
2023-08-10 08:44:19 +02:00
Mario Manno
ea7c7c9c73
Add default ttl for jobs of 24h
2023-07-21 14:45:31 +02:00
Mario Manno
bae51dbf19
Delete job so retry happens, if forcing or job failed
2023-07-19 13:04:42 +02:00
Mario Manno
e156ce7a32
Remove pprof and fix linter warnings
...
Add more linters, but still not the full set from fleet/fleet.
2023-04-21 10:57:10 +02:00
Tim Hardeck
bf72b51624
Retry git repo updates after errors
...
to allow git repos to be usable after short network outages or similar
issues.
Without this change it was necessary to manually force an update to
make the gitrepo reusable again.
2022-11-28 11:44:43 +01:00
Mario Manno
d21a9dc19b
Add double-dash to job's args
...
Otherwise tekton-entrypoint will parse some of the options
2022-08-16 18:27:55 +02:00
Daishan
ef5fe7ff24
Add webhook support
2021-04-08 13:50:37 -07:00
bgoareguer
171cf63340
Add support for HTTP_PROXY variables when fetching public Helm charts ( #25 )
...
* Add support for HTTP_PROXY variables when fetching public Helm charts
Co-authored-by: Bertrand Goareguer <bertrand.goareguer@orange.com>
2021-01-21 09:20:11 -07:00
Daishan
dfbcffa7af
Add user 1000
2021-01-08 14:08:57 -07:00
Daishan
69cedcf781
Fix custom ca cert and insecureSkipTls
...
This PR fixed several things:
1. Support cabundle to be specified for git repo
2. Fix insecureSkipTLS is wrong
3. Fix bug where git repo has extra port
2020-12-10 21:37:57 -07:00
Timofey Ilinykh
5b1ff60fdb
Wire http proxy settings to clone container
2020-11-03 01:32:39 +01:00
Daishan
731c348657
Update wrangler, fix http and ssh auth
2020-10-19 17:47:24 -07:00
Daishan
1b9cc0b1ce
Use forceUpdateGeneration for force-update job
...
Use field(int64) forceUpdateGeneration to replace forceUpdate timestamp
to control when it should re-run the job.
2020-10-01 11:27:36 -07:00
Daishan
f81893a4f0
Remove no delete
2020-09-30 23:49:22 -07:00
Daishan
df1abf1be1
Mark gitjob to active if job completes
2020-09-30 16:15:33 -07:00
Daishan
9223171f73
Set termination message and stall condition
2020-09-28 10:27:20 -07:00
Daishan
44b2fbc506
Make tekton images configrable
2020-09-17 12:38:14 -07:00
Daishan
4d862e306b
Add custom column, forceUpdate
2020-08-28 09:04:48 -07:00
Daishan
d705dae227
More kstatus, use new wrangler git library
2020-08-27 12:39:58 -07:00
Daishan
3feee6d7cc
Add kstatus, sync job to gitjob, webhook auto-creation
2020-08-20 13:01:45 -07:00
Daishan
080f323787
Add helm chart support
2020-08-15 12:27:54 -07:00
Darren Shepherd
0fd77b2d88
Rename GitjobSpec to GitJobSpec
2020-08-14 21:00:52 -07:00
Daishan
636b91c9b2
Update vendor
2020-08-12 11:46:22 -07:00
Daishan
32b9596355
Rename crd and groups, add CA and skipssl
2020-08-12 11:42:29 -07:00
Daishan
87b4dcaf5a
Multiple fixes
2020-06-29 15:34:27 -07:00
Daishan
1b7f495892
Webhook support
2020-06-26 16:48:27 -07:00
Daishan
7f4eca3cb5
Initial commit
2020-06-25 10:54:34 -07:00