Skip to content

Adds image Manifest lists#18

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom
claudiubelu:adds-manifest-lists
Feb 13, 2019
Merged

Adds image Manifest lists#18
k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom
claudiubelu:adds-manifest-lists

Conversation

@claudiubelu
Copy link
Copy Markdown
Contributor

Adds BuildImageManifestLists.ps1 script which builds and tags the images
based on predefined base images.

At the moment, the base images we're building on top of are:

  • microsoft/windowsservercore:1803
  • mcr.microsoft.com/windows/servercore:ltsc2019

The script also adds suffixes (1803 and 1809 respectively) to the image
versions. Those images can then be pushed to dockerhub.

Finally, the script will create manifest lists for the images, which can
then be pushed to dockerhub.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 12, 2019
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 12, 2019
@claudiubelu
Copy link
Copy Markdown
Contributor Author

Just a quick note: all the images used by kubernetes that are under the repo "claudiubelu" are now manifest lists (for 1803 and 1809). Running some tests to make sure everything is ok. For now, it seems that all is good for WS 2019.

If everything goes well, I'll retag everything under the e2eteam repo and push the images and manifest lists there. That will also be useful for kubernetes/kubernetes#72777 , since it seems that we might use the image "e2eteam/busybox:1.29" for the "should be able to pull image from docker hub" test.

Finally, we can remove the files "image-repo-list-ws1803" and "image-repo-list-ws1809" after we've made sure we no longer use them, since we can just use the "e2eteam" repo.

@claudiubelu claudiubelu force-pushed the adds-manifest-lists branch 2 times, most recently from 1a8bfa2 to c849fff Compare February 12, 2019 11:13
Adds BuildImageManifestLists.ps1 script which builds and tags the images
based on predefined base images.

At the moment, the base images we're building on top of are:

- microsoft/windowsservercore:1803
- mcr.microsoft.com/windows/servercore:ltsc2019

The script also adds suffixes (1803 and 1809 respectively) to the image
versions. Those images can then be pushed to dockerhub.

Finally, the script will create manifest lists for the images, which can
then be pushed to dockerhub.
@adelina-t
Copy link
Copy Markdown
Contributor

@yujuhong can you confirm that the manifest lists from "claudiubelu" repository work on your gce tests so that we can move everything to the official e2eteam ?

@neolit123
Copy link
Copy Markdown
Member

and we also need to ask someone at google to push a manifest list image in the GCR, bucket as one of the kubernetes/kubernetes#72777 tests demands that.

this might require discussion and stamping of approval and i can try helping out on that front.

Copy link
Copy Markdown
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

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

the only blocker on the GCR side could be if there is a requirement for this build to be reproduced before pushed to the bucket by the GCR maintainer. also AFAIK all our automation for building manifest lists in k/k and k/release is Linux only at this point.

@adelina-t
Copy link
Copy Markdown
Contributor

@neolit123 There is an open discussion around that here: kubernetes/kubernetes#73475

@neolit123
Copy link
Copy Markdown
Member

ack, thanks @adelina-t

@PatrickLang
Copy link
Copy Markdown
Contributor

/LGTM
Thanks for getting this automated and reproducible!

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

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bclau, PatrickLang

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 Feb 13, 2019
@k8s-ci-robot k8s-ci-robot merged commit 45a20fa into kubernetes-sigs:master Feb 13, 2019
@yujuhong
Copy link
Copy Markdown
Contributor

@yujuhong can you confirm that the manifest lists from "claudiubelu" repository work on your gce tests so that we can move everything to the official e2eteam ?

Ack. I sent a PR to change our test jobs. Will let it run a few times and report the results tomorrow.

@yujuhong
Copy link
Copy Markdown
Contributor

@adelina-t our tests look fine: https://testgrid.k8s.io/google-windows#windows-prototype (since last night)
Feel free to go ahead and update the images.

@adelina-t
Copy link
Copy Markdown
Contributor

@yujuhong ACK!
@BCLAU Can you start the process of moving all images to e2eteam please?

@claudiubelu
Copy link
Copy Markdown
Contributor Author

Pushed all images, tags, manifest lists to e2eteam.

pjh added a commit to pjh/kubernetes that referenced this pull request Feb 14, 2019
As of today these have been updated with manifest lists so that they
work on multiple Windows versions.
kubernetes-sigs/windows-testing#18 (comment)
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.

6 participants