Skip to content

💣 Bug: Apply failed => some error(s) occurred during plugins apply process #1298

@bbkxm

Description

@bbkxm

What Happened?

./dtm apply -y

2022-12-04 23:12:04 ℹ [INFO]  Apply started.
2022-12-04 23:12:05 ℹ [INFO]  Using local backend. State file: devstream.state.
2022-12-04 23:12:05 ℹ [INFO]  Tool (repo-scaffolding/golang-github) found in config but doesn't exist in the state, will be created.
2022-12-04 23:12:05 ℹ [INFO]  Tool (githubactions-golang/default) found in config but doesn't exist in the state, will be created.
2022-12-04 23:12:05 ℹ [INFO]  Start executing the plan.
2022-12-04 23:12:05 ℹ [INFO]  Changes count: 2.
2022-12-04 23:12:05 ℹ [INFO]  -------------------- [  Processing progress: 1/2.  ] --------------------
2022-12-04 23:12:05 ℹ [INFO]  Processing: (repo-scaffolding/golang-github) -> Create ...
2022-12-04 23:12:05 ℹ [INFO]  github start to download repoTemplate...
2022-12-04 23:12:07 ⚠ [WARN]  repo render file failed: template: go-webapp-devstream-demo:19:18: executing "go-webapp-devstream-demo" at <.imageRepo>: map has no entry for key "imageRepo"
2022-12-04 23:12:07 ⚠ [WARN]  repoScaffolding render repoTemplate failed=> template: go-webapp-devstream-demo:19:18: executing "go-webapp-devstream-demo" at <.imageRepo>: map has no entry for key "imageRepo"
2022-12-04 23:12:07 !! [ERROR]  repo-scaffolding/golang-github Create failed with error: render RepoTemplate files failed
2022-12-04 23:12:07 ℹ [INFO]  -------------------- [  Processing aborted.  ] --------------------
2022-12-04 23:12:07 !! [ERROR]  Errors Map: key(repo-scaffolding/golang-github/Create) -> value(render RepoTemplate files failed)
2022-12-04 23:12:07 !! [ERROR]  Apply failed => some error(s) occurred during plugins apply process.

How to Reproduce?

./dtm show config -t quickstart > config.yaml
sed -i "s@YOUR_GITHUB_USERNAME_CASE_SENSITIVE@${GITHUB_USER}@g" config.yaml
sed -i "s@YOUR_DOCKER_USERNAME@${DOCKERHUB_USERNAME}@g" config.yaml
./dtm init
./dtm apply -y

Anything else

DevStream Version 0.10.1
Linux manjaro-xfce-21.3.7-220816-linux515

DevStream Version

latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions