|
16 | 16 | jobs:
|
17 | 17 |
|
18 | 18 | CI:
|
19 |
| - uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Connector Master Workflow.yml@Connectors |
| 19 | + uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Connector Master Workflow.yml@main |
20 | 20 | with:
|
21 | 21 | referenceName: ${{ github.ref_name }}
|
22 | 22 | runNumber: ${{ github.run_number }}
|
|
29 | 29 | api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }}
|
30 | 30 | sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
|
31 | 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 | + |
32 | 63 | # Optional 0 or More CD Jobs as needed
|
33 | 64 | # CD:
|
34 | 65 | # # if: github.ref_type == 'tag'
|
|
0 commit comments