From cf536720df93bdfcf97c71ec855b9414255aed26 Mon Sep 17 00:00:00 2001 From: Jan Staelens Date: Tue, 6 Feb 2024 11:09:35 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 39 ++++++-------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ed90e7..d1d1b8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,39 +28,8 @@ jobs: # 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 }} - -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@main - 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_HTTP - 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 + + # Optional 0 or More CD Jobs as needed # CD: # # if: github.ref_type == 'tag' # environment: staging @@ -93,3 +62,7 @@ jobs: # - name: Direct Agent Deployment # 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 }}" + + # - name: Direct Agent Deployment + # 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 }}" +