Code Monkey home page Code Monkey logo

Comments (5)

dustymabe avatar dustymabe commented on September 17, 2024

Would be nice to make it configurable, but I could see that being a problem too. Really people should be archiving the outputs somewhere else if they want to keep things around.

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024

I'm in the process actually right now of using c-a and archiving the builds to s3. My current approach here is to just sync in the previous build's metadata (I may try to land some of this code in c-a at some point).

This also implies that GC of jobs lives outside of this repo.

So we need to split this discussion into "local development" versus production.

Personally for the local dev case I just coreos-assembler clean periodically.

from coreos-assembler.

jlebon avatar jlebon commented on September 17, 2024

Yeah, for prod we definitely want to encourage syncing somewhere else.

My current approach here is to just sync in the previous build's metadata

OK yeah, that makes sense. Though that sounds like syncing in/out should be outside of this repo, right? I.e. instead of hardcode a specific service here. Or maybe we could support passing a link to init to a hosted build dir from which we pull the previous build metadata.

Personally for the local dev case I just coreos-assembler clean periodically.

OK, let's consider #140 as targeting the local dev case. Will follow up there.

from coreos-assembler.

cgwalters avatar cgwalters commented on September 17, 2024

This looks like it added reverse=True to the builds.json sorting order right?

Before:

json.dump({"builds":
           list(map(lambda x: x[0], sorted(builds, key=lambda x: x[0])))},

After:

builds = sorted(builds, key=lambda x: x[1], reverse=True)

Was that intentional? I guess we should just move forward with it.

from coreos-assembler.

jlebon avatar jlebon commented on September 17, 2024

Yes, it was. Just seemed nicer to have the most recent one be first since that's what we're most interested with.

from coreos-assembler.

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.