Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jira Legacy
serverSystem JIRA
serverIde71e36b8-1c31-3d38-9c43-0d513e8b44c9
keyFNSDKEXT-95

Jira Legacy
serverSystem JIRA
serverIde71e36b8-1c31-3d38-9c43-0d513e8b44c9
keyFNSDKEXT-108

Introduction

Unity will utilize FN’s Azure DevOps solution to manage the building and packaging of both the FN SDK and the Unity example project. The following defines how Unity will make use of Azure’s built in build and pipeline tools to conduct proper CI/CD methods.

...

  • A batch file will be written to build the example Unity scene utilizing the FN SDK

Static Analysis

  • FN will provide a SonarQube instance for static analysis of SDK code, including bug and vulnerability detection, and “code smell” checks.

  • SonarQube will be integrated into the AzureDevOps pipeline using the SonarScanner plugin.

  • SonarQube Scans will be performed as part of every build job.

  • Acceptance Criteria for development tasks will include requiring a “passed” status for the SonarQube Quality Gate.

Artifacts

SDK Artifacts

The following artifacts will be generated upon a successful build of the FN SDK

...

  • An internal, Unity facing git vcs repo will be created to mirror the Azure repo

  • Unity developers will connect their local git repo to both the Azure DevOps repo and the internal git vcs repo

  • Any changes made to the root development branch will be reflected both in Azure and the internal git vcs repoAny changes made to the main master branch will be reflected both in Azure and the internal git vcs repo

Setting up two Remotes

In order to support working with two remote repos from one local repo, the following steps will need to be followed:

...

Ensure you have access to both the internal Unity repos (VictoR SDK, SDK Example Project) as well as the external Azure DevOps repos (Victor SDK, SDK Example Project)

...

Clone the internal Unity repo for the Victor SDK to your local machine

...

Launch Git Bash and navigate to the location of the cloned Victor SDK repo

...

Enter the following command to ensure you have the internal Victor SDK repo set as a remote: “git remote -v”

...

Enter the following command to add the external Victor SDK repo as a second remote under the alias “azure”: “git remote add azure https://eNovationFNHerstal@dev.azure.com/eNovationFNHerstal/VictoR Software Development Kit/_git/VictoR Software Development Kit
The URL for this repo can be found by:

...

Navigate to the web page for the Azure DevOps SDK project: https://dev.azure.com/eNovationFNHerstal/VictoR Software Development Kit

...

Select the Repos option in the left hand menu

...

At the top of the page, select the dropdown next to the name of the current repo, and select the repo you wish to add as a remote

...

  • repo

...

Image Removed

...

Enter the following command to ensure you have both the internal and external Victor SDK repos as remotes and push URLs: “git remote -v”

...

Repeat steps 2 through 7 for the Example FN SDK Unity Project repos, using steps 5a through 5d to find the appropriate URL for the Unity Example Project Azure repo

...