Skyline.DataMiner.CICD.Tools.CatalogUpload 2.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Skyline.DataMiner.CICD.Tools.CatalogUpload --version 2.0.2                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Skyline.DataMiner.CICD.Tools.CatalogUpload --version 2.0.2                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Skyline.DataMiner.CICD.Tools.CatalogUpload&version=2.0.2                
nuke :add-package Skyline.DataMiner.CICD.Tools.CatalogUpload --version 2.0.2                

Skyline.DataMiner.CICD.Tools.CatalogUpload

About

Uploads and/or makes visible, artifacts to the Skyline DataMiner catalog (https://catalog.dataminer.services).

Note Currently this tool only works for DataMiner application packages (.dmapp) files.

Protocol packages (.dmprotocol) are not supported yet.

Note Usage of this tool is tracked through non-personal metrics provided through a single https call on each use.

These metrics may include, but are not limited to, the frequency of use and the primary purposes for which the Software is employed (e.g., automation, protocol analysis, visualization, etc.). By using the Software, you agree to allow Skyline to collect and analyze such metrics for the purpose of improving and enhancing the Software.

About DataMiner

DataMiner is a transformational platform that provides vendor-independent control and monitoring of devices and services. Out of the box and by design, it addresses key challenges such as security, complexity, multi-cloud, and much more. It has a pronounced open architecture and powerful capabilities enabling users to evolve easily and continuously.

The foundation of DataMiner is its powerful and versatile data acquisition and control layer. With DataMiner, there are no restrictions to what data users can access. Data sources may reside on premises, in the cloud, or in a hybrid setup.

A unique catalog of 7000+ connectors already exist. In addition, you can leverage DataMiner Development Packages to build you own connectors (also known as "protocols" or "drivers").

Note See also: About DataMiner.

About Skyline Communications

At Skyline Communications, we deal in world-class solutions that are deployed by leading companies around the globe. Check out our proven track record and see how we make our customers' lives easier by empowering them to take their operations to the next level.

Getting Started

In commandline:

dotnet tool install -g Skyline.DataMiner.CICD.Tools.CatalogUpload

Then run the command

dataminer-catalog-upload help

Common Commands

Volatile Uploads

The most basic command will upload but not register a package. This allows further usage only with the returned Artifact ID. The package will not show up in the Catalog. Nothing will be registered but your cloud-connected agent will be able to get deployed with the package using the returned identifier.

dataminer-catalog-upload --path-to-artifact "pathToPackage.dmapp" --dm-catalog-token "cloudConnectedToken"

Authentication and Tokens

You can choose to add the DATAMINER_CATALOG_TOKEN to an environment variable instead and skip having to pass along the secure token.

 dataminer-catalog-upload --path-to-artifact "pathToPackage.dmapp"

There are 2 options to store the key in an environment variable:

  • key stored as an Environment Variable called "DATAMINER_CATALOG_TOKEN". (unix/win)
  • key configured one-time using Skyline.DataMiner.CICD.Tools.WinEncryptedKeys called "DATAMINER_CATALOG_TOKEN_ENCRYPTED" (windows only)

The first option is commonplace for environment setups in cloud-based CI/CD Pipelines (github, gitlab, azure, ...) The second option can be beneficial on a static server such as Jenkins or your local machine (windows only). It adds additional encryption to the environment variable only allowing decryption on the same machine.

Running as Administrator:

dotnet tool install -g Skyline.DataMiner.CICD.Tools.WinEncryptedKeys
WinEncryptedKeys --name "DATAMINER_CATALOG_TOKEN_ENCRYPTED" --value "MyTokenHere"

Note Make sure you close your commandline tool so it clears the history. This only works on windows machines.

You can review and make suggestions to the sourcecode of this encryption tool here: https://github.com/SkylineCommunications/Skyline.DataMiner.CICD.Tools.WinEncryptedKeys

Registered Uploads

If you want to make your package visible on the catalog and provide the ability to create combined Installation Packages (Currently only available through internal tools at Skyline Communications) you'll need to provide additional registration meta-data.

The most basic command will be default anonymous and try to use the 'main' branch and the version defined in the artifact (either protocol version or dmapp version)

 dataminer-catalog-upload with-registration --path-to-artifact "pathToPackage.dmapp" --uri-sourcecode "https://github.com/SkylineCommunications/MyTestRepo"

Though optional, it is however highly recommended (due to current restrictions to the internal dmapp version syntax) to provide your own version tag.

 dataminer-catalog-upload with-registration --path-to-artifact "pathToPackage.dmapp" --uri-sourcecode "https://github.com/SkylineCommunications/MyTestRepo" --version "1.0.1-alpha1"

In addition you can provide additional optional information:

 dataminer-catalog-upload with-registration --path-to-artifact "pathToPackage.dmapp" --uri-sourcecode "https://github.com/SkylineCommunications/MyTestRepo" --version "1.0.1-alpha1" --branch "dev/MyFeature" --author-mail "thunder@skyline.be" --release-notes "https://github.com/SkylineCommunications/MyTestRepo/releases/tag/1.0.3"
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
3.0.1 161 11/14/2024
3.0.1-charlie 91 11/12/2024
3.0.1-beta9 77 11/8/2024
3.0.1-beta8 85 11/4/2024
3.0.1-beta7 75 10/31/2024
3.0.1-beta6 62 10/31/2024
3.0.1-beta5 92 10/21/2024
3.0.1-beta4 109 10/18/2024
3.0.1-beta3 85 10/17/2024
3.0.1-beta2 76 10/17/2024
3.0.1-beta10 65 11/12/2024
3.0.1-beta1 83 10/14/2024
2.0.2 1,806 9/3/2024
2.0.1 350 8/19/2024
2.0.1-alpha2 110 8/19/2024
2.0.1-Alpha1 100 8/19/2024
1.1.2 1,564 1/4/2024
1.1.1 219 12/21/2023
1.0.1 148 12/19/2023