-
Notifications
You must be signed in to change notification settings - Fork 5
Build
samatstarion edited this page Aug 28, 2024
·
18 revisions
The CDP4-COMET WebServices are developed using Visual Studio 2022. The COMET Webservices contain multiple projects that target netstandard2.0
or net8.0
.
The following tools are used by the Starion development team:
- Visual Studio 2022 Professional (Community Edtion will work as well)
- Resharper Ultimate
- Git Extensions
- Docker
LAST STEP IS CREATING AND PUSHING THE DOCKER CONTAINER. DON'T FORGET THAT!!!
In order to create a new release of the COMET Web Services the following steps need to be taken.
- Make sure the version numbers are incremented when components have changed; the project makes use of SEMVER. The version of the CometServer project shall be equal or higher than the highest version of any of it's project dependencies.
- Verify correctness of fixes using the test build configuration and the Integration Test Suite
- Build the solution in release mode
- Remove any unnecessary localization dlls
- Archive the contents of the
CDP4-WebServices-Community-Edition\CDP4WebServer\bin\Release\net472
folder using ZIP and name the zip file:COMETWebServices-MAJOR.MINOR.PATCH.zip
, according to SEMVER and the versioning scheme explained above. - Publish the CDP4Webserver.IIS project in release mode. Make sure that:
- The Configuration is 'Release'
- All existing files will be deleted during publishing
- The publication is precompiled.
- Remove any unnecessary localization dlls from the
CDP4-WebServices-Community-Edition\CDP4WebServer.IIS\bin\app.publish\bin
folder. - Archive the contents of the
CDP4-WebServices-Community-Edition\CDP4WebServer.IIS\bin\app.publish
folder using ZIP and name the zip file:COMETWebServices-IIS-MAJOR.MINOR.PATCH.zip
, according to SEMVER and the versioning scheme explained above. - Compute the SHA256 hash of the zip archives
- Create a tag (MAJOR.MINOR.PATCH) on the Git repository and push this to GitHub. The tag shall be the version number according to SEMVER and the versioning scheme explained above.
- Via the GitHub web-ui
draft a new release
referencing the tag and set therelease title
toVersion MAJOR.MINOR.PATCH
. The description of the release shall mention the updates referencing the GitHub issue numbers. - Upload the ZIP archives to the drafted release, add the previously computed SHA256 hashes to the release notes
- Save the new release
- Update any installation documentation on the Wiki to reflect version changes and potential updated installation instructions
LAST STEP IS CREATING AND PUSHING THE DOCKER CONTAINER. DON'T FORGET THAT!!! Link to dockerize Wiki
copyright @ Starion Group S.A.