Skip to content

Commit

Permalink
Merge branch 'release-2.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
seroza committed Jul 20, 2022
2 parents b91ef24 + 59909c8 commit b011a59
Show file tree
Hide file tree
Showing 1,629 changed files with 199,578 additions and 16,570 deletions.
2,474 changes: 2,474 additions & 0 deletions edrav2/build/ads/Doxyfile

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions edrav2/build/ads/build.cmd
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%


58 changes: 58 additions & 0 deletions edrav2/build/ads/moxy-templates/class.md
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}}
27 changes: 27 additions & 0 deletions edrav2/build/ads/moxy-templates/index.md
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}}
36 changes: 36 additions & 0 deletions edrav2/build/ads/moxy-templates/namespace.md
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}}
37 changes: 37 additions & 0 deletions edrav2/build/ads/moxy-templates/page.md
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}}
47 changes: 47 additions & 0 deletions edrav2/build/buildpipe/README.md
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.
3 changes: 3 additions & 0 deletions edrav2/build/buildpipe/Tools/7za.exe
Git LFS file not shown
3 changes: 3 additions & 0 deletions edrav2/build/buildpipe/Tools/CMail.exe
Git LFS file not shown
3 changes: 3 additions & 0 deletions edrav2/build/buildpipe/Tools/psftp.exe
Git LFS file not shown
Loading

0 comments on commit b011a59

Please sign in to comment.