With an understanding of the Deployment Pipeline let's cover how client code is compiled into a Build Version ready for deployment.
The Client Extension Build Process creates a Docker Image by compiling client code and adding it to a Microsoft ASP.NET Core Docker Image. These docker images are stored in Directscale's private docker registry and are only used for deploying code to Stage and Production. See Deploying A Build Version. If a Client Developer wants to run code locally as a docker image they can build and run their own docker image.
Ready to create your first Build?
Before attempting to build a version make sure you have completed all steps in the Setting up the Client Extension article. Disregarding these steps will cause build failures or builds might not even be created.
- Log into your Corporate Admin.
- Select 'Tools' and then 'Developer Tools' from the main menu.
- Click on 'Deployment'
- Enter the name of the GitHub Repo branch to build in the text box next to the Queue New Build button. This is case sensitive
- Click the Queue New Build button.
A new Build Version should appear in the Builds List with a result of Queued or Processing. When the build has finished processing it should show a Success result. See Failed Builds if it does not.
The Result of a Build Version will be one of the following results
If a build is Failed then the Result text will be a hyperlink to see more information.
The Build Issues modal displays the Last Known Status of the Build Version as well as any errors that occured during the build. Use the Build Statuses section as a reference to understand where the build failed. Use the ⚠ Errors displayed to further understand the issue that occurred.
Version number is assigned. Waiting for a background process to build the code.
Source code from the client GitHub Repo is cloned.
Things like the .NET TargetFramework are collected in preparation for building a Docker Image.
The client source code cloned from GitHub is compiled.
A docker image is built and pushed to Directscale's private container registry by adding the client's compiled source code to a Microsoft ASP.NET Core Docker Image.
Client source code was successfully compiled and built as a Docker Image.
Directscale adds the Build Version as a Git Tag on the latest commit that was cloned from the client GitHub repo.
Updated about 2 months ago