• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

serverless / serverless-azure-functions / 306
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: tabarlow/package-individually
DEFAULT BRANCH: master
Ran 01 Jul 2019 09:11PM UTC
Jobs 1
Files 46
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
306

push

travis-ci-com

web-flow
feat: Updates to deployment process to enable rollback (Part 2) (#185)

## High Level Overview
- Uploads a timestamped archive of code to Azure Blob Storage
- Adds same timestamp to ARM deployments to enable linking
- **Does not set `WEBSITE_RUN_FROM_PACKAGE` to use package directly from blob storage**
  - Currently just used as an archive. Initially, thought to update the `WEBSITE_RUN_FROM_PACKAGE` setting with the URL for the blob (hence the implementation of the SAS URL generator), but discovered [issues with cold start when using that methodology to deploy to Windows](https://docs.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package#enabling-functions-to-run-from-a-package).
  - Future `rollback` implementation will download the appropriate archive and re-deploy it to the Function App.
  - This may (and probably will) change as the Azure Functions Premium plan is released on Linux or cold start issues are mitigated

## Details

- Adds dependency on the `@azure/arm-storage` package
- Sets `rollbackEnabled` as default
- Updates broken tests because of timestamped deployment name
- Add tests for blob storage operations
- Allows user to still specify deployment name with rollback

Resolves [AB#388], [AB#358], [AB#414] and [AB#415]

257 of 380 branches covered (67.63%)

Branch coverage included in aggregate %.

803 of 952 relevant lines covered (84.35%)

14.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 306.1 01 Jul 2019 09:11PM UTC 0
79.58
Travis Job 306.1
Source Files on build 306
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #306
  • 659282e8 on github
  • Prev Build on dev (#301)
  • Next Build on dev (#317)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc