summaryrefslogtreecommitdiffstats
path: root/integration/src/release_scripts/releasePhase.sh
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-03-16 14:27:21 +0000
committerliamfallon <liam.fallon@est.tech>2022-03-16 14:27:25 +0000
commit4d071bf628a11c0c5148eed7462c4bdf8443cb3b (patch)
tree57c010d822c7dba258cf73e100b2a6b3e6b7c86e /integration/src/release_scripts/releasePhase.sh
parent794497a6f9c247cb016c776d4b4d7f805db5dadc (diff)
update release scripts for gui apex dependency
policy-gui nas a dependency on apex-pdp that was missed in the earlier versions of the release scripts. Issue-ID: POLICY-3982 Change-Id: Ic729e2a315c7035e47a62255a375058a536ecf9a Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'integration/src/release_scripts/releasePhase.sh')
-rwxr-xr-xintegration/src/release_scripts/releasePhase.sh33
1 files changed, 17 insertions, 16 deletions
diff --git a/integration/src/release_scripts/releasePhase.sh b/integration/src/release_scripts/releasePhase.sh
index b3f7e0af..920998db 100755
--- a/integration/src/release_scripts/releasePhase.sh
+++ b/integration/src/release_scripts/releasePhase.sh
@@ -247,11 +247,6 @@ release_phase_7() {
-pcmk \
-d "$release_data_file" \
-l "$repo_location" \
- -r "policy/gui"
- updateRefs.sh \
- -pcmk \
- -d "$release_data_file" \
- -l "$repo_location" \
-r "policy/pap"
updateRefs.sh \
-pcmk \
@@ -290,12 +285,6 @@ release_phase_7() {
-m "updated references in the policy/drools-pdp pom"
generateCommit.sh \
-l "$repo_location" \
- -r "policy/gui" \
- -i "$issue_id" \
- -e "update references in policy/gui pom" \
- -m "updated references in the policy/gui pom"
- generateCommit.sh \
- -l "$repo_location" \
-r "policy/pap" \
-i "$issue_id" \
-e "update references in policy/pap pom" \
@@ -316,7 +305,6 @@ release_phase_8() {
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/clamp -i "$issue_id"
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/distribution -i "$issue_id"
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/drools-pdp -i "$issue_id"
- releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/gui -i "$issue_id"
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/pap -i "$issue_id"
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/xacml-pdp -i "$issue_id"
echo "Generated artifact release yaml file and commit for repos"
@@ -329,14 +317,13 @@ release_phase_9() {
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/clamp -i "$issue_id"
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/distribution -i "$issue_id"
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/drools-pdp -i "$issue_id"
- releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/gui -i "$issue_id"
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/pap -i "$issue_id"
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/xacml-pdp -i "$issue_id"
echo "Generated docker release yaml file and commit for repos"
}
release_phase_10() {
- echo "Updating snapshots for repos, updating references on policy/drools-applications . . ."
+ echo "Updating snapshots for repos, updating references on policy/drools-applications, policy/gui . . ."
bumpSnapshots.sh \
-d "$release_data_file" \
-l "$repo_location" \
@@ -346,33 +333,47 @@ release_phase_10() {
-d "$release_data_file" \
-l "$repo_location" \
-r "policy/drools-applications"
+ updateRefs.sh \
+ -pcmxk \
+ -d "$release_data_file" \
+ -l "$repo_location" \
+ -r "policy/gui"
generateCommit.sh \
-l "$repo_location" \
-r "policy/drools-applications" \
-i "$issue_id" \
-e "update references in policy/drools-applications pom" \
-m "updated references in the policy/drools-applications pom"
- echo "Updated snapshots for repos, updated references on policy/drools-applications"
+ generateCommit.sh \
+ -l "$repo_location" \
+ -r "policy/gui" \
+ -i "$issue_id" \
+ -e "update references in policy/gui pom" \
+ -m "updated references in the policy/gui pom"
+ echo "Updated snapshots for repos, updated references on policy/drools-applications, policy/gui"
}
release_phase_11() {
echo "Generating artifact release yaml file and commit for policy/drools-applications . . ."
releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/drools-applications -i "$issue_id"
+ releaseRepo.sh -d "$release_data_file" -l "$repo_location" -r policy/gui -i "$issue_id"
echo "Generated artifact release yaml file and commit for policy/drools-applications"
}
release_phase_12() {
echo "Generating docker release yaml file and commit for policy/drools-applications . . ."
releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/drools-applications -i "$issue_id"
+ releaseRepoImages.sh -d "$release_data_file" -l "$repo_location" -r policy/gui -i "$issue_id"
echo "Generated docker release yaml file and commit for policy/drools-applications"
}
release_phase_13() {
- echo "Updating snapshots on policy/drools-applications . . ."
+ echo "Updating snapshots on policy/drools-applications, policy/gui . . ."
bumpSnapshots.sh \
-d "$release_data_file" \
-l "$repo_location" \
-i "$issue_id"
+ echo "Updated snapshots on policy/drools-applications, policy/gui"
}
case "$release_phase" in