Skip to content

Commit

Permalink
#ESW-518: Himanshu | Manish : Prepare for final release
Browse files Browse the repository at this point in the history
  • Loading branch information
mertia-himanshu committed Sep 23, 2021
1 parent 45cebd2 commit 1845561
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
if: always()
continue-on-error: true
run: |
cs launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:33b2359b23 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt
cs launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:0.2.0 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt
- name: Upload RTM
if: always()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
release:
runs-on: ubuntu-18.04
env:
CSW_VERSION: "4.0.0-RC2"
ESW_OCS_ENG_UI_VERSION: "0.1.0-RC2"
CSW_VERSION: "4.0.0"
ESW_OCS_ENG_UI_VERSION: "0.1.0"
steps:
- uses: actions/checkout@v2
- uses: laughedelic/coursier-setup@v1
Expand All @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: "14.x"
node-version: "16.x"
registry-url: "https://registry.npmjs.org"

- name: Install Redis
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
if: always()
continue-on-error: true
run: |
cs launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:33b2359b23 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt
cs launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:0.2.0 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt
- name: Upload RTM
if: always()
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Here is the repository for ESW: [ESW](https://github.com/tmtsoftware/esw).

All notable changes to this project will be documented in this file.

## [Upcoming version]
## [ESW v0.3.0] - 2021-09-23

- Added Shutdown, Restart, GoOnline, GoOffline, GetContainerLifecycleState and GetComponentLifecycleState Admin API routes in Gateway.
- Added GetResources, GetObsModesDetails API in the Sequence Manager
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See [here](https://tmtsoftware.github.io/esw/) for a detailed description of the

| esw | csw |
|--------|------|
| v0.3.0 | v4.0.0 |
| v0.3.0-RC2 | v4.0.0-RC2 |
| v0.3.0-RC1 | v4.0.0-RC1 |
| v0.2.1 | v3.0.1 |
Expand All @@ -29,6 +30,7 @@ See [here](https://tmtsoftware.github.io/esw/) for a detailed description of the

| Date | Tag | Source | Docs | Assets |
|-----|-----|-----|-----|-----|
| 2021-09-23 | v0.3.0 | [esw-0.3.0](https://github.com/tmtsoftware/esw/tree/v0.3.0) | [esw-0.3.0 docs](https://tmtsoftware.github.io/esw/0.3.0/) | [esw-0.3.0 assets](https://github.com/tmtsoftware/esw/releases/tag/v0.3.0) |
| 2021-01-29 | v0.2.1 | [esw-0.2.1](https://github.com/tmtsoftware/esw/tree/v0.2.1) | [esw-0.2.1 docs](https://tmtsoftware.github.io/esw/0.2.1/) | [esw-0.2.1 assets](https://github.com/tmtsoftware/esw/releases/tag/v0.2.1) |
| 2021-01-29 | v0.2.0 | [esw-0.2.0](https://github.com/tmtsoftware/esw/tree/v0.2.0) | [esw-0.2.0 docs](https://tmtsoftware.github.io/esw/0.2.0/) | [esw-0.2.0 assets](https://github.com/tmtsoftware/esw/releases/tag/v0.2.0) |
| 2020-03-19 | v0.1.0 | [esw-0.1.0](https://github.com/tmtsoftware/esw/tree/v0.1.0) | [esw-0.1.0 docs](https://tmtsoftware.github.io/esw/0.1.0/) | [esw-0.1.0 assets](https://github.com/tmtsoftware/esw/releases/tag/v0.1.0) |
Expand Down
19 changes: 10 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ A milestone release is cut from master branch as we expect bug fixes / feedback
- Documentation related updates are allowed on this RC branch, because these changes won't be breaking anything code-wise.
3. While making `Final` release, we follow:
- RC branch will be considered final & not the master branch.
- After getting the approval, `V*.*.*-Final` tag will be created.
- After getting the approval, `V*.*.*` tag will be created.

### ESW

Expand All @@ -43,13 +43,14 @@ A milestone release is cut from master branch as we expect bug fixes / feedback
3. Update top-level `CHANGELOG.md`
4. Update top-level `README.md`
5. Update versions in `release.yml'` for other repos like `CSW_VERSION`, `ESW_OCS_ENG_UI_VERSION` etc. which we will be releasing next. (These versions are used to create parameterized links in the documentation)
6. Add changes mention in `CHANGELOG.md` of `esw-contract` in top-level `CHANGELOG.md`
7. Add changes mention in `CHANGELOG.md` of `esw-contract` in the change section of `README.md` of `esw-contract`
8. Exclude projects from `build.sbt` which you do not want to release
9. Update dependent repo version in `Libs.scala`
10. Commit and push the changes to `branch-<major>.<minor>.x` branch and make sure build is green for dev and paradox link pipeline.
11. Make sure build is green for dev and paradox link check pipeline for this branch.
12. Run `release.sh $VERSION$` script by providing version number argument (This triggers release workflow)
13. Applicable for final release only - Upgrade all the versions of all esw apps in [here](https://github.com/tmtsoftware/osw-apps/blob/master/apps.json)
6. Update latest RTM version in github and jenkins workflow files(this step to be done only in milestone & RC release).
7. Add changes mention in `CHANGELOG.md` of `esw-contract` in top-level `CHANGELOG.md`
8. Add changes mention in `CHANGELOG.md` of `esw-contract` in the change section of `README.md` of `esw-contract`
9. Exclude projects from `build.sbt` which you do not want to release
10. Update dependent repo version in `Libs.scala`
11. Commit and push the changes to `branch-<major>.<minor>.x` branch and make sure build is green for dev and paradox link pipeline.
12. Make sure build is green for dev and paradox link check pipeline for this branch.
13. Run `release.sh $VERSION$` script by providing version number argument (This triggers release workflow)
14. Applicable for final release only - Upgrade all the versions of all esw apps in [here](https://github.com/tmtsoftware/osw-apps/blob/master/apps.json)

**Note:** `PROD=true` environment variable needs to be set before running `release.sh`
2 changes: 1 addition & 1 deletion jenkins/stil-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pipeline {
])

// Generate RTM
sh "scripts/coursier launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:33b2359b23 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt"
sh "scripts/coursier launch --channel https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json rtm:0.2.0 -- target/RTM/testStoryMapping.txt tools/RTM/storyRequirementMapping.csv target/RTM/testRequirementsMapping.txt"
// Upload RTM
publishHTML(target: [
alwaysLinkToLastBuild: false,
Expand Down
13 changes: 13 additions & 0 deletions notes/0.3.0.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## ESW - TMT Executive Software v0.3.0

This is the v0.3.0 of the TMT Executive Software.

See [CHANGELOG.md](CHANGELOG.md) for details of all releases.

### Changes

Patch update to resolve latest release on Jitpack

### Documentation

Paradox documentation can be found here: https://tmtsoftware.github.io/esw/0.3.0/
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sbt.version=1.5.5
csw.version=4.0.0-RC2
csw.version=4.0.0

0 comments on commit 1845561

Please sign in to comment.