Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Conversation

@tbarlow12
Copy link
Contributor

  • Allow configuration to specify whether or not to run from external package
  • Set function app setting WEBSITE_RUN_FROM_PACKAGE with SAS URL of package from blob storage
  • Get deployment configuration from config.provider
  • Upload to blob storage before deployment if runFromBlobUrl is specified

@coveralls
Copy link

coveralls commented Aug 7, 2019

Coverage Status

Coverage increased (+0.2%) to 83.899% when pulling fe9ae05 on tabarlow/deploy-from-blob into 962c619 on dev.

Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

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

Added a few questions regarding the order of operations with deployment / uploading artifacts, etc.

@tbarlow12 tbarlow12 force-pushed the tabarlow/deploy-from-blob branch from 2bba607 to fe9ae05 Compare August 9, 2019 22:44
Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

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

Added a question about reusing SDK reference - otherwise looks good.

@tbarlow12 tbarlow12 force-pushed the tabarlow/deploy-from-blob branch from fe9ae05 to fd762b4 Compare August 13, 2019 20:57
});

it("calls login if azure credentials are not set", async () => {
unsetServicePrincipalEnvVariables();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was failing for some reason... Not sure how it got through the checks

Copy link
Contributor

Choose a reason for hiding this comment

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

huh, that's weird, I thought it had been added in the tests, good thing they work now then

Copy link
Contributor

@PIC123 PIC123 left a comment

Choose a reason for hiding this comment

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

LGTM!

});

it("calls login if azure credentials are not set", async () => {
unsetServicePrincipalEnvVariables();
Copy link
Contributor

Choose a reason for hiding this comment

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

huh, that's weird, I thought it had been added in the tests, good thing they work now then

@tbarlow12 tbarlow12 merged commit 28d853d into dev Aug 13, 2019
@tbarlow12 tbarlow12 deleted the tabarlow/deploy-from-blob branch August 13, 2019 21:43
tbarlow12 added a commit that referenced this pull request Sep 13, 2019
- [x] Allow configuration to specify whether or not to run from external package
- [x] Set function app setting `WEBSITE_RUN_FROM_PACKAGE` with SAS URL of package from blob storage
- [x] Get deployment configuration from `config.provider`
- [x] Upload to blob storage before deployment if `runFromBlobUrl` is specified

AB#488
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants