You will need roughly 2 minutes to read this article.
Root access via sudo is currently in a closed beta. Please contact email@example.com to be added.
Although CodeShip Basic already has a long list of packages installed, you can install most packages yourself if you find that something is missing. CodeShip Basic supports running commands as
sudo giving you root-level access; with a few caveats.
With the sudo access, you can run
apt-get update and
apt-get install <package> to install packages, even if they would normally require root-level access.
You can also start new services (custom or standard), assuming they don’t try to do any of the things mentioned below.
Note: When you are looking for packages to install, look for those that work on
Ubuntu 14.04 (Trusty) as that is the underlying Linux we use for the build machines. A newer version of Ubuntu (and other flavors) might be available later in the year.
Although you get sudo/root-level access, there are still things you can’t do as CodeShip Basic is still a shared platform:
With so many pre-installed packages, and the amount of packages that could potentially be installed, it’s not unthinkable that what you’re trying to do might not work.
Main thing to check is to make sure that whatever you’re trying to install or start doesn’t try to change resources (or anything else in the list above).
It is also possible (esp. for language versions) that you can install it differently, without having to manually install the package. An example could be installing a different version of Ruby using rvm. If it’s not a language, double check the list of installed packages
And if it’s still failing, contact firstname.lastname@example.org so we can help you figure out what’s going on.
Do you think we need to improve this article? If so, please submit our feedback form to help us improve this article!