by keybits · 9y ago · 0 comments
For the 'dependencies: pre' step, you would replace that with a 'run' step, the same as outlined for 'dependencies: override'. We'll update the docs - thanks for pointing it out.
Edit: looking at another doc, https://circleci.com/docs/2.0/configuration-reference/#deplo..., the missing parent key is 'jobs:'
Also shouldn't "Search and Replace Deprecated 2.0 Keys" be "Search and Replace Deprecated 1.0 Keys" (or better "Search and Replace Deprecated Keys")?
https://circleci.com/docs/2.0/configuration-reference/#table...
Implies 'steps' is directly under 'jobs', whereas:
https://circleci.com/docs/2.0/configuration-reference/#full-...
shows that 'steps' is under 'jobs > build'
- Re:
* missing executor type
* is not supported executor type
Include https://circleci.com/docs/2.0/executor-types in the error.- This should be one error, not two.
- Why is 'working_directory' mandatory now? It wasn't before. Why not provide a default?
- 'working_directory: ~' fails. But 'working_directory: ~/' works (but then fails later). This is silly. Do path normalisation.
- https://circleci.com/docs/2.0/executor-types should include a node 8 image already. it's the current version of node and '@latest' won't be great when 9.x comes out.
- Re: https://discuss.circleci.com/t/directory-tmp-you-are-trying-.... The error is missing a word. Also checking out to a directory with existing contents should be fine.
Edit: finally got it:
https://gist.github.com/mikemaccana/b6a7be0351d769a9099f5fdb...