I have a NestJS app with Postgres running using docker-composer. I am new to BitBucket and trying to figure out how to deploy my BitBucket download artifact to my home server. So far I have:
Hi @Mike Bernal
Welcome to the community 🙂
Have you tried manually running commands in runner once with the docker-compose and curl command?
Also store the artifacts in separate folder by creating one
Pipeline looks correct syntactically.
Try once and see if it succeeds
Thanks
During the step: Build images my VM runs these containers:
Then in deployment step, it stops and removes these containers.
and display an error:
it doesn't create a directory to my vm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried manaully testing the script?
and try it with creating a folder for artifact
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry but how do I manually test the script and create a folder for the artifact?
The program works fine if I clone my bitbucket repo inside the vm without the pipelines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manually in the sense test the commands in linux server
creating the folder would be refering it has ./artifact/ after creating the folder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you show me how to do it by editing the above .yml if you don't mind.
I am using docker-compose to run my services to my own server. What is happening was ithe docker images is successully building and running in the pipelines however, how can I run it instead in my server through the runner? It is not doing it's purpose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.