agola-io / agola

Agola: CI/CD Redefined
https://agola.io
Apache License 2.0
1.46k stars 116 forks source link

runservice: add AGOLA_RUN_COUNTER variable #473

Closed alessandro-sorint closed 4 months ago

alessandro-sorint commented 4 months ago

add AGOLA_RUN_COUNTER variable by default with run counter value to the run environment

fix #362

sgotti commented 4 months ago

fix #362

362 asked for a unique run id. The run counter is unique for the project. Is it enough?

The unique (per agola environment) run id is the run sequence.

alessandro-sorint commented 4 months ago

fix #362

362 asked for a unique run id. The run counter is unique for the project. Is it enough?

The unique (per agola environment) run id is the run sequence.

I think we can add both counter and sequence as AGOLA_RUN_COUNTER and sequence as AGOLA_RUN_ID if you agree