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

[WIP] Add support to download context file from Azure Blob Storage #816

Merged
merged 14 commits into from
Oct 25, 2019

Conversation

yangtaokm
Copy link
Contributor

Add support for downloading Build Contexts from Azure blob storage

Description

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • [please advise ] Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Release Notes

Describe any changes here so maintainer can include it in the release notes, or delete this block.

Add support for downloading Build Contexts from Azure blob storage

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@tejal29
Copy link
Contributor

tejal29 commented Oct 15, 2019

@yangtaokm please sign the Google CLA.

Copy link
Contributor

@tejal29 tejal29 left a comment

Choose a reason for hiding this comment

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

@yangtaokm mostly nits. But the flow looks good!

Thank you for adding support to azure Storage. Do you plan to use it?

args: ["--dockerfile=<path to Dockerfile within the build context>",
"--context=https://myaccount.blob.core.windows.net/container/path/to/context.tar.gz",
"--destination=<registry for image push>"]
...
Copy link
Contributor

Choose a reason for hiding this comment

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

examples should point to a working yaml. Ideally users can just copy and replace the variables. Can you please remove the ...

pkg/buildcontext/azureblob.go Outdated Show resolved Hide resolved
pkg/buildcontext/azureblob.go Outdated Show resolved Hide resolved
pkg/buildcontext/azureblob.go Outdated Show resolved Hide resolved
pkg/constants/constants.go Outdated Show resolved Hide resolved
pkg/util/azureblob_util.go Outdated Show resolved Hide resolved
pkg/util/azureblob_util.go Outdated Show resolved Hide resolved
pkg/buildcontext/azureblob.go Outdated Show resolved Hide resolved
@tejal29
Copy link
Contributor

tejal29 commented Oct 24, 2019

@yangtaokm Can you please sign the Google CLA.

@yangtaokm
Copy link
Contributor Author

@googlebot I fixed it

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@tejal29 tejal29 marked this pull request as ready for review October 25, 2019 17:50
@tejal29 tejal29 merged commit c5bc179 into GoogleContainerTools:master Oct 25, 2019
@yangtaokm
Copy link
Contributor Author

@tejal29 thank you again for the review, suggestion and accepting the PR. We definitely will use Kaniko with Azure Blob Storage going forward. Thanks!

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