Skip to content

Commit

Permalink
Dev/support all types (#41)
Browse files Browse the repository at this point in the history
* Breaking Change: Support all types of catalog items. Supports adding a ReadMe and Images.
* Requires the use of the Catalog Guid to upload with registration.
* Introduced the ability to only update the catalog details without uploading a new artifact.
---------

Co-authored-by: Michiel Oda <97458010+MichielOda@users.noreply.github.com>
Co-authored-by: Michiel Oda <michiel.oda@skyline.be>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent f79bebc commit a1cbd5c
Show file tree
Hide file tree
Showing 25 changed files with 3,311 additions and 1,316 deletions.
74 changes: 38 additions & 36 deletions CICD.Tools.CatalogUpload.Lib/CICD.Tools.CatalogUpload.Lib.csproj
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<AssemblyName>Skyline.DataMiner.CICD.Tools.CatalogUpload.Lib</AssemblyName>
<PackageVersion>1.0.1-alpaha1</PackageVersion>
<Version>1.0.1-alpaha1</Version>
<PackageTags>Skyline;DataMiner</PackageTags>
<PackageProjectUrl>https://skyline.be</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageIcon>Icon.png</PackageIcon>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>SkylineCommunications</Authors>
<Company>Skyline Communications</Company>
<Description>
Library containing code to upload artifacts to the Skyline DataMiner Catalog (https://catalog.dataminer.services/).
Entry Point: new CatalogArtifact("pathToArtifact", "logger", "metaData").UploadAsync();
</Description>
<RootNamespace>Skyline.DataMiner.CICD.Tools.CatalogUpload.Lib</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<AssemblyName>Skyline.DataMiner.CICD.Tools.CatalogUpload.Lib</AssemblyName>
<RootNamespace>Skyline.DataMiner.CICD.Tools.CatalogUpload.Lib</RootNamespace>
<PackageVersion>1.0.1-alpaha1</PackageVersion>
<Version>1.0.1-alpaha1</Version>
<PackageTags>Skyline;DataMiner</PackageTags>
<PackageProjectUrl>https://skyline.be</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageIcon>Icon.png</PackageIcon>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>SkylineCommunications</Authors>
<Company>Skyline Communications</Company>
<Description>
Library containing code to upload artifacts to the Skyline DataMiner Catalog (https://catalog.dataminer.services/).
Entry Point: new CatalogArtifact("pathToArtifact", "logger", "metaData").UploadAsync();
</Description>
<RootNamespace>Skyline.DataMiner.CICD.Tools.CatalogUpload.Lib</RootNamespace>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
<None Include="nuget\Icon.png" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
<None Include="nuget\Icon.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Skyline.DataMiner.CICD.FileSystem" Version="1.0.6" />
<PackageReference Include="Skyline.DataMiner.CICD.Tools.WinEncryptedKeys.Lib" Version="1.0.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Skyline.DataMiner.CICD.FileSystem" Version="1.0.6" />
<PackageReference Include="Skyline.DataMiner.CICD.Tools.WinEncryptedKeys.Lib" Version="1.0.2" />
<PackageReference Include="YamlDotNet" Version="16.1.3" />
</ItemGroup>

</Project>
456 changes: 290 additions & 166 deletions CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs

Large diffs are not rendered by default.

Loading

0 comments on commit a1cbd5c

Please sign in to comment.