Giter Site home page Giter Site logo

magedeploy2's People

Contributors

cgeidt avatar davidlambauer avatar mwr avatar osrecio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

magedeploy2's Issues

make clean_dirs configurable

Hi Matthias,

I was wondering, since Magento changed it's way of using var/generation I'd like to suggest to use:

        'clean_dirs' => explode(',',getenv('CLEAN_DIRS')) ?: [
            'var/cache',
            'var/di',
            'var/generation',
        ],

So we can use: CLEAN_DIRS = 'var/cache,generated/code,generated/metadata'

Let me know what you think,

Stevie

artifacts folder does not exist automatically

New version of deployed files: 1489763125
 [Mwltr\Robo\Magento2\Task\SetupStaticContentDeployTask] Done in 40.898s
➜
➜                                  GENERATE ARTIFACTS
➜
 [Progress] cleanup old packages
 [Filesystem\FilesystemStack] remove ["artifacts\/var_di.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/var_generation.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/pub_static.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/shop.tar.gz"]
 [Progress] creating packages
 [Exec] Running /usr/bin/tar  -czf ../artifacts/var_di.tar.gz var/di in shop
tar: Failed to open '../artifacts/var_di.tar.gz'
 [Exec]  Exit code 1  Time 0.017s
 [notice] Stopping on fail. Exiting....
 [error]  Exit Code: 1
 [error]    in task Robo\Task\Base\Exec


The folder artifacts isn't created automatically, so I had to manually create it to avoid this warning.

shop/shop.tar.gz does not exist

I've generated my artifacts, but when I run server:setup local, it complains that it cannot find the tar.gz file;

➜  magedeploy2-test./vendor/bin/dep server:setup local
➤ Executing task deploy:initialize
Deploying 20170317050054 to releases/20170317050054
✔ Ok
✔ Executing task deploy:prepare
✔ Executing task build:shared_dirs_generate
✔ Executing task deploy:release
➤ Executing task build:upload_artifacts


  [RuntimeException]
  Uploading path 'shop/shop.tar.gz' does not exist.


server:setup [-p|--parallel] [--no-hooks]

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.