Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Golden image multiple k8s versions #3680

Merged

Conversation

CecileRobertMichon
Copy link
Contributor

What this PR does / why we need it:

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

Special notes for your reviewer:

If applicable:

  • documentation
  • unit tests
  • tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

@codecov
Copy link

codecov bot commented Aug 15, 2018

Codecov Report

Merging #3680 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3680   +/-   ##
=======================================
  Coverage   55.41%   55.41%           
=======================================
  Files         108      108           
  Lines       16098    16098           
=======================================
  Hits         8920     8920           
  Misses       6412     6412           
  Partials      766      766

@CecileRobertMichon CecileRobertMichon changed the title [WIP] Golden image k8s versions Golden image multiple k8s versions Aug 15, 2018
@CecileRobertMichon
Copy link
Contributor Author

Running https://jenkins.azure-containers.io/view/acs-engine/job/k8s-deploy-linux-default-CSE-PR/ on this branch since 8/16 at 10:20am PST

@@ -121,7 +121,7 @@ function installContainerd() {
echo "Successfully installed cri-containerd..."
}

function extractHyperkube() {
function pullHyperkube() {
TMP_DIR=$(mktemp -d)
retrycmd_if_failure 100 1 30 curl -sSL -o /usr/local/bin/img "https://acs-mirror.azureedge.net/img/img-linux-amd64-v0.4.6"
Copy link
Member

Choose a reason for hiding this comment

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

Should we have a separate func to get the img binary dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could but it's only being used in this function for now so I would just be breaking the function down into two separate functions and always calling them one after the other. I also tried to limit the changes and since it was already in the same func I left it as is. If you think it's important I can do it, let me know.

@jackfrancis
Copy link
Member

/lgtm

@acs-bot
Copy link

acs-bot commented Aug 16, 2018

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, jackfrancis

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:
  • OWNERS [CecileRobertMichon,jackfrancis]

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

@jackfrancis jackfrancis merged commit 62d63a6 into Azure:master Aug 16, 2018
@ghost ghost removed the in progress label Aug 16, 2018
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.

3 participants