Skip to content

Update devguide.md#5

Open
nishant2508 wants to merge 1 commit intonimanch:release/test1/1.2from
nishant2508:nishant2508/testonlydoc
Open

Update devguide.md#5
nishant2508 wants to merge 1 commit intonimanch:release/test1/1.2from
nishant2508:nishant2508/testonlydoc

Conversation

@nishant2508
Copy link

Please replace this line with your PR description and read PR checklist below

Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines and Best Practices

  • I have read the contribution guidelines.
  • Title of the pull request is clear and informative.
  • Description of the pull request includes a concise summary of the enhancement or bug fix.

Testing Guidelines

  • Pull request includes test coverage for the included changes.
  • Description of the pull request includes
    • concise summary of tests added/modified
    • local testing done.

Draft PRs

  • Open the PR in Draft mode if it is:
    • Work in progress or not intended to be merged.
    • Encountering multiple pipeline failures and working on fixes.

Note: We use the kodiakhq bot to merge PRs once the necessary checks and approvals are in place. When it merges a PR, kodiakhq converts the PR title to the commit title, PR description to the commit description, and squashes all the commits in the PR to a single commit. The net effect is that entire PR becomes a single commit. Please follow the best practices mentioned here for the PR title and description

@nishant2508
Copy link
Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 5 in repo nimanch/iotedge

kodiakhq bot pushed a commit to Azure/iotedge that referenced this pull request Oct 22, 2021
This PR Adds a Gate which triggers E2E Test Run for a Pull Request. Currently only Ubuntu 18.04 AMD64 E2E Test has been added to save time. As we optimize more, more platforms would be added
1. Added e2e-checkin.yaml.
2. Modularize images.yaml and packages.yaml to allow using build components for e2e checkin gate. 
3. Add Conditions to selectively trigger Building Images and Packages. Edgelet Packages will only be built if there are changes in 
   edgelet directory. Images will only be built if there are changes outside of test or doc directory

TODO **AFTER** Merging PR
1. Add new pipeline and configure it to use e2e-checkin.yaml
2. Work with Repo Admin to add Status Check to run E2E Pipeline
3. Notify Team about Comment Triggers

Testing
1. Testing was done via setting up a private pipeline : https://dev.azure.com/msazure/One/_build/results?buildId=48064485&view=results
2. As a test , created a PR to in my private fork : nimanch#4 which trigger an E2E Test run : https://dev.azure.com/msazure/One/_build/results?buildId=48067190&view=results
3. Created a dummy Pull Request to my private fork with an external alias. Verified the E2E Gate does not trigger automatically. nimanch#5
4. Created a dummy PR to my private fork with an external alias. Verified that after Commenting "/azp run" with my MSFT Github account, A Pipeline run was triggered : nimanch#6
5.  Verified Existing Build Images and Build Packages Pipelines work as expected
6.  Verified that existing CI E2E Test Run uses the correct artifacts ( Resource Artifacts) -> https://msazure.visualstudio.com/One/_build/results?buildId=48091890&view=logs&j=f1061aa8-bee6-5103-5b5c-2b2c91b98c58
7. Verified that an External Alias cannot trigger E2E Test Run by Commenting /azp run on the PR . nimanch#5

Testing done

## Azure IoT Edge PR checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.

### General Guidelines and Best Practices
- [x] I have read the [contribution guidelines](https://github.com/azure/iotedge#contributing).
- [x] Title of the pull request is clear and informative.
- [x] Description of the pull request includes a concise summary of the enhancement or bug fix.

### Testing Guidelines
- [x] Pull request includes test coverage for the included changes.
- Description of the pull request includes 
	- [x] concise summary of tests added/modified
	- [x] local testing done.  

### Draft PRs
- Open the PR in `Draft` mode if it is:
	- Work in progress or not intended to be merged.
	- Encountering multiple pipeline failures and working on fixes.

_Note: We use the kodiakhq bot to merge PRs once the necessary checks and approvals are in place. When it merges a PR, kodiakhq converts the PR title to the commit title, PR description to the commit description, and squashes all the commits in the PR to a single commit. The net effect is that entire PR becomes a single commit. Please follow the best practices mentioned [here](https://chris.beams.io/posts/git-commit/#:~:text=The%20seven%20rules%20of%20a%20great%20Git%20commit,what%20and%20why%20vs.%20how%20For%20example%3A%20) for the PR title and description_
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.

1 participant