-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/sergiosuarezsky/SLC-AS-EPM_…
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-EPM_I_DOCSIS_TopFiberNodeOFDMUtilization | ||
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@v4 | ||
|
||
# - 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 }} |