Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jarno-lernou committed Feb 16, 2024
2 parents ac45504 + 6ddfbd6 commit d294c58
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
51 changes: 51 additions & 0 deletions .github/workflows/dataminer-cicd-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: DataMiner CICD Automation

# 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/Automation Master Workflow.yml@main
with:
referenceName: ${{ github.ref_name }}
runNumber: ${{ github.run_number }}
referenceType: ${{ github.ref_type }}
repository: ${{ github.repository }}
owner: ${{ github.repository_owner }}
sonarCloudProjectName: SkylineCommunications_SLC-AS-GetViews
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: ubuntu-latest
# needs: CI

# steps:
# - uses: actions/checkout@v3

# - name: Skyline DataMiner Deploy Action
# uses: SkylineCommunications/Skyline-DataMiner-Deploy-Action@v1
# with:
# # Stage deploy
# stage: Deploy
# # 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 }}
# # Id of the uploaded artifact
# artifact-id: ${{ needs.CI.outputs.artifact-id }}
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# SLC-AS-GetViews
# SLC-AS-GetViews

This script will ask for one script parameter:

- RootView: Name of the view for which the subviews will be returned.

## Logic

The script will log in information events a list of views that are directly under the specified root view. The name and ID of the view are logged.

## Future Implementation Ideas

Go to the 'Issues' tab to find out the limitations and future enhancements of this script.

0 comments on commit d294c58

Please sign in to comment.