Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Git Actions – Error on deployment

Solved1.19K views28th September 2023Automation CICD
4
Leander Druwel [SLC] [DevOps Member]2.02K 19th September 2023 0 Comments

Hi,

I have a GitHub repository containing a DataMiner Automation Script solution, where the customer  also contributes through DIS in Visual Studio. Once a development branch gets merged into the main branch with a pull request, i.e. our development work has completed, tested and functionally approved, the GitHub actions that we have configured on the code repo run some tests in the CI pipeline and, if successful, deploy the full codebase to the dataminer.services-connected DataMiner Agent. It ensures that we have the latest stable and fully tested code on that server.

Unfortunately, there is currently an error occurring during deployment to the server, as shown in the attached screenshot. Could anyone possibly suggest potential reasons for this issue? Any items that I could be checking, as it was successfully working before?

Thanks!

Leander Druwel [SLC] [DevOps Member] Selected answer as best 28th September 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Ruben Devos [SLC] [DevOps Member]87 Posted 19th September 2023 2 Comments

Hi Leander,

When running the build/upload separate from the deploy step, you need to provide the Artifact id that's set as an output parameter from the upload step. There is an example in the documentation on how to do this here. The parts to watch out for here is the setting of the output variable:

Where Build_and_upload_artifact_step is the id of the step where you build and upload the artifact, and then referencing it in the for the deploy step:

Hope this helps!

Leander Druwel [SLC] [DevOps Member] Selected answer as best 28th September 2023
Leander Druwel [SLC] [DevOps Member] commented 19th September 2023

Thanks for the answer, Ruben. I notice that the current main.yml looks quite different, with still references to SonarCloud, etc. Not sure if this is outdated.
I’ll give a try with the upload and deploy actions that you mentioned.

Leander Druwel [SLC] [DevOps Member] commented 28th September 2023

I’ve made progress with the configuration, and your instructions make complete sense for a public repository. However, since I’m working with a private repo, the workflows have some variations.

The details are described on the following page in the DataMiner docs:
https://docs.dataminer.services/develop/CICD/GitHub/GitHub_Starter_Workflows.html

Another important point is to ensure that a tag is added to the release that corresponds to the workflow. Otherwise, only the CI part of the pipeline will be executed for all validations. The artifact upload and deployment will only take place when the release is tagged.

But all is working fine now. The latest code gets validated and only if all quality gates show green, the artifacts are created and it gets deployed onto the system.

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin