From 18455610750355f2fdb40e909b30071494ca7fc4 Mon Sep 17 00:00:00 2001 From: Himanshu Mertia <22441818+mertia-himanshu@users.noreply.github.com> Date: Thu, 23 Sep 2021 12:10:04 +0530 Subject: [PATCH] #ESW-518: Himanshu | Manish : Prepare for final release --- .github/workflows/dev.yml | 2 +- .github/workflows/release.yml | 8 ++++---- CHANGELOG.md | 2 +- README.md | 2 ++ RELEASING.md | 19 ++++++++++--------- jenkins/stil-nightly | 2 +- notes/0.3.0.markdown | 13 +++++++++++++ project/build.properties | 2 +- 8 files changed, 33 insertions(+), 17 deletions(-) create mode 100644 notes/0.3.0.markdown diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 1c6a27881..b5f0a40a5 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f8534c35..07fad7432 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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() diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a362657f..d7a571a3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index ffec29b4b..e61974c06 100644 --- a/README.md +++ b/README.md @@ -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 | @@ -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) | diff --git a/RELEASING.md b/RELEASING.md index c8d074b86..c285478b1 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -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 @@ -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-..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-..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` diff --git a/jenkins/stil-nightly b/jenkins/stil-nightly index 780900ad6..3eacdb420 100644 --- a/jenkins/stil-nightly +++ b/jenkins/stil-nightly @@ -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, diff --git a/notes/0.3.0.markdown b/notes/0.3.0.markdown new file mode 100644 index 000000000..05f3014f0 --- /dev/null +++ b/notes/0.3.0.markdown @@ -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/ diff --git a/project/build.properties b/project/build.properties index 0586b0a93..a949f07a4 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1,2 +1,2 @@ sbt.version=1.5.5 -csw.version=4.0.0-RC2 +csw.version=4.0.0