generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into DTSCCI-60
- Loading branch information
Showing
6 changed files
with
41 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
definition_input_dir=$(realpath 'ccd-definition') | ||
definition_output_file="$(realpath ".")/build/ccd-development-config/ccd-civil-dev.xlsx" | ||
params="$@" | ||
|
||
params="$1" | ||
branchName="$2" | ||
rm -rf ./civil-ccd-definition | ||
|
||
git clone https://github.com/hmcts/civil-ccd-definition.git | ||
cd civil-ccd-definition | ||
|
||
echo "Switch to ${branchName} branch on civil-ccd-definition" | ||
git checkout ${branchName} | ||
cd .. | ||
|
||
cp -r ./civil-ccd-definition/ccd-definition . | ||
cp -r ./civil-ccd-definition/e2e . | ||
cp -r ./civil-ccd-definition/package.json . | ||
cp -r ./civil-ccd-definition/yarn.lock . | ||
cp -r ./civil-ccd-definition/codecept.conf.js . | ||
echo * | ||
|
||
cd civil-ccd-definition | ||
definition_input_dir=$(realpath './ccd-definition') | ||
definition_output_file="$(realpath ".")/ccd-definition/build/ccd-development-config/ccd-civil-dev.xlsx" | ||
|
||
|
||
./bin/utils/import-ccd-definition.sh "${definition_input_dir}" "${definition_output_file}" "${params}" | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
branchName=$1 | ||
|
||
#Checkout specific branch pf civil camunda bpmn definition | ||
git clone https://github.com/hmcts/civil-ccd-definition.git | ||
cd civil-ccd-definition | ||
|
||
echo "Switch to ${branchName} branch on civil-ccd-definition" | ||
git checkout ${branchName} | ||
cd .. | ||
|
||
#Copy ccd definition files to civil-ccd-def which contains ccd def files | ||
cp -r ./civil-ccd-definition/ccd-definition . | ||
cp -r ./civil-ccd-definition/e2e . | ||
cp -r ./civil-ccd-definition/package.json . | ||
cp -r ./civil-ccd-definition/yarn.lock . | ||
cp -r ./civil-ccd-definition/codecept.conf.js . | ||
cp -r ./civil-ccd-definition/saucelabs.conf.js . | ||
echo * | ||
rm -rf ./civil-ccd-definition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters