Giter Site home page Giter Site logo

vmware-tanzu / app-migrator-for-cloud-foundry Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 250 KB

A CLI tool for exporting and importing Cloud Foundry applications between Cloud Foundry installations.

License: Apache License 2.0

Makefile 1.11% Go 98.73% Shell 0.15%

app-migrator-for-cloud-foundry's People

Contributors

dependabot[bot] avatar malston avatar sneal avatar vmwghbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

app-migrator-for-cloud-foundry's Issues

Completion command fails if config not found

Bug: The completion command shouldn't depend on the existence of app-migrator.yml.

When running the command:

app-migrator completion zsh

I get the following error:

FATA[0000] Config File "app-migrator" Not Found in "[/Users/malston /Users/malston/.config/app-migrator /Users/malston/workspace/app-migrator-for-cloud-foundry]"

If I create an app-migrator.yml file under $HOME or $HOME/.config/app-migrator, then the command works, however, it also prints the migration summary report as well

# don't run the completion function when being source-ed or eval-ed
if [ "$funcstack[1]" = "_app-migrator" ]; then
    _app-migrator
fi
Migration took 0s
Summary: 0 successes, 0 errors.


Org       Space     App       Result

app-migrator panics with an out of memory error

There appears to be a bug with the progress bar when exporting a large number of apps within one or more spaces.

Running app-migrator export which will export all the apps from all the orgs unless specifically excluded in the app-migrator.yml file. This OOM error occurred when running this command on an org that had a space with over 160 apps in it. The stack trace seems to indicate that the issue is in the progress bar. When I disable the progress bar, the issue goes away.
stacktrace.txt

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.