29 Jan 2013 · Semaphore News

    Passwordless sudo for all

    2 min read

    One of the goals we had with the [recent platform upgrade][platformupgrade] was to have the infrastructure in place so that we can allow all customers to install additional software and tweak configuration settings by themselves.

    Our practice so far has been to enable additional packages or configuration on your request. This has worked well in most cases, and has led us to see which libraries people frequently need, which in turn helped us learn how to enrich and evolve our [build stack][buildstack]. That’s our approach in general: start with something small we’re sure about, then listen and learn to how improve it.

    It obviously has the downside of having some back and forth with our customers, which 1) doesn’t scale and 2) doesn’t work if customers are not sure what they need. So today we’re taking a step forward and allowing everyone to have build commands like sudo apt-get install -y awesomeness.

    We’re also introducing a small change in the UI: if you’ve arranged your builds commands in “Setup” and “Thread #X”, then you’ll see the passed setup commands initially hidden:

    Green setup commands hidden from build results

    Current customers with a custom setup arranged over our support channel will see it become part of their editable build settings over the next day or two.

    You’ll see that installing additional components doesn’t take much time on Semaphore. For instance, setting up a custom Redis server from a PPA takes less than 10 seconds, while packages from the official Ubuntu distribution channels take even less. We’ll be monitoring the custom installation commands in order to continue improving our build stack and provide the best hosted CI experience for our customers.

    [platformupgrade]: http://renderedtext.com/blog/2013/01/16/semaphore-build-platform-upgrade/
    [buildstack]: http://docs.semaphoreapp.com/version-information

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Writen by:
    Marko Anastasov is a software engineer, author, and co-founder of Semaphore. He worked on building and scaling Semaphore from an idea to a cloud-based platform used by some of the world’s engineering teams.