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

Updated docker tasks patch versions #10037

Merged
merged 1 commit into from
Apr 4, 2019
Merged

Conversation

dabasnidhi
Copy link
Contributor

No description provided.

@dabasnidhi dabasnidhi requested a review from madhuv-msft April 4, 2019 11:42
@dabasnidhi dabasnidhi requested a review from bansalaseem as a code owner April 4, 2019 11:42
@dabasnidhi dabasnidhi merged commit 35d5602 into master Apr 4, 2019
@@ -147,7 +149,7 @@ async function publishToImageMetadataStore(connection: ContainerConnection, imag
return sendRequestToImageStore(requestBody, requestUrl);
}

function extractFromOutput(dockerPushCommandOutput: string, matchPattern: RegExp): string {
function extractDigestAndSizeFromOutput(dockerPushCommandOutput: string, matchPattern: RegExp): string[] {
Copy link
Contributor

Choose a reason for hiding this comment

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

rename this to extraDigestAndSize

@@ -11,8 +11,7 @@ import { getBaseImageName, getResourceName, getBaseImageNameFromDockerFile } fro

import Q = require('q');

const matchPatternForDigest = new RegExp(/sha256\:([\w]+)/);
const matchPatternForSize = new RegExp(/size\:\s([\w]+)/);
const matchPatternForDigestAndSize = new RegExp(/sha256\:([\w]+)(\s+)size\:\s([\w]+)/);
Copy link
Contributor

Choose a reason for hiding this comment

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

Add an example output from which you are taking out this data

@dabasnidhi dabasnidhi changed the title Updated docker tasks patch versions to M150patch+1 Updated docker tasks patch versions Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants