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

v2v: Compose image name dynamically #421

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

mareklibra
Copy link
Contributor

Allows downstream patches.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1462

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1479 unchanged lines in 83 files lost coverage.
  • Overall coverage decreased (-33.6%) to 49.079%

Files with Coverage Reduction New Missed Lines %
src/k8s/objects/v2v/vmware/vmWareDeployment.js 1 0.0%
src/k8s/objects/pvc/pvc.js 1 0.0%
src/components/Wizard/CreateVmWizard/strings.js 1 94.92%
src/components/Wizard/CreateVmWizard/initialState/resultTabInitialState.js 1 0.0%
src/components/Status/Status.js 1 75.0%
src/components/Wizard/CreateVmWizard/initialState/storageTabInitialState.js 1 0.0%
src/k8s/objects/v2v/vmware/conversionPodRole.js 1 0.0%
src/k8s/objects/roleBinding/serviceAccountRoleBinding.js 1 0.0%
src/components/Wizard/CreateVmWizard/providers/VMwareImportProvider/utils.js 1 0.0%
src/components/Form/FormRow.js 1 77.78%
Totals Coverage Status
Change from base Build 1458: -33.6%
Covered Lines: 2321
Relevant Lines: 4387

💛 - Coveralls

@coveralls
Copy link

coveralls commented Apr 29, 2019

Pull Request Test Coverage Report for Build 1710

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.709%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/k8s/requests/v2v/startV2VvmwareController.js 0 1 0.0%
Totals Coverage Status
Change from base Build 1458: 0.0%
Covered Lines: 3800
Relevant Lines: 4387

💛 - Coveralls

@atiratree
Copy link
Contributor

prettier complains..


const getRegistry = () => {
const registry = get(window, 'SERVER_FLAGS.registry');
if (!registry) {
Copy link
Contributor

Choose a reason for hiding this comment

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

we should not forget to setup SERVER_FLAGS for tests and cosmos next time. Or alternatively set a default value here.

};

const getRegistryV2v = () => get(getRegistry(), 'v2v.url');
const getImageTagConversion = () => get(getRegistry(), 'v2v.conversionTag');
Copy link
Contributor

Choose a reason for hiding this comment

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

image tags could have a default value latest

@mareklibra
Copy link
Contributor Author

Info: Working on better approach via ConfigMap

Allows downstream patches.
@mareklibra
Copy link
Contributor Author

Finished, @rawagner, @suomiy , can you please have a look?

@atiratree atiratree merged commit 72f5e3c into kubevirt:master Apr 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants