apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.6k stars 528 forks source link

CircleCI Data not capture in DORA matrix in 0.21.beta3 version #7073

Closed skanthekar closed 4 months ago

skanthekar commented 8 months ago

Question

While adding CircleCI data connection in DevLake to collect Data for DORA matrix. I can not see analysis data from CircleCI CICD jobs.

Scenario that i expected. Please correct me if i assume anything wrong.

  1. When i add data connection for CircleCI it shoud collect data from existing CICD jobs and represent using DORA matrix. But its not working at current movement

Is any one guide me for CircleCI and Devlake integration ?

Screenshots

If applicable, add screenshots to help explain.

Additional context

Add any other context here.

klesh commented 8 months ago

I think the steps should be like:

  1. Add CircleCI connection
  2. Add CircleCI data scope under the connection
  3. Setup the Scope Config properly
  4. Add connection and data scope to the Project
  5. Execute the project
  6. See dashboard
skanthekar commented 8 months ago

I think the steps should be like:

  1. Add CircleCI connection
  2. Add CircleCI data scope under the connection
  3. Setup the Scope Config properly
  4. Add connection and data scope to the Project
  5. Execute the project
  6. See dashboard

@klesh Thanks for reply i will try these steps and let you know

skanthekar commented 8 months ago

Hi @klesh

I tried steps mentioned by you. but it's not working for me Please find below screen shots for more information

image image

Please guide me

klesh commented 8 months ago

What does your pipeline data look like? Can you share some samples?

skanthekar commented 8 months ago

Its simple pipeline that i have created for testing. Build and Deploy. using echo message

klesh commented 8 months ago

@skanthekar I don't know how to help with the information at hand. 😂

lashkinaziy commented 6 months ago

Hi @klesh. I ran into the same issue with 1.0.0-beta6. Using the CircleCI config below and setting the name to build-stuff is seen as deployment by DevLake. Setting the name to deploy is not seen as deployment. DevLake seems to be matching on workflow name only and ignoring the job name.

version: 2.1
jobs:
    build-image:
      docker:
        - image: "cimg/base:stable"
      steps:
        - run:
            name: "building-image"
            command: |
              echo "We are pretending to build an image!"
              sleep 15
              echo "pipeline.id is << pipeline.id >>"
              echo "pipeline.number is << pipeline.number >>"

    deploy:
      docker:
        - image: "cimg/base:stable"
      steps:
        - run:
            name: "update-chart-of-helm"
            command: |
                echo "We are pretending to update Helm chart!"
                sleep 15
                echo "Done!!"

workflows:
  build-stuff:
    jobs:
      - build-image:
          name: build

      - deploy:
            name: deploy
            requires:
                - build
github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 4 months ago

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.