Skip to content

← All questions

Environment "qa" has no file at projects/demo-shop/envs/qa.yaml

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Declared it in the project file:

yaml
envs:
  default: staging
  available: [local, staging, qa]
bash
sdods run -p demo-shop -e qa -l api
text
✖ ENV_NOT_FOUND: Environment "qa" has no file at /work/shop-tests/projects/demo-shop/envs/qa.yaml
  hint: Run `sdods env add qa --project demo-shop --ui-url ... --api-url ...`.
  docs: https://docs.sdods.com/docs/guides/configuration

Does an environment have to have a file? I only wanted the name to exist so CI could pass it through.

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related