YannC
7f9abfeddf
chore(deps): upgrade micronaut-platform to 4.8.0 ( #8232 )
...
* chore(deps): upgrade micronaut-platform to 4.8.0
* fix: http client version enforcement is not needed anymore as docker-java as updated the dependency
* fix: make applicationContext protected in SchedulerPollingTriggerTest
* fix: upgrade docker-java version to 3.5.0
* fix: make some method protected in the AbstractRunnerTest so it can be override
2025-08-21 20:30:25 +02:00
Loïc Mathieu
1613dee76b
fix(core): add missing docker plugin subgroup icon
2025-03-28 16:43:36 +01:00
Ludovic DEHON
f29aab0719
feat(core): speed up namespace file download and add a log & metrics
...
close #7871
close #7870
2025-03-21 13:44:16 +01:00
YannC
a7421987b7
chore(): change docker image used for AbstractTaskRunnerTest
2025-03-18 09:19:17 +01:00
Nicolas K.
3013e9dfd5
feat(core): #5467 add namespaces in the namespaceFiles parameter ( #7749 )
...
Co-authored-by: nKwiatkowski <nkwiatkowski@kestra.io >
2025-03-07 17:18:45 +01:00
yuri1969
8f9fc5fe4b
fix(core): stop Docker runner gracefully
2025-03-06 09:34:11 +01:00
brian.mulier
ac2643c108
fix(core): add package-info.java to script + handle subgroups properly
2025-02-21 12:23:24 +01:00
Mathieu Gabelle
c6d21776ec
fix: render before command with options in CommandsWrapper ( #7496 )
2025-02-19 17:02:31 +01:00
Mathieu Gabelle
e0eaf675b2
refactor: return only command when no interpreter and no beforeCommands ( #7452 )
2025-02-18 18:59:04 +01:00
brian.mulier
16e3830c9c
fix(core): render delete property at the beginning in Docker task runner
2025-02-18 15:48:36 +01:00
Mathieu Gabelle
5ced9b6c4f
refactor: remove rendering from Docker ( #7439 )
...
rendering is done in the CommandsWrapper so no need to render again in the task runner
2025-02-18 11:15:14 +01:00
Mathieu Gabelle
e061a3617c
refactor: introduce render in commands wrapper for property string ( #7430 )
2025-02-17 10:44:54 +01:00
Mathieu Gabelle
410cf0e389
fix: enable rendering of commands properties inside CommandsWrapper ( #7381 )
...
* fix: move commands to Property
migrate to Property in TaskCommands and CommandsWrapper
implement beforeCommand and interpreter
2025-02-17 09:49:49 +01:00
Ludovic DEHON
f4b78755ad
docs(core): better documentation on docker tasks
2025-02-11 22:12:43 +01:00
Loïc Mathieu
2777b34385
fix(script): AbstractExecScript.injectDefaults should throw IllegalVariableEvaluationException
2025-01-30 09:57:51 +01:00
Loïc Mathieu
3e8d32cfca
fix(script): targetOS must be rendered
2025-01-29 11:03:32 +01:00
Loïc Mathieu
c5e7b42819
fix(script): injectDefault need the runContext
...
Otherwise you cannot render dynamic properties inside it
2025-01-29 11:03:32 +01:00
Mathieu Gabelle
25ca9f74e5
refactor: migrate plugin.core.log to dynamic properties ( #6823 )
2025-01-20 13:30:04 +01:00
Ludovic DEHON
c265b49a8e
feat(core): add taskRunner output on ScriptOutput to get detailled information on underlying taskrunner
2025-01-07 17:57:18 +01:00
Ludovic DEHON
e8ee97e26d
feat(script): add privileged flags to docker
2025-01-03 16:51:37 +01:00
Mathieu Gabelle
c6a09cd9de
refactor: migrate AbstractExecScript, CommandsWrapper, NamespaceFiles, OutputFilesInterface to dynamic properties
2024-12-31 16:01:28 +01:00
dependabot[bot]
ad5e731404
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.4.0 to 3.4.1.
- [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.4.0...3.4.1 )
---
updated-dependencies:
- dependency-name: com.github.docker-java:docker-java-transport-httpclient5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-20 14:16:20 +01:00
Loïc Mathieu
b133210fa0
feat(script): include task null outputs
...
Fixes https://github.com/kestra-io/plugin-scripts/issues/195
2024-12-17 15:08:27 +01:00
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