-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install branch built v2plugin #307
Conversation
works with contiv/ansible#382 |
09ee370
to
96e9362
Compare
Works with: contiv/ansible#382 When building the installer, prepare_netplugin_artifacts.sh will now also build the v2plugin locally if the NETPLUGIN_BRANCH variable is set, and move those to the staging area so that build.sh can move them to the contiv_cache directory in the installer. The newer contiv/ansible will detect the v2plugin archive and install it instead of doing docker plugin install from dockerhub. prepare_netplugin_tarball.sh was renamed to prepare_netplugin_artifacts.sh because it does more than just prepare a tarball now. Drive-by: * Bumps the default contiv version to 1.1.7 * v2plugin version defaults to the default contiv version Signed-off-by: Chris Plock <chrisplo@cisco.com>
96e9362
to
e6e8cc8
Compare
build PR |
Makefile
Outdated
export CONTIV_ANSIBLE_OWNER ?= contiv | ||
export CONTIV_V2PLUGIN_TARBALL_NAME := v2plugin-$(CONTIV_V2PLUGIN_VERSION).tar.gz | ||
export CONTIV_ANSIBLE_COMMIT ?= build_v2plugin_on_demand | ||
export CONTIV_ANSIBLE_OWNER ?= chrisplo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roll these two lines back when contiv/ansible#382 merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable
…tall Conflicts were in Makefile, on CONTIV_ANSIBLE_COMMIT and a couple added variables right after that
build PR |
build PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Works with:
contiv/ansible#382
env.json now passes a flag to build the v2plugin at install time or
not, and that flag is managed during build.sh based on if
NETPLUGIN_BRANCH is set during build.
All the scripts and resources in netplugin:install/v2plugin are copied
to the install archive's staging directory then into the installer
archive.
renamed prepare_netplugin_tarball.sh to prepare_netplugin_artifacts.sh
because it does more than just prepare a tarball now
Drive-by:
Signed-off-by: Chris Plock chrisplo@cisco.com