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.
Kind regards,
Theodora
Hi Theodora,
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.