I am trying to build a reactJs app and want to deploy it to Azure via Bitbucket pipeline, I managed to obtain the azure variables and then when I run the production pipeline on the master, I receive this:
Could you please let me know what are the necessary step by step to deploy ReactJS App to Azure in a container form? where can I find the *.zip artifact?
How are you doing the deployment to Azure? Are you using a pipe, and if so which one?
If you're using a pipe, the .zip file you specify in the pipe should be generated before the deployment. I believe that you'll need to create a .zip file with the content that you want to deploy.
If you generate the zip file in a directory other than the clone directory, you will need to give the path to the file.
Please feel free to let me know if this works for you or if you need further assistance.
We changed it now to use "microsoft/azure-vm-linux-script-deploy:1.0.1"
zip was missing and we managed to install it using:
"apt-get -y update && apt-get -y install zip"
I would like to inquire how can we get files from the linuxVM back to the downloads section of Bitbucket?
When you say linuxVM, I assume you mean the one running your Pipelines build?
If so, there are two ways to do that.
One is by using a specific pipe that will deploy the file you specify to the Downloads section.
The second way is via Bitbucket Cloud API.
The following documentation has step by step instructions and details on both options:
Please feel free to let me know if you have any questions.
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events