diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-04 16:02:09 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-05 00:45:56 +1300 |
commit | 8fc0b7695d8e74e9ff45ca4e1857eccbea81726c (patch) | |
tree | 541d615ee3f9d83bcf999ef7e0bfba84b3aba7da /integration/README.md | |
parent | bdd44790fb10b20a7ef4ceed161bb2ca0e4f5c48 (diff) | |
download | trove-8fc0b7695d8e74e9ff45ca4e1857eccbea81726c.tar.gz |
Build reusable Trove guest image for dev
When building the guest image for dev_mode=true, the controller IP
address is injected to the image in order for the guest-agent to
download Trove code during initialization. As a result, we have to build
guest image each time in the Trove CI because the image build relies on
the devstack host IP address.
If we could remove the dependency, we can build the image(in
devmode=true) for a specific datastore once and use that image for all
related CI jobs, which could save some time for Trove CI.
Fix the current CI issue as well.
Change-Id: If23f4f179a6ab72cfb35e4c45d55142fedb76498
Diffstat (limited to 'integration/README.md')
-rw-r--r-- | integration/README.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/integration/README.md b/integration/README.md index 2717958a..02dcaf35 100644 --- a/integration/README.md +++ b/integration/README.md @@ -135,9 +135,8 @@ PATH_DEVSTACK_OUTPUT=/opt/stack \ - if `dev_mode=false`, the trove code for guest agent is injected into the image at the building time. Now `dev_mode=false` is still in experimental and not considered production ready yet. -- If `dev_mode=true`, the script assumes to be running on the host of - trove-taskmanager, otherwise, `CONTROLLER_IP` needs to be specified - explicitly. +- If `dev_mode=true`, no Trove code is injected into the guest image. The guest + agent will download Trove code during the service initialization. For example, build a Mysql image for Ubuntu Xenial operating system: |