From 6081bab77b238bec83bfb553e45959425b42dbd5 Mon Sep 17 00:00:00 2001 From: Jan Staelens Date: Thu, 17 Oct 2024 14:17:01 +0200 Subject: [PATCH 1/3] Added new starter workflow for Updating Catalog Details --- ...-CICD-UpdateCatalogDetails.properties.json | 4 ++++ .../DataMiner-CICD-UpdateCatalogDetails.yml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 workflow-templates/DataMiner-CICD-UpdateCatalogDetails.properties.json create mode 100644 workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml diff --git a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.properties.json b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.properties.json new file mode 100644 index 0000000..da116a2 --- /dev/null +++ b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.properties.json @@ -0,0 +1,4 @@ +{ + "name": "DataMiner CICD Update Catalog Details", + "description": "Starter Workflow for CICD to update the catalog details of a record." +} \ No newline at end of file diff --git a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml new file mode 100644 index 0000000..927255c --- /dev/null +++ b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml @@ -0,0 +1,19 @@ +name: DataMiner CICD Update Catalog Details + +# Controls when the workflow will run +on: + # push: + # branches: + # - main + # - master + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + + Catalog: + uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Update Catalog Details.yml@main + secrets: + # The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner Organization or Agent. + api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }} \ No newline at end of file From 9944b950234d8edc36e68355eae7109122aa405e Mon Sep 17 00:00:00 2001 From: Jan Staelens Date: Fri, 25 Oct 2024 13:23:00 +0200 Subject: [PATCH 2/3] Updated name --- workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml index 927255c..4f86de3 100644 --- a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml +++ b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml @@ -13,7 +13,7 @@ on: jobs: Catalog: - uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Update Catalog Details.yml@main + uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Update Catalog Details Workflow.yml@main secrets: # The API-key: generated in the DCP Admin app (https://admin.dataminer.services/) as authentication for a certain DataMiner Organization or Agent. api-key: ${{ secrets.DATAMINER_DEPLOY_KEY }} \ No newline at end of file From 7009418eb2af69c05378e54a3a6a2acf24538a98 Mon Sep 17 00:00:00 2001 From: Jan Staelens Date: Thu, 14 Nov 2024 14:09:09 +0100 Subject: [PATCH 3/3] added comments --- workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml index 4f86de3..e4539a1 100644 --- a/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml +++ b/workflow-templates/DataMiner-CICD-UpdateCatalogDetails.yml @@ -7,6 +7,9 @@ on: # - main # - master + ## If you wish to only trigger on ReadMe changes. + ## Consider: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: