Giter VIP home page Giter VIP logo

azure-functions-integration-tests's Introduction

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

azure-functions-integration-tests's People

Contributors

francisco-gamino avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azure-functions-integration-tests's Issues

ExtensionMetadataGenerator tests

@brettsam - when you get a chance can you please add details here for metadata generator integration tests? Is this a good repo to track adding tests for this?

If this is not the right place, please close this issue.

Building host + workers + Core Tools

  1. Create a pipeline at each worker repro (example below focuses on the PowerShell)

    • Build worker, skip tests, push nuget package to our internal DevOps Artifacts feed
  2. Create a pipeline in the azure-function-integration-tests that checks out the Host dev branch, updates the references of the packages for the workers (created in 1), and builds the Host bits using the build-extensions.ps1 script.

  3. Create a pipeline in the Core Tools or azure-function-integration-tests repo to build the Core Tools

    • Update package reference in the Core Tools to use the latest created packages for the workers and Host
    • Build Core Tool v3, mark this version as ‘PreRelease`, push/copy to storage account so that this version can be access via our tooling feed
    • Push core tools to a storage account
    • run e2e tests pillung core tools generated above

Functions metrics tests

Functions metrics tests

  • Identify the metrics that we care about
  • Create functions apps in our test region
  • Leverage self-alerts service to validate the metrics. If the expected result are not present file a sev 3 icm

For the August demo, set test function app in Consumption and Premium and look at function executions. Send an email notification instead of ICM

Research private stamp testing using the latest Host and worker bits from the nightly build

Research private stamp testing using the latest Host and worker bits from the nightly build.

We will need these details for the test plan review which will take place at the end of August 2020.

Here is some additional details from the workitem (https://github.com/pragnagopa/azure-functions-integration-tests/issues/1) that @pragnagopa created on her repo.
Please reach out to her in case you have any questions on this area.

Here is a potential flow to get started, but again, I could be missing important details.

  1. Pull Functions Host bits from CI dev nightly build (we can get these from our internal prerelease feed)
  2. Prepare Host bits for private stamp (there might be an additional step between 1 and 2
  3. Upload to blob via Update RU feed for Windows
  4. Pull latest RU feed
  5. Update RapidUpdateFeed.xml and upload host.zip to the blob storage used by the private stamp
  6. Kick off test runs on each language worker - with FunctionAppURLs on private stamp

Once you have this information, please add it to the test doc.

Research how to run integration tests on a private stamp

Once the private stamp is set up:

  • enumerate steps needed to run the tests themselves on the private stamp

  • answer the following question: How to schedule tests? How to run the tests? Where to see the test results?

  • Investigate both Windows and Linux scenarios

time estimation: 5 days

Update Core Tools pipeline to support building for Integration Tests

Create a pipeline in the Core Tools or azure-function-integration-tests repo to build the Core Tools

  • Update package reference in the Core Tools to use the latest created packages for the workers and Host from the internal DevOps * Artifacts feed. Build Core Tool v3, mark this version as ‘PreRelease`
  • Push core tools to a storage account
  • Run e2e tests pillung core tools generated above

Automate nightly build private stamp flow

  • Need to automate: pulling down RU feed and uploading host bits to storage account.

Create a function app which will:

  1. Copy files from prod RU feed into custom RU feed.
  2. Get host bits from storage account, and use UpdateStorageSiteExtensions.exe tool to upload the bits to the custom RU feed.

time estimation: 5d

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.