add docker building in pipeline
This commit is contained in:
@@ -9,5 +9,5 @@
|
|||||||
```shell
|
```shell
|
||||||
docker run -v $(pwd)/config.yaml:/application/config.yaml \
|
docker run -v $(pwd)/config.yaml:/application/config.yaml \
|
||||||
-v $(pwd)/id_rsa:/root/.ssh/id_rsa \
|
-v $(pwd)/id_rsa:/root/.ssh/id_rsa \
|
||||||
-v $(pwd)/config:/root/.ssh/config <kube_forge_image> apply
|
-v $(pwd)/config:/root/.ssh/config harbor.kvazaric.ru/kube-forge/kube-forge:1.0-5dcd4a83 apply
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ func runPlaybook(playbookPath string, tags string) {
|
|||||||
playbook.WithPlaybooks(playbookPath),
|
playbook.WithPlaybooks(playbookPath),
|
||||||
playbook.WithPlaybookOptions(&playbookOptions),
|
playbook.WithPlaybookOptions(&playbookOptions),
|
||||||
)
|
)
|
||||||
exec := stdoutcallback.NewDenseStdoutCallbackExecute(
|
exec := stdoutcallback.NewDebugStdoutCallbackExecute(
|
||||||
execute.NewDefaultExecute(
|
execute.NewDefaultExecute(
|
||||||
execute.WithCmd(playbookCmd),
|
execute.WithCmd(playbookCmd),
|
||||||
execute.WithErrorEnrich(playbook.NewAnsiblePlaybookErrorEnrich()),
|
execute.WithErrorEnrich(playbook.NewAnsiblePlaybookErrorEnrich()),
|
||||||
|
|||||||
Reference in New Issue
Block a user