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

Add vsphere-clone builder to decrease build time #394

Merged
merged 2 commits into from
Oct 1, 2020

Conversation

EleanorRigby
Copy link
Contributor

@EleanorRigby EleanorRigby commented Sep 29, 2020

  • Add vsphere-iso-base builder to build a base image from iso using kickstart. The builder packer user is left intact on this image for consumption by vsphere-clone builder in the next step.
  • images emitted by sphere-iso-base are prefixed with base-.
  • base image name changes made to vmware-iso-base VM and disk name too.
  • introduces new vsphere related params
    • create_snapshot: create snapshot before converting to the template.
      Useful for linked cloning which is way faster than a full clone.
    • linked_clone: enables link clone for vsphere-clone builder.
    • template: template used by vsphere-clone builder

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 29, 2020
@EleanorRigby EleanorRigby force-pushed the ta-vsphereClone branch 2 times, most recently from 3362f5a to a02bcac Compare September 29, 2020 06:16
@EleanorRigby
Copy link
Contributor Author

Can you review this? @kkeshavamurthy , @figo

@EleanorRigby EleanorRigby force-pushed the ta-vsphereClone branch 2 times, most recently from aabae64 to 0ec234c Compare September 30, 2020 20:47
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 30, 2020
  - Add vsphere-iso-base named builder to build a base image from iso
  using kickstart. The `builder` packer user is left intact on this image
  for consumption by `vsphere-clone` builder in next step.
  - images emitted by vsphere-iso-base are prefixed with `base-`.
  - base image name changes made to `vmware-iso-base` vm and disk name too.
  - introduces new vsphere related params
    + create_snapshot: create snapshot before converting to template.
    Useful for linked cloning which is way faster than full clone.
    + linked_clone: enables link clone for `vsphere-clone` builder.
    + template: template used by `vsphere-clone` builder
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 30, 2020
@EleanorRigby
Copy link
Contributor Author

Added docs.
Fixed all PR comments.

@kkeshavamurthy
Copy link
Member

looks good to me.

@figo
Copy link
Contributor

figo commented Oct 1, 2020

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 1, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EleanorRigby, figo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2020
@k8s-ci-robot k8s-ci-robot merged commit ed9c353 into kubernetes-sigs:master Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants