Coder Social home page Coder Social logo

Comments (3)

jessereynolds avatar jessereynolds commented on August 17, 2024

@someword - right, in 8b6744b I added the optional SKIP_S3_STORE environment variable. If you set it (to anything) then the push to S3 will be skipped. Is this good enough, do you think? I was wondering if this would still trip people up and perhaps the environment variable should have been the other way around (only try storing to S3 if the variable is set, eg FLAPJACK_STORE_TO_S3

Also, the version of flapjack to build now also needs to be set in FLAPJACK_BUILD_TAG (eg "0.8.4") and you don't need to update the version string in config/{software|projects}/flapjack.rb anymore. See https://github.com/flpjck/omnibus-flapjack#vagrant-based-virtualized-build-lab and https://github.com/flpjck/omnibus-flapjack#automatic-upload-to-s3

...It's a bit klutzy using environment variable so heavily around this stuff but the only way around it I can see is having a script in front of vagrant, but this seems worse. It'd be nice if you could set arbitrary variables for consumption in the Vagrantfile by passing them in the command line to vagrant, eg vagrant up -- skip-s3-store=true flapjack-build-tag=0.8.4 etc ... anyway, back to the subject at hand...

from omnibus-flapjack.

jessereynolds avatar jessereynolds commented on August 17, 2024

Actually, the SKIP_S3_STORE implementation was not complete in the aforementioned commit. I should have fixed this in 56e0d91 - I will test this a bit later.

from omnibus-flapjack.

jessereynolds avatar jessereynolds commented on August 17, 2024

With the new workflow this can be achieved by setting the following ENV var prior to running the build script:

export skip_package_upload=true

from omnibus-flapjack.

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.