Skip to content

test: cluster template for building from custom images#1246

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
jackfrancis:custom-images
Apr 19, 2021
Merged

test: cluster template for building from custom images#1246
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
jackfrancis:custom-images

Conversation

@jackfrancis
Copy link
Copy Markdown
Contributor

What type of PR is this?

What this PR does / why we need it:

This PR establishes a standard prow template for creating clusters from custom upstream build artifacts.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. area/provider/azure Issues or PRs related to azure provider labels Mar 16, 2021
@k8s-ci-robot k8s-ci-robot added sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 16, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @jackfrancis. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@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 Mar 16, 2021
@jackfrancis
Copy link
Copy Markdown
Contributor Author

cc @chewong

This is WIP at present

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Mar 17, 2021
@jackfrancis jackfrancis changed the title test: prow template for building from custom images test: cluster template for building from custom images Mar 22, 2021
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 22, 2021
@jackfrancis jackfrancis force-pushed the custom-images branch 2 times, most recently from f306aa7 to b5862b4 Compare March 23, 2021 00:01
@jackfrancis
Copy link
Copy Markdown
Contributor Author

cc @chewong

This is WIP at present

No longer true, this new template is tested working via tilt (and documented in this PR as such)

Comment thread docs/topics/kubernetes-developers.md
Comment thread templates/flavors/custom-builds/patches/custom-builds.yaml
Comment thread templates/flavors/custom-builds/patches/custom-builds.yaml Outdated
Comment thread docs/topics/kubernetes-developers.md Outdated
@CecileRobertMichon
Copy link
Copy Markdown
Contributor

@jackfrancis @chewong how do this and #1264 relate? Do we need both or is #1264 a superset?

@chewong
Copy link
Copy Markdown
Member

chewong commented Apr 5, 2021

@jackfrancis @chewong how do this and #1264 relate? Do we need both or is #1264 a superset?

#1264 was built on top of this PR. I will continue working on #1264 once this is merged.

@chewong
Copy link
Copy Markdown
Member

chewong commented Apr 5, 2021

In the meantime, can we move forward on this PR?

@CecileRobertMichon
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 5, 2021
@CecileRobertMichon
Copy link
Copy Markdown
Contributor

/test ls

Comment thread templates/flavors/custom-builds/patches/custom-builds.yaml Outdated
@jackfrancis jackfrancis force-pushed the custom-images branch 4 times, most recently from b33037a to ce73e0c Compare April 14, 2021 16:32
Comment thread docs/topics/kubernetes-developers.md Outdated
Comment thread templates/test/dev/custom-builds/kustomization.yaml Outdated
Comment thread Tiltfile Outdated
- content: |
#!/bin/bash

retrycmd() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not a huge fan of having this complex bash script in line in the template, would be good if we can move it to a separate file and inject it at some point (follow up). Also it should really live in https://github.com/kubernetes-sigs/cluster-api/tree/master/test/framework/kubernetesversions/data, there's nothing here that's Azure provider specific.

@CecileRobertMichon CecileRobertMichon mentioned this pull request Apr 14, 2021
8 tasks
@CecileRobertMichon
Copy link
Copy Markdown
Contributor

@jackfrancis overall this is a good start, pending my last 2 comments (revert tiltfile change and docs + use default as base), lgtm

I opened #1314 to track further improvements that I'd like us to explore as follow up, no need to block this though, this is great progress.

@jackfrancis jackfrancis force-pushed the custom-images branch 2 times, most recently from 02f2da7 to 880a38e Compare April 14, 2021 23:31
Comment thread templates/test/dev/cluster-template-custom-builds.yaml Outdated
Comment thread docs/topics/kubernetes-developers.md Outdated
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 15, 2021
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 19, 2021
@CecileRobertMichon
Copy link
Copy Markdown
Contributor

/lgtm
/approve

as mentioned above. let's merge and iterate. We can track TODOs in #1314.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 19, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon

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

The pull request process is described here

Details 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 Apr 19, 2021
@k8s-ci-robot k8s-ci-robot merged commit bbb0867 into kubernetes-sigs:master Apr 19, 2021
@k8s-ci-robot k8s-ci-robot added this to the v0.5.0 milestone Apr 19, 2021
@jackfrancis jackfrancis deleted the custom-images branch December 9, 2022 23:04
willie-yao pushed a commit to willie-yao/cluster-api-provider-azure that referenced this pull request Jul 11, 2025
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. area/provider/azure Issues or PRs related to azure provider 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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants