Closed yiannistri closed 1 year ago
Add/update promotion field used to capture the promotion task for the next environment in the pipeline after a successful deployment has taken place.
promotion
apiVersion: pipelines.weave.works/v1alpha1 kind: Pipeline metadata: name: podinfo namespace: default spec: promotion: pull-request: url: ssh://git@github.com/organization/repo branch: main secretRef: my-other-deployed-secret [...]
Details of the field are defined in RFC 3 as part of this PR.
We already use go-git-providers to create PRs in WGE so we should reuse the same package to support the same git providers.
go-git-providers
I understand that image automation has already the functionality implemented (i could imagine for images not for helm release) is there an opportunity to leverage any of that?
The image-automation-controller uses this package (for an example check this) so we can reference that.
If we need more stuff from that controller (e.g. helpers) let's evaluate it on a case by case basis.
Add/update
promotion
field used to capture the promotion task for the next environment in the pipeline after a successful deployment has taken place.Details of the field are defined in RFC 3 as part of this PR.
Notes
We already use
go-git-providers
to create PRs in WGE so we should reuse the same package to support the same git providers.