Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtm verify results show that some tools are not healthy, but can't get more detail #252

Closed
imxw opened this issue Mar 2, 2022 · 3 comments · Fixed by #260
Closed

dtm verify results show that some tools are not healthy, but can't get more detail #252

imxw opened this issue Mar 2, 2022 · 3 comments · Fixed by #260
Labels
bug Something isn't working

Comments

@imxw
Copy link
Member

imxw commented Mar 2, 2022

Describe the Bug

dtm version: dtm-darwin-arm64 0.2.0
OS: MacOS M1
config file:

---
tools:
- name: golang-demo-repo
  plugin:
    kind: github-repo-scaffolding-golang
    version: 0.2.0
  options:
    owner: ironcore864
    # will also be used as application name
    repo: golang-demo
    branch: main
    image_repo: ironcore864/golang-demo
- name: golang-demo-app
  plugin:
    kind: githubactions-golang
    version: 0.2.0
  options:
    owner: ironcore864
    repo: golang-demo
    language:
      name: go
      version: "1.17"
    branch: main
    build:
      enable: True
    test:
      enable: True
      coverage:
        enable: True
    docker:
      enable: True
- name: go-hello-world-gitlab-ci
  plugin:
    kind: gitlabci-golang
    version: 0.2.0
  options:
    pathWithNamespace: ironcore864/golang-demo
    branch: main
- name: devlake
  plugin:
    kind: devlake
    version: 0.2.0

How to Reproduce

$ dtm init
$ dtm verify

Screenshots

image

@imxw imxw added the bug Something isn't working label Mar 2, 2022
@daniel-hutao
Copy link
Member

daniel-hutao commented Mar 2, 2022

Maybe there is no bug as you think, because you haven't execute dtm apply, so the resources has not been created.

In addition, some fields in your configuration file need to be changed to your own, such as owner: ironcore864.

However, there are indeed some problems exposed here, the logs we output here are not accurate, and I will continue to track this problem.

@imxw
Copy link
Member Author

imxw commented Mar 2, 2022

Thanks for your help. I have resolved the issue after executing dtm apply. Maybe we need to explain these fields' meaning in the configuration file of Devstream.

@daniel-hutao
Copy link
Member

Thanks for your help. I have resolved the issue after executing dtm apply. Maybe we need to explain these fields' meaning in the configuration file of Devstream.

Good suggestion!
By the way, you can get all the params meaning at https://github.com/merico-dev/stream/blob/main/docs/plugins/github-repo-scaffolding-golang_plugin.md

And I'll consider adding the comments to config.yaml too. @IronCore864 What's your opinion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants