Skip to content
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

Merged
merged 4 commits into from
Nov 29, 2017

Conversation

chrisplo
Copy link
Contributor

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:

  • 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

@chrisplo
Copy link
Contributor Author

works with contiv/ansible#382

@chrisplo chrisplo force-pushed the v2plugin_branch_install branch 2 times, most recently from 09ee370 to 96e9362 Compare November 16, 2017 23:35
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>
@chrisplo chrisplo force-pushed the v2plugin_branch_install branch from 96e9362 to e6e8cc8 Compare November 16, 2017 23:43
@chrisplo
Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

@tiewei tiewei left a 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
@chrisplo
Copy link
Contributor Author

build PR

@chrisplo
Copy link
Contributor Author

build PR

Copy link
Contributor

@unclejack unclejack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@unclejack unclejack merged commit fd5fca1 into contiv:master Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants