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

Add template/options for using Shared Image Gallery #2687

Merged
merged 10 commits into from
Feb 19, 2020
Merged

Add template/options for using Shared Image Gallery #2687

merged 10 commits into from
Feb 19, 2020

Conversation

mbearup
Copy link
Contributor

@mbearup mbearup commented Feb 6, 2020

Add config options for arbitrary Debian-based images

Reason for Change:
Adds a template and fixes for using images from shared image gallery.

Issue Fixed:
None

Requirements:
N/A

Notes:

@welcome
Copy link

welcome bot commented Feb 6, 2020

💖 Thanks for opening your first pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix. Examples of commit messages with semantic prefixes: - fix: change azure disk cachingMode to ReadOnly - feat: make maximumLoadBalancerRuleCount configurable - docs: add note on AKS Engine and AKS relationship
Make sure to check out the developer guide for guidance on testing your change.

@acs-bot acs-bot added the size/L label Feb 6, 2020
@@ -41,7 +41,11 @@ installEtcd() {
docker run --rm --entrypoint cat ${CONTAINER_IMAGE} /usr/local/bin/etcd > "$path/etcd"
docker run --rm --entrypoint cat ${CONTAINER_IMAGE} /usr/local/bin/etcdctl > "$path/etcdctl"
else
img unpack -o "$path" ${CONTAINER_IMAGE}
# img unpack requires a non-existent dirctory
tmpdir=/root/etcd${RANDOM}
Copy link
Member

Choose a reason for hiding this comment

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

prefer mktemp ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So that's what I tried, but note the comment above - img unpack requires a non-existent directory. Once mktemp creates the directory, img will refuse to unpack to that path. Believe me I tried :) As I said earlier, I honestly don't know how this ever worked, and I couldn't find an img option to unpack to an existing directory.

@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov
Copy link

codecov bot commented Feb 15, 2020

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2687   +/-   ##
=======================================
  Coverage   72.33%   72.33%           
=======================================
  Files         137      137           
  Lines       25317    25317           
=======================================
  Hits        18314    18314           
  Misses       5947     5947           
  Partials     1056     1056

@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

/lgtm

@acs-bot
Copy link

acs-bot commented Feb 19, 2020

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@jackfrancis jackfrancis merged commit 94eae1c into Azure:master Feb 19, 2020
@welcome
Copy link

welcome bot commented Feb 19, 2020

Congrats on merging your first pull request! 🎉🎉🎉

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