Giter VIP home page Giter VIP logo

Comments (8)

patriknw avatar patriknw commented on June 22, 2024 1

Should migrating to GitHub Actions be considered?

That is what we will try, but it will not be a big bang migration.

from akka-meta.

patriknw avatar patriknw commented on June 22, 2024 1

the spirit of this issue is to try to reuse work.

@ennru mentioned that it might be easier to define things for reuse at the org level with GitHub Actions

from akka-meta.

jrudolph avatar jrudolph commented on June 22, 2024 1

In general, I'm against reusing snippets in builds or providing "super-builds" or just anonymous defaults that fix the structure of builds for existing or new builds.

I'm all for unifying builds through guidelines, best practices, well-thought-out abstractions where useful and possible but simple code reuse or ad-hoc abstractions (snippets, third-party scripts like jabba) are the wrong way to go.

Good abstractions are:

  • not internal but can or could be public because of their general usability (e.g. sbt plugins)
  • referenced by a fixed id (checksum, version, etc)
    • in particular don't use internal or external scripts loaded from links that can be pulled out and replaced

In all other cases, I'd prefer copy and paste to anything else. That ensures

  • that every build is self-contained and can be debugged on the spot
  • every build can be fixed without needing access to other parts of internal infrastructure
  • builds (especially half-dormant ones) continue to work and are not disrupted by more general changes in the infrastructure

from akka-meta.

jrudolph avatar jrudolph commented on June 22, 2024

We should at least specify a specific revision if we do this. Otherwise, that sounds like a common build plugin (rf. play) but even more likely to break your builds without you even doing anything.

from akka-meta.

ignasi35 avatar ignasi35 commented on June 22, 2024

We should at least specify a specific revision if we do this. Otherwise, that sounds like a common build plugin (rf. play) but even more likely to break your builds without you even doing anything.

Sure we must be careful not relying open-range upstream dependencies. I think even the minimal approach that installs sdkman and manages caches (like in the scala example) would be an improvement.

from akka-meta.

ignasi35 avatar ignasi35 commented on June 22, 2024

Another +1 in favor of sdkman (over jabba) is that it spans beyond installing JDK's (see for example https://github.com/akka/akka-platform-guide/pull/213#pullrequestreview-504852391 where we needed maven)

from akka-meta.

softinio avatar softinio commented on June 22, 2024

Should migrating to GitHub Actions be considered?

from akka-meta.

ignasi35 avatar ignasi35 commented on June 22, 2024

Unrelated to the CI engine (TravisCI, GitHub Actions, Circle CI, etc...), the spirit of this issue is to try to reuse work.

from akka-meta.

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.