Hi all,
GoCD version:
20.1.0 (11114-f2c1771e333ea92dae82cd78d2efa1310c1086f0).
I'm aware of a go-cd installation where, with at least one pipeline
(not all have this behavior), one of the manual stages, when
triggered, pops up a confirmation dialog box that says "Do you want to
run the stage 'StageDeploy'?". The dialog has two buttons "No" and
"Yes". Most other manual stages don't have this, they just go ahead
and run.
I've attached screen captures of the relevant configuration.
stage-deploy.png is the stage configuration, confirm-dialog is the
dialog itself, once the ">|" button (between the preceding stage and
the manual stage deploy) is pressed.
When I set up a local go-cd installation for testing things out, I
*don't* get this dialog. This is with a very simple two-stage
pipeline where the second pipeline is Manual (just as in the
stage-deploy screen shot).
A grep of the source code tag 21.1.0 has this
"Do you want to run the stage '${stage.stageName()}'?"
in server/src/main/webapp/WEB-INF/rails/webpack/views/pages/pipeline_activity.tsx
(in runStage(stage: Stage) at line 104.
So it looks like there's *something* that can trigger the dialog (the
screenshots show the dialog being shown, the source shows what might
be showing that, now I just need to find *what* triggers that dialog.
Can anyone point out (in the documentation, or by description) how to
configure a stage so that that confirmation dialog pops up?
In my test setup, I've only tested:
A -- no authentication
B -- file authentication with only admin in there
I mention authentication above since the other system that does have
this confirmation pop-up (which I can't inspect, I only have the
screenshots) but also a more complex authentication and authorization
setup.
possibly related (esp 4064) but I don't see any of them showing a
specific solution.:
*
https://github.com/gocd/gocd/issues/4064
*
https://groups.google.com/forum/#!msg/go-cd/KgsOGTPGqpM/UsR0HvfH9UkJ;context-place=forum/go-cd
*
https://github.com/gocd/gocd/issues/50
*
https://github.com/gocd/gocd/issues/4037
Many thanks for any pointers.
Gerald Quimpo