Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

plopesc
Copy link
Contributor

@plopesc plopesc commented Sep 26, 2024

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 plopesc requested a review from justafish September 26, 2024 11:17
@plopesc plopesc changed the title Do not force to scaffold Nightwatch.gitlab-ci .yml Do not force to scaffold Nightwatch.gitlab-ci.yml Sep 26, 2024
@justafish
Copy link
Member

@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

@plopesc
Copy link
Contributor Author

plopesc commented Nov 25, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants