Skip to content

💣 Bug: There is an error when destroy the devstream #779

@jxs1211

Description

@jxs1211

What Happened?

Background:
deploy the devstream according to the quick start
env:
windows WSL ubuntu 18.04

There is an error when I try to destroy the devstream by following the quick start step by step, and the previous step is successful.

`[going@dev devstream-quickstart]$ dtm destroy -f quickstart.yaml
2022-06-28 20:05:42 ℹ [INFO] Destroy started.
2022-06-28 20:05:42 ℹ [INFO] Got Backend from config: local
2022-06-28 20:05:42 ℹ [INFO] Using local backend. State file: devstream.state.
2022-06-28 20:05:42 ℹ [INFO] Tool (githubactions-golang/default) will be deleted.
2022-06-28 20:05:42 ℹ [INFO] Tool (github-repo-scaffolding-golang/default) will be deleted.
Continue? [y/n]
Enter a value (Default is n): y

2022-06-28 20:05:44 ℹ [INFO] Start executing the plan.
2022-06-28 20:05:44 ℹ [INFO] Changes count: 2.
2022-06-28 20:05:44 ℹ [INFO] -------------------- [ Processing progress: 1/2. ] --------------------
2022-06-28 20:05:44 ℹ [INFO] Processing: (githubactions-golang/default) -> Delete ...
2022-06-28 20:05:46 ℹ [INFO] Deleting GitHub Actions workflow pr-builder.yml ...
2022-06-28 20:05:46 ℹ [INFO] -------------------- [ Processing aborted. ] --------------------
2022-06-28 20:05:46 ℹ [INFO] githubactions-golang/default-Delete -> DELETE https://api.github.com/repos/jxs1211/go-webapp-devstream-demo/contents/.github/workflows/pr-builder.yml: 404 Not Found []
2022-06-28 20:05:46 !! [ERROR] Destroy failed => some error(s) occurred during plugins destroy process.
[going@dev devstream-quickstart]$
`

How to Reproduce?

exec the destroy cmd after apply action is successful

Anything else

some detail about my deployment:
`
[going@dev devstream-quickstart]$ tree
.
├── devstream.state
├── quickstart.yaml
└── quickstart.yaml.bak

0 directories, 3 files
[going@dev devstream-quickstart]$ cat quickstart.yaml

core config

varFile: "" # If not empty, use the specified external variables config file
toolFile: "" # If not empty, use the specified external tools config file
state: # state config, backend can be local or s3
backend: local
options:
stateFile: devstream.state


plugins config

tools:

  • name: github-repo-scaffolding-golang
    instanceID: default
    options:
    owner: jxs1211
    repo: go-webapp-devstream-demo
    branch: main
    image_repo: jxs1211/go-webapp-devstream-demo
  • name: githubactions-golang
    instanceID: default
    dependsOn: ["github-repo-scaffolding-golang.default"]
    options:
    owner: jxs1211
    repo: go-webapp-devstream-demo
    language:
    name: go
    version: "1.18"
    branch: main
    build:
    enable: True
    test:
    enable: True
    coverage:
    enable: True
    docker:
    enable: False
    [going@dev devstream-quickstart]$
    `

DevStream Version

latest

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions