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)
- 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
- Any steps for installing it on kube cluster
- Documentation: Add frontmatter to WSL docs HOT 2
- Update FDO Components To Version 1.1.6
- Update FDO Components To Version 1.1.7
- Automation: Create GHA to generate CHANGELOG entries aligned with a release
- All-in-one installation failed HOT 2
- All-in-One Management Hub Installation HOT 1
- The deploy script is only pulling x86 even for Macs M1 HOT 2
- `test-mgmt-hub.sh` fails after fresh install through all-in-one script HOT 1
- Development: OpenBao support
- horizon.service is missing when running deploy-mgmt-hub.sh on Ubuntu 20.04 HOT 1
- Cannot start mgmt hub due to failing css-api container 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.