-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/push-task #19
feat/push-task #19
Conversation
6704878
to
9d0aabe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the main use case to push namespaceFiles to a Git feature branch (without git.Clone) doesn't work yet:
id: push
namespace: dev
inputs:
- name: commit_message
type: STRING
defaults: commit namespace files
tasks:
- id: push
type: io.kestra.plugin.git.Push
url: https://github.com/anna-geller/kestra
namespaceFiles:
enabled: true
branch: main
username: anna-geller
password: ghp_xxxxx
commitMessage: "{{ inputs.commit_message }}"
9d0aabe
to
c360387
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works now 🎉
and here with namespace files:
id: push
namespace: dev
inputs:
- name: commit_message
type: STRING
defaults: my commit message
tasks:
- id: push
type: io.kestra.plugin.git.Push
commitMessage: "{{ inputs.commit_message }}"
branch: feature
url: https://github.com/anna-geller/kestra
username: anna-geller
password: xxx
inputFiles:
hello.txt: hello from a flow
c360387
to
c98ccc6
Compare
@anna-geller if you want to test the two-step push, I hacked around cloning 2 repos because I don't have write rights on scripts repo (I used
|
1a5b514
to
5bd02a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c67cd4d
to
55eda08
Compare
…nstead of .git directory + private repositories testing
55eda08
to
1a4ebf2
Compare
super later but just info: I verified the example flow you provided works well on develop image @brian-mulier-p |
closes #16