GithubHelp home page GithubHelp logo

Comments (14)

caniszczyk avatar caniszczyk commented on August 12, 2024

We probably should look at if we need to build on all these old rubies...

Also, we need to find a way to not use 'sudo'

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

cc: @KL-7

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

How can I use it?
Using our new container-based stack only requires one additional line in your .travis.yml:

sudo: false

What are the restrictions?
Using sudo isn't possible (right now)

Our new container stack uses Docker under the hood. This has a lot of benefits like fast boot times and better utilization of available machine resources. But it also comes with restrictions imposed by security.

At this point, it's not possible to use any command requiring sudo in your builds.

If you require sudo, for instance to install Ubuntu packages, a workaround is to use precompiled binaries, uploading them to S3 and downloading them as part of your build, installing them into a non-root directory.

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

I see we need one thing to install: libonig-dev via apt-get

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

@KL-7 any idea why we need 'libonig-dev' or @camertron ?

from twitter-cldr-rb.

KL-7 avatar KL-7 commented on August 12, 2024

Looks like it's all about 1.8.

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

omg lets drop it :)

from twitter-cldr-rb.

KL-7 avatar KL-7 commented on August 12, 2024

I can look into it tomorrow and try to remove everything 1.8-related from the code. Then we can drop it from the build and release a new 1.8-free version.

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

Ok, I'm going to drop a build w/o 1.8 with the new Travis CI infra to see how fast the builds can improve

from twitter-cldr-rb.

KL-7 avatar KL-7 commented on August 12, 2024

ok 😿

from twitter-cldr-rb.

caniszczyk avatar caniszczyk commented on August 12, 2024

TIME TO SEE! 💨 https://travis-ci.org/twitter/twitter-cldr-rb/builds/46388433

from twitter-cldr-rb.

camertron avatar camertron commented on August 12, 2024

Just a gentle reminder to please bump the major version when releasing a 1.8-free version :)

from twitter-cldr-rb.

KL-7 avatar KL-7 commented on August 12, 2024

Yeah, definitely.

from twitter-cldr-rb.

camertron avatar camertron commented on August 12, 2024

I believe this has been resolved - we appear to be using the new Travis containerized infrastructure.

from twitter-cldr-rb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.