-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Release 1.0.0 Changes to main (#235)
* squash and merge since 0.8.0 Co-authored-by: Nox-MSFT <[email protected]> Co-authored-by: Shiyi Peng <[email protected]> Co-authored-by: shiyi-peng <[email protected]>
- Loading branch information
1 parent
30126e4
commit 33554d2
Showing
511 changed files
with
30,742 additions
and
11,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
* text=auto | ||
|
||
# require LF ending for shell scripts | ||
*.sh text eol=lf | ||
|
||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Support | ||
|
||
## How to file issues and get help | ||
## How to file issues and get help | ||
|
||
* Have a technical question? | ||
* Have a technical question? | ||
Ask on Stack Overflow with tag "iot-hub-device-update". | ||
|
||
* Found a bug, or want to request a new feature? | ||
* Found a bug, or want to request a new feature? | ||
You can use [GitHub Issues](https://github.com/Azure/iot-hub-device-update/issues) to track bugs and feature requests. If you feel like taking a stab at fixing the bug/adding the feature, please see the [Contribution guidance here](/CONTRIBUTING.md). | ||
|
||
* Need support? | ||
* Need support? | ||
Please document your question on [GitHub Issues](https://github.com/Azure/iot-hub-device-update/issues) thoroughly, attach logs and give repro steps, so that we can help you unblock as soon as possible. Note that currently Device Update for Iot Hub is in public preview stage, so there is no guaranteed response time, but we will get back to you as soon as we can. | ||
|
||
* You can also contact Microsoft Support, see details [here](https://docs.microsoft.com/azure/iot-hub-device-update/troubleshoot-device-update#contact) | ||
|
||
## Microsoft Support Policy | ||
## Microsoft Support Policy | ||
|
||
Support for IoT Hub Device Update is limited to the resources listed above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Azure Build Pipelines ReadMe | ||
|
||
## Introduction | ||
|
||
This document is intended as a guideline to understand the structure of the current build pipeline and to add more pipelines in the future when needed. | ||
|
||
## Build Templates | ||
|
||
Underneath the `templates/` directory there are two `*.yml` files. | ||
One is `adu-native-build-steps.yml`, because the default Azure VM is running on Ubuntu 18.04 amd64 environment, this is the current supported native build. The other one is `adu-docker-build.steps.yml`, which is a template of docker build. | ||
For the templates, there are two parameters: `targetOs` and `targetArch`. These parameters will be passed from build pipeline yaml files. | ||
|
||
## Native Builds | ||
|
||
The native build calls `scripts/install-deps.sh` and then calls `scripts/build.sh`. | ||
|
||
## Docker Builds | ||
|
||
The docker build pulls a container with the dependencies pre-installed from Azure Container Registry. This way, the build time can be reduced because the dependencies don't need to be installed on each build. | ||
|
||
## Add a New Pipeline | ||
|
||
If you need to add support for a new platform, likely it does not have native Azure VM support (currently it only supports Ubuntu AMD64). In this case, you need to: | ||
|
||
1. Create a docker container image with the desirable OS and architecture, clone the ADU repo | ||
2. run `scripts/install-deps.sh` to install dependencies on this container | ||
3. Push the image to Azure Container Registry | ||
4. If the combination of distro & architecture already exsits in the below matrix, you would find the yaml file, and then add a `job` on that yaml file. Example: Job `BuildAduAgent_ubuntu2004` and job `BuildAduAgent_ubuntu1804` on `docker/adu-ubuntu-arm64-build.yml`. | ||
|
||
Below is a matrix of currently supported pipeline builds | ||
| Distro | Architecture| Yaml File | | ||
|--------|--------------|-----------| | ||
| Ubuntu 18.04 | amd64 | native/adu-ubuntu-amd64-build.yml | | ||
| Ubuntu 20.04 | amd64 | docker/adu-ubuntu-amd64-build.yml | | ||
| Ubuntu 18.04 | arm64 | docker/adu-ubuntu-arm64-build.yml | | ||
| Ubuntu 20.04 | arm64 | docker/adu-ubuntu-arm64-build.yml | | ||
| Debian 9 | arm32 | docker/adu-debian-arm32-build.yml | | ||
| Debian 10 | arm64 | docker/adu-debian-arm64-build.yml | | ||
| Debian 10 | amd64 | docker/adu-debian-amd64-build.yml | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.