-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,629 changed files
with
199,578 additions
and
16,570 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
@rem Create documentation for edrav2 | ||
set selfDir=%~dp0 | ||
@if not "%~1"=="" set ADSROOTPATH=%~1 | ||
@if not defined ADSROOTPATH echo ERROR: Path to ADS folder MUST BE passed to script as first argument or defined as an environment variable "ADSROOTPATH"&exit /b 1 | ||
@if not exist "%ADSROOTPATH%\makedoc.cmd" echo ERROR: "%ADSROOTPATH%\makedoc.cmd" is not found&exit /b 1 | ||
|
||
@FOR /R %selfDir%..\..\iprj %%I IN (.) DO @if exist %%I\build\ads\build.cmd call %%I\build\ads\build.cmd %ADSROOTPATH% | ||
|
||
|
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,58 @@ | ||
# {{kind}} `{{name}}` | ||
|
||
{{#if basecompoundref}} | ||
## Parents | ||
|
||
{{#each basecompoundref}} | ||
* **{{prot}} {{name}}** | ||
{{/each}} | ||
|
||
{{/if}} | ||
|
||
## Description | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
## Summary | ||
|
||
Members | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each filtered.compounds}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}}{{#each filtered.members}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}} | ||
|
||
## Members | ||
|
||
{{#each filtered.compounds}} | ||
### {{title proto}} {{anchor refid}} | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
{{/each}} | ||
|
||
{{#each filtered.members}} | ||
{{#if summary}} | ||
|
||
### {{title name}} {{anchor refid}} | ||
__{{proto}}__ | ||
|
||
{{#if enumvalue}} | ||
Values | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each enumvalue}}{{cell name}} | {{cell summary}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
{{#if inbodydescription}} | ||
{{inbodydescription}} | ||
{{/if}} | ||
|
||
{{/if}} | ||
{{/each}} |
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,27 @@ | ||
# Summary | ||
|
||
Members | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each filtered.members}}{{cell proto}} | {{cell summary}} | ||
{{/each}}{{#each filtered.compounds}}{{cell proto}} | {{cell summary}} | ||
{{/each}} | ||
|
||
{{#if filtered.members}} | ||
## Members | ||
|
||
{{#each filtered.members}} | ||
#### {{title proto}} {{anchor refid}} | ||
|
||
{{briefdescription}} | ||
|
||
{{#if enumvalue}} | ||
Values | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each enumvalue}}{{cell name}} | {{cell summary}} | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{detaileddescription}} | ||
|
||
{{/each}} | ||
{{/if}} |
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,36 @@ | ||
# {{kind}} `{{name}}` | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
## Summary | ||
|
||
Members | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each filtered.members}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}}{{#each filtered.compounds}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}} | ||
|
||
{{#if filtered.members}} | ||
## Members | ||
|
||
{{#each filtered.members}} | ||
{{#if summary}} | ||
### {{title proto}} | ||
|
||
{{#if enumvalue}} | ||
Values | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each enumvalue}}{{#if summary}}{{cell name}} | {{cell summary}} | ||
{{/if}}{{/each}} | ||
{{/if}} | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
{{/if}} | ||
|
||
{{/each}} | ||
{{/if}} |
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,37 @@ | ||
# {{kind}} `{{name}}` | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
{{#if filtered.members}} | ||
|
||
## Summary | ||
|
||
Members | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each filtered.members}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}}{{#each filtered.compounds}}{{#if summary}}{{cell proto}} | {{cell summary}} | ||
{{/if}}{{/each}} | ||
|
||
## Members | ||
|
||
{{#each filtered.members}} | ||
{{#if summary}} | ||
### {{title proto}} {{anchor refid}} | ||
|
||
{{#if enumvalue}} | ||
Values | Descriptions | ||
--------------------------------|--------------------------------------------- | ||
{{#each enumvalue}}{{#if summary}}{{cell name}} | {{cell summary}} | ||
{{/if}}{{/each}} | ||
{{/if}} | ||
|
||
{{briefdescription}} | ||
|
||
{{detaileddescription}} | ||
|
||
{{/if}} | ||
|
||
{{/each}} | ||
{{/if}} |
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,47 @@ | ||
# buildpipe | ||
Building Pipeline | ||
|
||
## Overview | ||
Building Pipeline is intended to provide automated way to build binaries of EDR Agent v2 (EDRAv2). It supports build of cpecified specified source branch or git-label, performs run of unit tests and uploading of artifacts into common storage. | ||
|
||
## Requirements | ||
* **Git** must be installed and configured | ||
* **Git-LFS** must be installed | ||
* **Visual Studio 2017** must be installed and configured | ||
* **WIX Toolset** must be installed | ||
|
||
## Launching | ||
You can launch buildpipe in a different ways: | ||
* _builder.cmd_ (start without parameters) - will be awaits of user input: branch name or git-label must be provided | ||
* _builder.cmd release-2.0.0-alpha3_ - building of cpecified branch _release-2.0.0-alpha3_ | ||
* _builder.cmd v.2.0.0-alpha2_ - building of cpecified git-tag _v.2.0.0-alpha2_ | ||
|
||
## Algorithm of script's work | ||
* Perform initial checking: | ||
- if already working one instance of script (exist file _.buildinprocess_) scripts will end it's work | ||
- if previous run of buildpipe script was ended with error (exist file _.error_) script will ask user what to do next: nothing (exit) or cleanup and continue | ||
- if branch\tag name was not specified as a commandline, user input is requiered | ||
* Download source files from Git: | ||
- _git init_ | ||
- _git clone -n %git\_url% --_ | ||
- _git checkout %branch%_ | ||
* Configures build variables: | ||
- calculates buld number (+1 to previous build number) | ||
- generates minimal and full version info | ||
- generates extra version info | ||
- generates buildinfo for setup file (_BuildInfo.wxi_) | ||
* Performs build (compilation) of binarie files | ||
* Performs build (compilation) of setup files | ||
* Performs packing distributive files into archive | ||
* Performs run of unit-tests | ||
* Uploads artifacts (archives with binarie files, setp files, archive with log-files) to exteral storage (currently SFTP) | ||
* Performs cleanup operation | ||
|
||
At build start, build finish and in case of errors email notification will be sended to specified persons. Short message and archive with log-files is attached into email. | ||
|
||
## Error handling | ||
In case of error on any stage: | ||
* file _.error_ is created | ||
* email notification with error description and log-files (in archive) is sended to specified persons | ||
* script ends it's wor with error | ||
In case of error cleanup operation is not performed, so it is possible to investigate the reason of problem. |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Oops, something went wrong.