Giter VIP home page Giter VIP logo

Comments (3)

bmpotter avatar bmpotter commented on August 17, 2024 1

The primary use case i had in mind is: i'm a developer wanting to make some code changes to 1 of the mgmt hub components. So i need to make my code changes, build it, and get it running in the mgmt hub so i can test it. The mgmt hub components are all docker images, so the straightforward way to do this is build the docker image with an updated version/tag, and run deploy-mgmt-hub.sh -u to get it running. But that is a slow iteration cycle when you need to code/test a lot of times. The more streamlined approach is to rebuild just the executable (usually what is started by the start cmd of the docker image), then copy it into the running container, and run deploy-mgmt-hub.sh -r <container. This technique needs to be tested for each mgmt hub component, documented, and if necessary provide small utility scripts to make it as easy as possible.

A similar approach could apply to the agent: rebuild the anax executable, replace it on the host, and run systemctl restart horizon

from devops.

codejaeger avatar codejaeger commented on August 17, 2024

@bmpotter Can I work on this issue? I started experimenting with Open Horizon through the all in one deployment and this seems a useful utility.

from devops.

codejaeger avatar codejaeger commented on August 17, 2024

@bmpotter, I have a few questions, these utilities are they meant for when any of the above 4 has a change in the source code? You mentioned only the binaries by which I guess you meant horizon and horizon-cli packages. Also, should a way be added to reflect the updates made to the source code not only from the remote but from local also?
I also wanted to ask is there a reference to how the agbot image was built for this utility. Some parts of its working is still a mystery to me (I did find how the e2edev-agbot was built, is it similar?).
Thanks.

from devops.

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.