Build and deploy execution through FlexDeploy

Build Execution

FlexDeploy is configured with everything that is required to execute a build and deploy request. We will consider an Azure Function App here to showcase the steps. The approach will be pretty much the same for other deployments as well. Let’s execute the first build.  Navigate to the Project and click on the Execution tab to submit the build request. Click on Build.

The Build Request Form will appear and we need to:

  • select the environment we want to build the composite in, the environments that had the Build Environment checkbox will appear in the dropdown

  • select the SCM Branch that was configured on the project, this will be pre-populated if there is only one configured Branch.

  • submit the request, this will initiate the Build workflow

Upon submission, the build workflow is initiated and the workflow steps are executed on the AZURE instance in the AZUREDEV environment(based on configurations provided). Upon completion of the workflow, the execution status will be successful.

With the successful execution of the build, a .zip file artifact is created(specific to Function App use case), stored in the artifact repository, and marked with the Project Version.  Every build will generate a new Project Version.  The generated artifact can be viewed from the Execution Id link and the Artifacts tab.

Navigate to the steps tab in order to view the workflow steps. Click on the link to view the plugin logs.

Now the composite can be deployed to an environment by selecting the icon as shown in the below screenshot.

The Deploy Request Form will appear and we need to:

  • The Project Version will be updated the same as the build project version. However, the dropdown will contain all previously create Project Versions

  • select the Environment that the deployment will be executed in

  • The Deploy Instance will be updated the same as the deploy instance on the General Configuration. 

  • Additional input arguments(optional) can also be provided in case needed.

  • submit the request, this will initiate the Deploy workflow

Upon submission, the deploy workflow is initiated and the workflow steps are executed on the AZURE instance in the AZUREDEV environment(based on configurations provided), utilizing the endpoint.  Upon completion of the workflow, the execution status will be successful. With the successful execution of the deployment, the Function will be deployed to the designated Azure Function App.

The Execution Id is a link to all of the execution data related to each request, such as

  • the workflow execution steps

  • the logs for each workflow step, which can be viewed by clicking on the link under the step

  • the artifact, which can be downloaded

  • the project and environment instance property values at the time of execution

You have executed the build/deploy functionality through FlexDeploy for one Azure Function. It is extremely easy to replicate the same steps for other flows as well. 

 

The following macros are not currently supported in the footer:
  • style