I have installed GitLab in Ubuntu 18.04 and moved it over to Apache. When I create a new project, with the initial commit (or any commit after) it tries to run a build. Of course this isn't going to work, as there are no build scripts available, and I never want it to build on commit, I want to create my own script to deploy the project on demand. So the questions:
1) How do I stop a new project trying to build?
2) If a commit fails, how do I clear the error in the main projects page?? (its a commit fail error)
3) In the GitLab web interface, how can I have a button to start a build/deploy?
1) Possible Scenario why auto build starts:
2) No Way, Although You can skip or run build on specific branch only
3) Gitlab has a option to run jobs manually. https://docs.gitlab.com/ee/ci/yaml/#when-manual. It will give a button on WebUI.
On 1), it might be GitLab's Auto Devops being enabled automatically.
If you do not use CI on your project, you should probably consider doing it. In any case, you can disable it globally:
root
on your GitLab instanceI have not tried this myself, but quoting community member Stayen on the GitLab forum, you can also disable CI on a single project basis:
To disable per a single project, as far as I know, disabling Pipelines from “Settings > CI” works as well.
See these posts at the GitLab Forum for more context:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With