-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 73.4
-
Fix Version/s: 73.8
-
Component/s: Versioning & Branch management
-
Epic Link:
-
Tags:
-
Sprint:NOS 10.1.3, NOS 10.1.4, NOS 10.1.5
-
Story Points:3
Goal
- Devs need a way to automate a Studio release creation
NOTE:
Technical decisions are to be made on how parameters should be passed. This description just explains the expected options and behavior.
TODO
REST API Endpoint
- Create an endpoint that triggers a Studio release on a given project
- Endpoint should take following parameters:
- project id
- branch name
- released version number
Release can only be done on master branch or on a feature branch, not a wip branch.
Release is always performed on HEAD of the branch.
When release is performed a commit is done and pushed automatically for released version
All parameters are mandatory.
Response should contain:
- bundle symbolic name
- version released
- Maven GAV
When trying to release an already existing release version, an error should be returned with:
"This version already exists in this project."
CI Integration
TODO
In Maven repo
Artifact for branches should be the branch name, stripped from the moving parts and implementation detail parts
- Artifact names should not contain a version number anymore
- Artifact names should not contain a mention of wip or feature as these are implementation details
- Artifact names should not contain the user's specific hash if possible to make things simpler / cleaner
"Given I access my studio maven repo
When Looking at the maven gav for a given branch
Then The maven artifact for my branch uses the following convention
[branch name minus feature/] for shared commits
[branch name minus wip/]-[username] for wip
- is related to
-
NXS-4599 Cannot create release on nos-test
- Resolved
-
NXS-4608 Snapshot versions are not updated when using maven
- Resolved
-
NXS-4618 Maven checksum is not the one expected
- Resolved
-
NXS-4476 Force next version when doing a release
- Resolved
-
NXS-3902 Fix package build when post release changes are deleted
- Resolved
-
NXP-26743 Fix undeploy hot reloaded studio bundle when download fail
- Resolved
-
NXS-3663 Review changes pushed when releasing
- Resolved
-
NXS-2083 Allow releasing a Studio project from maven
- Resolved
-
NXS-3531 Branch Management: Release popup > Update Help display
- Resolved
- is required by
-
NXS-4491 Improve contextual help to mention releases REST API
- Resolved
-
NBM-138 Integrate automatic release of Studio package
- Closed