drainpipe icon indicating copy to clipboard operation
drainpipe copied to clipboard

Do not force to scaffold Nightwatch.gitlab-ci.yml

Open plopesc opened this issue 1 year ago • 2 comments

Not all the projects require the Nightwatch.gitlab-ci.yml file.

In fact, in our case, pipelines are broken when this file is included because we get this error in Gitlab.

Unable to create pipeline
report-nightwatch job: chosen stage does not exist; available stages are .pre, build, test, deploy, performance, .post

Having this file optional and only installed if declared in the composer.json specific section like the rest of gitlab scaffolding files would avoid this error.

Thank you

plopesc avatar Sep 26 '24 11:09 plopesc

@plopesc thanks! Could you update the documentation to explain how to bring this file in going forward? As it's a breaking change it'll need a major release

justafish avatar Nov 25 '24 14:11 justafish

@justafish Added a very basic doc regarding the mentioned file.

I checked #351 to get a better understanding of the needs that new file tries to cover but I was unable to get a better picture.

Let me know if you think that documentation is good enough or needs any improvement.

plopesc avatar Nov 25 '24 14:11 plopesc

Closing as duplicate of https://github.com/Lullabot/drainpipe/pull/901

m4olivei avatar Aug 12 '25 14:08 m4olivei