Remove policy gui from release scripts 45/138645/2
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 7 Aug 2024 12:24:15 +0000 (13:24 +0100)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 7 Aug 2024 13:40:58 +0000 (14:40 +0100)
Issue-ID: POLICY-5053
Change-Id: I385a4e2f4a2072ed769c3e59ac14ad7cc409be53
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
integration/src/main/scripts/release/bumpSnapshots.sh
integration/src/main/scripts/release/getReleaseData.sh
integration/src/main/scripts/release/newReleaseSnapshots.sh
integration/src/main/scripts/release/releasePhase.sh
integration/src/main/scripts/release/resolveRefs.sh
integration/src/main/scripts/release/updateOomImages.sh

index 73eccd9..e24cf0e 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2021-2022 Nordix Foundation.
+# Copyright (C) 2021-2022,2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@ declare -a pf_repos=(
         "policy/apex-pdp"
         "policy/xacml-pdp"
         "policy/distribution"
-        "policy/gui"
         "policy/clamp"
         "policy/drools-applications"
 )
index 4ebcdb6..36045f1 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2021-2022 Nordix Foundation.
+# Copyright (C) 2021-2022,2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -47,7 +47,6 @@ declare -a pf_repos=(
     "policy/xacml-pdp"
     "policy/distribution"
     "policy/clamp"
-    "policy/gui"
     "policy/drools-applications"
 )
 
index 49277d1..47b6688 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2022-2023 Nordix Foundation.
+# Copyright (C) 2022-2023,2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@ declare -a pf_repos=(
         "policy/apex-pdp"
         "policy/xacml-pdp"
         "policy/distribution"
-        "policy/gui"
         "policy/clamp"
         "policy/drools-applications"
 )
index 800768e..be3b108 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2022 Nordix Foundation.
+# Copyright (C) 2022,2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -334,7 +334,7 @@ release_phase_10() {
 }
 
 release_phase_11() {
-    echo "Updating snapshots for repos, updating references on policy/drools-applications, policy/gui . . ."
+    echo "Updating snapshots for repos, updating references on policy/drools-applications . . ."
     bumpSnapshots.sh \
         -d "$release_data_file" \
         -l "$repo_location" \
@@ -344,47 +344,34 @@ release_phase_11() {
         -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"
-    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"
+    echo "Updated snapshots for repos, updated references on policy/drools-applications"
 }
 
 release_phase_12() {
     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_13() {
     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_14() {
-    echo "Updating snapshots on policy/drools-applications and policy/gui . . ."
+    echo "Updating snapshots on policy/drools-applications . . ."
     bumpSnapshots.sh \
         -d "$release_data_file" \
         -l "$repo_location" \
         -i "$issue_id"
-    echo "Updated snapshots on policy/drools-applications and policy/gui"
+    echo "Updated snapshots on policy/drools-applications"
 }
 
 release_phase_15() {
index 5124db7..f62b90c 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2023 Nordix Foundation.
+# Copyright (C) 2023-2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@ declare -a pf_repos=(
         "policy/apex-pdp"
         "policy/xacml-pdp"
         "policy/distribution"
-        "policy/gui"
         "policy/clamp"
         "policy/drools-applications"
 )
index 38fe5c3..fb4166d 100755 (executable)
@@ -4,7 +4,7 @@
 # ============LICENSE_START================================================
 # ONAP
 # =========================================================================
-# Copyright (C) 2021-2022 Nordix Foundation.
+# Copyright (C) 2021-2022,2024 Nordix Foundation.
 # =========================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -45,7 +45,6 @@ declare -a pf_repos=(
         "policy/apex-pdp"
         "policy/xacml-pdp"
         "policy/distribution"
-        "policy/gui"
         "policy/clamp"
         "policy/drools-applications"
 )