calind
(Calin Don)
October 12, 2021, 11:41am
1
Hi,
It would be very useful to be able to set custom commit statuses for different build steps. For example, in the default pipeline, we usually have lint/test/build/publish steps. It would be great if we were able to set the continuous-integration/drone/lint
build status for the commit.
TP_Honey
(TP Honey)
October 13, 2021, 9:34am
2
calind:
uld be very useful to be able to set custom commit statuses for different build steps. For example, in the default pipeline, we usually have lint/test/build/publish steps. It would be great if we were able to set the continuous-integration/drone/lint
build status for the co
Github Release | Drone seems like it would be a good fit.
calind
(Calin Don)
October 18, 2021, 9:47am
3
I don’t see how. What I’m proposing is to have custom commit statuses set by drone. An example would be something like:
steps:
- name: lint
image: golang:1.16
commands:
- make lint
statuses:
- continuous-integration/drone/lint
This way, drone would set all applicable statues to pending
when the pipeline starts and sets status failure
/success
according to the step status.
TP_Honey
(TP Honey)
October 18, 2021, 10:10am
4
calind:
m proposing is to have custom commit statuses set by drone. An example would be something like:
steps:
- name: lint
image: golang:1.16
commands:
- make lint
statuses:
- continuous-integration/drone/lint
This way, drone would set all applicable statues to pending
when the pipeline starts and sets st
I am not sure i am following. Do you want
to update the github commit message for every step, every single time.
or
update the commit message depending on whether the build failed or passed.
I really dont follow drone would set all applicable statues to pending when the pipeline starts
what applicable statuses ?
calind
(Calin Don)
October 18, 2021, 2:26pm
5
For reference see Per-Step GitHub Commit Statuses - Buildkite Blog .
What I was proposing was for the feature to be more “free-form” in the sense that only some build steps to update the commit statuses.