-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrtm.sh
More file actions
executable file
·26 lines (16 loc) · 818 Bytes
/
rtm.sh
File metadata and controls
executable file
·26 lines (16 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
SCRIPTPATH="$(
cd "$(dirname "$0")" >/dev/null 2>&1 || exit
pwd -P
)"
RTM_VERSION="0.4.3"
TEST_STORY_FILE="./RTM/testStoryMapping.txt"
STORY_REQUIREMENT_FILE="./RTM/storyRequirementMapping.csv"
OUTPUT_PATH="./RTM/testRequirementsMapping.txt"
#APPS_PATH="https://raw.githubusercontent.com/tmtsoftware/osw-apps/master/apps.json"
APPS_PATH="https://raw.githubusercontent.com/tmtsoftware/osw-apps/branch-6.0.x/apps.json"
STORY_REQUIREMENT_FILE_PATH="https://raw.githubusercontent.com/tmtsoftware/esw/master/tools/RTM/storyRequirementMapping.csv"
APP_NAME="rtm"
# update story requirement mapping file from ESW repo
curl $STORY_REQUIREMENT_FILE_PATH > $STORY_REQUIREMENT_FILE
cs launch --channel $APPS_PATH "$APP_NAME":$RTM_VERSION -- $TEST_STORY_FILE $STORY_REQUIREMENT_FILE $OUTPUT_PATH