@George - i’m not sure if this is valuable here in this post, or if it should be unlisted/moved to bugs. Purpose of this post is to help if you are moving forward with some point with DO deployment for their new app platform.
I’ve just created and deployed to a new gitlab repo, then I’ve gone through the process of binding and deploying to the new DO platform. I get these two errors, making deployment fail:
Deploy Error: Non-Zero Exit Code
Your deploy failed because your container exited with a non-zero exit code.
Error code: DeployContainerExitNonZero
Deploy Error: Non-Zero Exit Code
Common Causes
- Missing dependencies, incompatible versions, incorrect environment variables or app bugs
Component Issues
- MYAPPNAME - failed to deploy
Deploy Logs:
[2021-04-18T22:59:52.458784746Z]
[2021-04-18T22:59:52.458834087Z] > new_contact_search_app@1.0.0 start
[2021-04-18T22:59:52.458840817Z] > ./index.js
[2021-04-18T22:59:52.458846434Z]
[2021-04-18T22:59:52.493535275Z] sh: 1: ./index.js: Permission denied
[2021-04-18T22:59:52.511485285Z] npm notice
[2021-04-18T22:59:52.512184080Z] npm notice New minor version of npm available! 7.7.6 -> 7.10.0
[2021-04-18T22:59:52.512679284Z] npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.10.0
[2021-04-18T22:59:52.513014345Z] npm notice Run npm install -g npm@7.10.0
to update!
[2021-04-18T22:59:52.513508861Z] npm notice
Build Logs:
[2021-04-18T22:57:06.999821949Z] cut: write error: Broken pipe
Other than this, getting setup was pretty easy - and you can also turn OFF automatic deployment, which can help the issue of two repos.