-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add compSettings to pi-sense sample * upd trx in ci (#76) * upd trx in ci * upd trx to 2.2.1 * fix aws connect test * Feat/aws (#75) * add aws samples, and retries * get update shadow * revisit AWS impl * review aws sample * upd aws readme Co-authored-by: ridomin <[email protected]> * init WP from shadow * shadow versioning * rev v5 * clean warning * configure retained * missing retain in wp * allow crt certs * retain birth * add modules support for hub client (#79) * add modules support for hub client * add module tests * upd trx to 2.2.2 Co-authored-by: ridomin <[email protected]> * Feat/gateway (#80) * add audience, topic rid as string * test mm with gw * fix tests * review x auth for gw * clean warnings * fix err with ToBytes * upd proj2nupkg * add sourcelink to props * update packages * clean proto refs * upd packages * fix warning * start e2e * yml1 * e2e (#82) Co-authored-by: ridomin <[email protected]> * fix warnings Co-authored-by: Rido <[email protected]>
- Loading branch information
Showing
14 changed files
with
90 additions
and
44 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: e2e | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: Test_IoT_Hub | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Test | ||
shell: bash | ||
env: | ||
E2EHubConnectionString: ${{secrets.E2EHubConnectionString}} | ||
TestHubName: ${{secrets.TestHubName}} | ||
run: echo "$TestHubName" | ||
|
||
- name: Azure CLI script | ||
uses: azure/CLI@v1 | ||
with: | ||
inlineScript: | | ||
az config set extension.use_dynamic_install=yes_without_prompt | ||
az iot hub device-identity create -d e2edevice --login "${{ secrets.E2EHubConnectionString }}" | ||
echo e2eDevConnString=$(az iot hub device-identity connection-string show -d e2edevice --login "${{ secrets.E2EHubConnectionString }}" --query connectionString | tr -d '"') >> $GITHUB_ENV | ||
- name: Run Device | ||
run: docker run -d --rm -e ConnectionStrings__cs="${{ env.e2eDevConnString }}" ghcr.io/iotmodels/memmon:x64 | ||
|
||
- name: InvokeCommand | ||
uses: azure/CLI@v1 | ||
with: | ||
inlineScript: | | ||
az iot hub invoke-device-method -d e2edevice --method-name getRuntimeStats --method-payload '2' --timeout 10 --login "${{ secrets.E2EHubConnectionString }}" | ||
az iot hub invoke-device-method -d e2edevice --method-name getRuntimeStats --method-payload '2' --timeout 10 --login "${{ secrets.E2EHubConnectionString }}" | ||
az iot hub device-identity delete -d e2edevice --login "${{ secrets.E2EHubConnectionString }}" |
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
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
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,25 +1,29 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Deterministic>true</Deterministic> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<Deterministic>true</Deterministic> | ||
<RepositoryUrl>https://github.com/iotmodels/MQTTnet.Extensions.MultiCloud</RepositoryUrl> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<GenerateDocumentationFile>False</GenerateDocumentationFile> | ||
<Copyright>copyleft</Copyright> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageProjectUrl>https://github.com/iotmodels/MQTTnet.Extensions.MultiCloud</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageTags>mqtt; azure-iot</PackageTags> | ||
<PackageIcon>iotpnp-128.png</PackageIcon> | ||
<GenerateAssemblyVersionInfo>true</GenerateAssemblyVersionInfo> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<Version>3.5.*</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<Deterministic>true</Deterministic> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<Deterministic>true</Deterministic> | ||
<RepositoryUrl>https://github.com/iotmodels/MQTTnet.Extensions.MultiCloud</RepositoryUrl> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<GenerateDocumentationFile>False</GenerateDocumentationFile> | ||
<Copyright>copyleft</Copyright> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageProjectUrl>https://github.com/iotmodels/MQTTnet.Extensions.MultiCloud</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageTags>mqtt; azure-iot</PackageTags> | ||
<PackageIcon>iotpnp-128.png</PackageIcon> | ||
<GenerateAssemblyVersionInfo>true</GenerateAssemblyVersionInfo> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<Version>3.5.*</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
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
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