Skip to content

Commit

Permalink
doc: deprecation of core script tasks (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu authored Aug 29, 2023
1 parent 6d56a52 commit 66f4679
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions content/docs/15.migrations/core-script-tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Deprecation of core Script tasks
---

Previously, there was scripting tasks inside the core plugin (the plugin that offers core task and is always included inside any Kestra distribution). Since the introduction of the new [Script tasks](https://kestra.io/docs/developer-guide/scripts) in dedicated plugins, the old core scripting tasks have been deprecated and moved out of the core plugin.

If you use one of these tasks, you should migrate to the new one that offers improved scripting capabilities and runs by default in a separate Docker container.

If you still want to use one of the old tasks and you don't use one of our `*-full` Docker images and manually install plugins, you must include the new plugin that now includes the old deprecated tasks.

Here is the list of the old tasks with their new location and the replacement tasks:

- The [Bash](https://kestra.io/plugins/plugin-script-shell/tasks/io.kestra.core.tasks.scripts.bash) task is now located inside the `plugin-script-shell` plugin and replaced by the Shell [Commands](https://kestra.io/plugins/plugin-script-shell/tasks/io.kestra.plugin.scripts.shell.commands) and [Script](https://kestra.io/plugins/plugin-script-shell/tasks/io.kestra.plugin.scripts.shell.script) tasks.
- The [Node](https://kestra.io/plugins/plugin-script-node/tasks/io.kestra.core.tasks.script.node) task is now located inside the `plugin-script-node` plugin and replaced by the Node [Commands](https://kestra.io/plugins/plugin-script-node/tasks/io.kestra.plugin.scripts.node.commands) and [Script](https://kestra.io/plugins/plugin-script-node/tasks/io.kestra.plugin.scripts.node.script) tasks.
- The [Python](https://kestra.io/plugins/plugin-script-python/tasks/io.kestra.core.tasks.scripts.python) task is now located inside the `plugin-script-python` plugin and replaced by the Python [Commands](https://kestra.io/plugins/plugin-script-python/tasks/io.kestra.plugin.scripts.python.commands) and [Script](https://kestra.io/plugins/plugin-script-python/tasks/io.kestra.plugin.scripts.python.script) tasks.

1 comment on commit 66f4679

@vercel
Copy link

@vercel vercel bot commented on 66f4679 Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io-kestra.vercel.app
kestra-io-git-main-kestra.vercel.app
kestra-io.vercel.app

Please sign in to comment.