Comments (3)
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.
@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.
@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)
- Error: http code 400 from: vaultUnseal HOT 6
- The documentation directory is not showing up! HOT 3
- Generate SBOM information for all Open Horizon components at each release. HOT 2
- HTML formatting errors in docs/readme.md HOT 5
- Move openhorizon-tested-versions.txt to .github repo
- Add new architectures to openhorizon-tested-versions.txt
- Broken link in README.md mgmt-hub/README.md HOT 3
- Hyperlink format is incorrect on All-in-One doc HOT 2
- Fix Mgmt Hub redirect link HOT 2
- deploy-mgmt-hub.sh - Add support for Ubuntu 22.10
- Error running make publish-only: ARCH=amd64 make publish-service-overwrite
- ...
- Encounter Error in ./deploy-mgmt-hub.sh Error: exit code 5 HOT 4
- Create installation instructions for Agent on Windows Subsystem for Linux HOT 1
- Log files are consuming too much disk space. HOT 6
- Version pinning external images such as Mongo and Postgres
- Documentation: Issue 394 in docs - broken links
- Add FDO Support
- Problem with Stopping and Restarting containers. HOT 1
- Add an Ansible playbook to deploy the management hub all-in-one. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devops.