Closed ffjlabo closed 3 weeks ago
I investigated the plan to solve this issue.
pipe-cd/actions-event-register
is invoked
pipectl event register
is invokedtext/template
feature in the commit message through the event GIT_UPDATE; this is undocumented.
Pass the context information through actions-event-register -> pipectl -> control-plane-server -> piped -> manifest repo -> piped
--context
to the pipectl and pass contexts to itmap<string,string> context
here and pass contexts
map<string,string> context
here and store contexts
Context map[string]string
here and pass contexts
text/template
feature of the GIT_UPDATE event{{ .Context.GITHUB_SHA }}
or something like this in the commit message format through the GIT_UPDATE event config so that users can use the application repository context in the deployment SCRIPT_RUN stage or from the webhook.📝 It might be useful to add some metadata as git trailer https://git-scm.com/docs/git-interpret-trailers#_description
We will fix actions-event-register after releasing this fix. Follow https://github.com/pipe-cd/pipecd/issues/5307 for it.
What would you like to be added:
When separating the app code repo and manifests repo by using event watcher, it would be nice to link the app repo PR and PipeCD deployment.
Why is this needed:
There are some use cases. For example,