Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Scripts change to enable CI for vFile. #1881

Merged
merged 1 commit into from Sep 14, 2017

Conversation

luomiao
Copy link
Contributor

@luomiao luomiao commented Sep 13, 2017

Added a new function name vfileplugin for deploy-and-test-wrapper.sh, which include the following targets:
TARGET=" build-plugin build-vfile-plugin deploy-vm deploy-vfile-plugin test-e2e-runonce-vfile

This target will build both vDVS and vFile plugins and deploy them on the testbed VMs.
After that, run the tests with build tag runoncevfile.

Have tested with local testbed and is able to get 6 passed results:

OK: 6 passed
--- PASS: Test (94.89s)
PASS

Fixes: #1684

@@ -339,6 +342,11 @@ build-windows-plugin:
$(BUILD_WINDOWS_PLUGIN_SH) $(WIN_VM1)
deploy-windows-plugin:
$(DEPLOY_WINDOWS_PLUGIN_SH) "$(WIN_VMS)"
build-vfile-plugin:
$(BUILD_PLUGIN_SH) "$(VM2)" $(VFILE_PLUGIN_BIN) $(MANAGED_PLUGIN_LOC) $(SCRIPTS) $(DOCKER_HUB_REPO) $(VERSION_TAG) $(EXTRA_TAG) $(VFILE_PREFIX)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why it is "$(VM2)"? I think it should be "$(VMS)".

Copy link
Contributor Author

@luomiao luomiao Sep 13, 2017

Choose a reason for hiding this comment

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

This is build, not deploy, so it only needs one VM :) see how build-plugin target works.

@luomiao luomiao merged commit aaa7af5 into vmware-archive:master Sep 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants