Comments (1)
Hey, I have great news, we've recently significantly improved the Git integration and your challenge will be solved in 0.17.0 release planned to launch on 4th of June. You can already test those new tasks by switching your docker image to develop: kestra/kestra:develop-full
Once this new task #2461 is added, you'll be able to do:
id: example
namespace: dev
inputs:
- id: event
type: JSON
tasks:
- id: scripts
type: io.kestra.plugin.core.flow.WorkingDirectory
tasks:
- id: generateFlow
type: io.kestra.plugin.scripts.python.Commands
outputFiles:
- "{{ inputs.event.file_name }}"
beforeCommands:
- pip install pyyaml
namespaceFiles:
enabled: true
commands:
- python utilities/scripts/generate_flow.py '{{inputs.event}}' utilities/flow_templates/run_dbt_tags.yml
- id: upload_to_namespace
type: io.kestra.plugin.core.namespace.Files
action: UPLOAD
namespace: dev
files: # list of RegEx strings or specific file paths
- "{{ inputs.event.file_name }}"
- id: git_push
type: io.kestra.plugin.git.PushNamespaceFiles
files:
- "{{ inputs.event.file_name }}"
gitDirectory: _flows
url: https://github.com/kestra-io/scripts
username: git_username
password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
branch: dev
from kestra.
Related Issues (20)
- containerImage don't have any impact without providing taskRunner
- Suppressing logs via pluginDefaults does not prevent a task from being marked as Warning HOT 1
- All executions need to be killed and dont terminate. HOT 1
- Internal Server Error when trying disable a webhook in the ui HOT 1
- Add ability to clean executions automatically HOT 1
- Add a task allowing to purge outputs from the current execution by IDs HOT 2
- Output of PurgeExecution task is too verbose and produces broken links in Output panel HOT 1
- Add ability to provide a comment when submitting a new revision of a flow HOT 1
- Add Kestra Pulumi package/resource provider
- Display the CRON schedule in a human-readable format (worst case using AI)
- Increase the width on the Absolute date filter to display full dates
- DbtCLI throws git error HOT 2
- Improve the raw tag to make it easier to escape curly brackets from Ansible playbooks
- Add ability to see resources consumptions by a flow HOT 3
- Avoid 404 calls on CRUD operations from a UI perspective
- Find a way to inform user about a misconfigured polling trigger
- Topology editor panel cause saving problems.
- Executions triggered via a webhook have UX issues
- Null Role or Null namespace returns success message in user group creation
- GCP Batch Task Runner does not retry DEADLINE_EXCEEDED but instead Fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kestra.