Skip to content

DataMiner CICD Connector #6

DataMiner CICD Connector

DataMiner CICD Connector #6

Workflow file for this run

name: DataMiner CICD Connector
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: []
tags:
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+-**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
CI:
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Connector Master Workflow.yml@Connectors
with:
referenceName: ${{ github.ref_name }}
runNumber: ${{ github.run_number }}
referenceType: ${{ github.ref_type }}
repository: ${{ github.repository }}
owner: ${{ github.repository_owner }}
sonarCloudProjectName: SkylineCommunications_SLC-C-Example_ConnectivityFramework
secrets:
# The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner System.
api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
# Optional 0 or More CD Jobs as needed
CD:
if: github.ref_type == 'tag'
environment: production
name: CD
runs-on: windows-latest
needs: CI
steps:
- uses: actions/checkout@v3
# Deploys the artifact directly to an internet-accessible DataMiner Agent. Deployment from the catalog currently not supported.