Loïc Mathieu
06474c0e9c
feat(core): dymamic timeout and delay in the Pause task
...
Fixes #5338
2024-11-29 15:07:25 +01:00
101
b019909e9c
refactor(*): unify instanceof usage to pattern matching style
2024-11-25 15:13:06 +01:00
Ludovic DEHON
bfa02fe6ef
fix(plugins): allow big archive size on docker runner
...
see https://issues.apache.org/jira/browse/COMPRESS-194
2024-11-19 22:29:16 +01:00
yuri1969
0e8fd14780
feat(docs): improve warningOnStdErr info clarity
2024-10-21 10:09:12 +02:00
brian.mulier
2767eebcd0
fix(core): better error message in case of docker socket not found / not accessible
...
closes #5524
2024-10-18 13:59:00 +02:00
Loïc Mathieu
975ab4ba7f
feat: allow to send output from a failed task
...
Fixes #4020
2024-10-03 10:29:40 +02:00
Loïc Mathieu
2cfe5fb9c2
fix(core,script,tests): various code improvements
2024-09-27 13:33:23 +02:00
Loïc Mathieu
a52c59ad49
fix(core, script): check default enable to not FALSE
...
As it's true via Lombok Builder.Default but if you set include or exclude without setting enabled: true, the deserializaiton will set it to null.
Fixes #4867
2024-09-11 13:57:16 +02:00
YannC
aa4c83c174
fix(core): fix log tests
2024-08-21 15:25:37 +02:00
Ludovic DEHON
dd341cfdb1
fix(core): reduce log level of docker commands
2024-08-20 23:34:23 +02:00
Ludovic DEHON
c58e42ef0d
feat(core): capture log from script command
...
close #4641
2024-08-20 12:21:21 +02:00
brian.mulier
d006449b46
fix(script): include directories in docker task runner volume
2024-08-12 12:28:16 +02:00
Anna Geller
de704faaaa
fix: my bad commit
2024-08-08 19:18:51 +02:00
Loïc Mathieu
3aead5b14a
fix(core, script): Docker and Proces should always be a new instance
...
As there is a cache in the instance in the parent class.
2024-08-05 19:01:54 +02:00
brian.mulier
a849ac2851
fix(core): docker runner must remove the entrypoint by default
2024-08-05 18:45:29 +02:00
Loïc Mathieu
c437c363c4
feat(script): allow toBuilder on the Docker task runner
...
Some plugins needs it to have more control over the Docker task runner, like the old Bash task.
2024-08-05 18:09:51 +02:00
Loïc Mathieu
82913e77a0
fix(core): enforce Jackson version from the platform
2024-08-05 16:37:37 +02:00
Anna Geller
6f1fb747f0
docs: task runner ( #4513 )
...
* docs: task runner
* fix: wording
* fix: comma
* docs: add example with memory
2024-08-01 15:58:21 +02:00
Loïc Mathieu
c1a47cfd05
fix(script): don't display the taskRunner log if the old runner prop is used
...
Fixes #4499
2024-07-31 16:13:49 +02:00
Loïc Mathieu
44013418ec
fix(script): allow long file name inside the Docker task runner
2024-07-24 14:17:08 +02:00
Loïc Mathieu
25e8489bf4
fix(script): task runner override
...
Lombok is buggy when working with `@Builder.Default` it didn't take into accont overrides from properties so you should use getter everywhere.
Fixes https://github.com/kestra-io/plugin-dbt/issues/114
2024-07-24 13:10:15 +02:00
Loïc Mathieu
06b3f99bbc
feat(script): delete container and volume conditionaly in the Docker task runner
...
This allow to keep the container and the volume for debugging purpose
2024-07-17 16:11:24 +02:00
Loïc Mathieu
a5dc8e4513
feat(core, script): use a volume instead of a bind for handling files in the Docker task runner
...
Fixes #3857
2024-07-17 16:11:24 +02:00
dependabot[bot]
ec05e753f8
chore(deps): bump com.github.docker-java:docker-java-transport-httpclient5
...
Bumps [com.github.docker-java:docker-java-transport-httpclient5](https://github.com/docker-java/docker-java ) from 3.3.6 to 3.4.0.
- [Release notes](https://github.com/docker-java/docker-java/releases )
- [Changelog](https://github.com/docker-java/docker-java/blob/main/CHANGELOG.md )
- [Commits](https://github.com/docker-java/docker-java/compare/3.3.6...3.4.0 )
---
updated-dependencies:
- dependency-name: com.github.docker-java:docker-java-transport-httpclient5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-15 12:09:07 +02:00
brian.mulier
f35c9790b6
feat(task-runners): modify task runner implementation so that it has every files from working directory
2024-07-10 12:03:11 +02:00
Shruti Mantri
bd0d225f99
fix: correct the Docker task runner image ( #4168 )
2024-06-29 10:52:48 +01:00
Loïc Mathieu
f72b135f10
feat(core,script): provide default instance for Docker and Process
...
This will avoid to do it again and again for all plugins that needs it
2024-06-24 12:14:42 +02:00
Ludovic DEHON
1731205dcc
refactor(core): remove lots of compilation warnings
2024-06-24 09:57:41 +02:00
Ludovic DEHON
bc98de3519
refactor(core): remove lots of compilation warning
2024-06-24 00:02:59 +02:00
Ludovic DEHON
e9f8a8f3c2
feat(core): use a standard logger for unit test
2024-06-21 15:05:57 +02:00
Shruti Mantri
c94e23ae66
fix(docs): use namespace as company.team for all examples ( #4088 )
2024-06-21 10:57:50 +02:00
Ludovic DEHON
bd5d5c5758
feat(core): move test utils to a proper package
2024-06-20 22:58:40 +02:00
Loïc Mathieu
76f7038b52
feat: Kestra Platform BOM
2024-06-20 15:15:22 +02:00
Loïc Mathieu
ca398441ab
fix(core): possible NPE on namespace files usage
...
Fixes #4078
2024-06-20 13:40:15 +02:00
Florian Hussonnois
1cb54f792c
refactor(core): allow access to NamespaceFiles through RunContext
...
Changes:
* add new Namespace and NamespaceFile class
* add new methods Storage#namespace and Storage#namesapce(string)
* add new utility class PathMatcherPredicate
* Deprecate for removal NamespaceFilesService
2024-06-17 10:35:00 +02:00
Florian Hussonnois
69084e0017
refactor(core): create new WorkingDir interface for RunContext
...
Changes:
* add new method RunContext#workingDir
* add new interface WorkingDir and default implementation
* deprecate all related methods from RunContext
* add new method WorkingDir#findAllFilesMatching
2024-06-14 12:47:46 +02:00
brian-mulier-p
b15d2cf409
feat(memory): remove memory runner and introduce @KestraTest ( #3948 )
2024-06-12 19:17:57 +02:00
Florian Hussonnois
9fcd2a55d1
chore(core): extract interface RunContext
...
This commits provides new core classes to build and manipulate RunContext.
Changes:
* Rename RunContext class to DefaultRunContext
* Create new RunContext interface with no dependency on Micronaut
* Delegate all RunContext factory methods to RunContextFactory class
* Delegate RunContext hydratation to new RunContextInitializer class
* Delegate variables build to new RunVariables class
2024-06-12 16:20:38 +02:00
Loïc Mathieu
e2555981ef
fix(script): container image is not taken into account
...
This was due to a bug in Lombok when a property is null but the getter returns an object initialized with the builder default.
Fixes #3997
2024-06-11 18:09:34 +02:00
Loïc Mathieu
5e7cac416e
feat: move task runner out of beta and deprecate the old runner props
2024-06-11 15:16:14 +02:00
Ludovic DEHON
5fd7a2b3a3
feat(cicd): publish allure report
2024-06-08 22:39:14 +02:00
Loïc Mathieu
a0c8546015
chore(*): remove deprecated classes not used anymore
2024-06-05 11:53:25 +02:00
Florian Hussonnois
9844744928
fix(script): set task-runner type legacy DockerOptions ( #3896 )
...
fix : #3896
2024-06-03 09:03:50 +02:00
YannC
31338d2b3a
fix(script): do not use set -e option when on windows ( #3892 )
...
close #3658
2024-05-31 21:18:26 +02:00
YannC
e0446ac6fd
fix(): improve Docker process stability on Windows OS ( #3834 )
...
* fix(): improve Docker process stability on Windows OS
* feat(): new targetOS property
2024-05-31 11:40:50 +02:00
Anna Geller
15dca3c05c
fix: docker task runner type
2024-05-29 15:27:09 +02:00
Loïc Mathieu
932fc3da20
fix(script): render the container image before passing it to the task runner
...
Fixes #147
2024-05-22 16:02:31 +02:00
Loïc Mathieu
17ccfcf93e
feat(core, script): rename DockerTaskRunner to Docker and ProcessTaskRunner to Process
...
Fixes #3729
2024-05-16 13:55:54 +02:00
Loïc Mathieu
a313108508
feat(*): move plugin classes to a dedicated package
...
Fixes #2062
Fixes #2862
2024-05-16 13:55:54 +02:00
Florian Hussonnois
834190c1db
feat(core/scripts): properly handle kill of TaskRunner ( #3700 )
...
fix : #3700
related-to: kestra-io/plugin-gcp#380
2024-05-14 16:43:35 +02:00