Skip to content

Commit cf53672

Browse files
Update main.yml
1 parent 5041881 commit cf53672

File tree

1 file changed

+6
-33
lines changed

1 file changed

+6
-33
lines changed

.github/workflows/main.yml

+6-33
Original file line numberDiff line numberDiff line change
@@ -28,39 +28,8 @@ jobs:
2828
# The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner System.
2929
api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}
3030
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
31-
32-
name: DataMiner CICD Connector
33-
34-
# Controls when the workflow will run
35-
on:
36-
# Triggers the workflow on push or pull request events but only for the master branch
37-
push:
38-
branches: []
39-
tags:
40-
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+"
41-
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+-**"
42-
43-
# Allows you to run this workflow manually from the Actions tab
44-
workflow_dispatch:
45-
46-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
47-
jobs:
48-
49-
CI:
50-
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Connector Master Workflow.yml@main
51-
with:
52-
referenceName: ${{ github.ref_name }}
53-
runNumber: ${{ github.run_number }}
54-
referenceType: ${{ github.ref_type }}
55-
repository: ${{ github.repository }}
56-
owner: ${{ github.repository_owner }}
57-
sonarCloudProjectName: SkylineCommunications_SLC-C-Example_HTTP
58-
secrets:
59-
# The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner System.
60-
api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}
61-
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
62-
63-
# Optional 0 or More CD Jobs as needed
31+
32+
# Optional 0 or More CD Jobs as needed
6433
# CD:
6534
# # if: github.ref_type == 'tag'
6635
# environment: staging
@@ -93,3 +62,7 @@ jobs:
9362
# - name: Direct Agent Deployment
9463
# run: dataminer-package-deploy from-artifact --path-to-artifact "${{ steps.findcreatedpackage.outputs.packageName }}" --dm-server-location "${{ secrets.serverLocation }}" --dm-user "${{ secrets.dataminerUser }}" --dm-password "${{ secrets.dataminerPassword }}"
9564

65+
66+
# - name: Direct Agent Deployment
67+
# run: dataminer-package-deploy from-artifact --path-to-artifact "${{ steps.findcreatedpackage.outputs.packageName }}" --dm-server-location "${{ secrets.serverLocation }}" --dm-user "${{ secrets.dataminerUser }}" --dm-password "${{ secrets.dataminerPassword }}"
68+

0 commit comments

Comments
 (0)