You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSPL-1598: Delete apps from app directory while app installation is in progress (#800)
* CSPL-1598: Delete apps from init-apps while app installation is in progress
* modify delete logic
* Modified GetoperatorPodName to take into consideration clusterwide install
Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
2891
+
It("integration, c3, appframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and delete apps from app directory when download is complete", func() {
2892
+
2893
+
/* Test Steps
2894
+
################## SETUP ####################
2895
+
* Upload big-size app to S3 for Indexer Cluster and Search Head Cluster
2896
+
* Create app sources for Cluster Manager and Deployer
2897
+
* Prepare and deploy C3 CRD with app framework and wait for the pods to be ready
2898
+
* When app download is complete, delete apps from app directory
2899
+
######### VERIFICATIONS #############
2900
+
* Verify Apps are Downloaded in App Deployment Info
2901
+
* Verify Apps Copied in App Deployment Info
2902
+
* Verify App Package is deleted from Operator Pod
2903
+
* Verify Apps Installed in App Deployment Info
2904
+
* Verify App Package is deleted from Splunk Pod
2905
+
* Verify bundle push is successful
2906
+
* Verify V1 apps are copied, installed on Monitoring Console and on Search Heads and Indexers pods
Context("Multisite Indexer Cluster with Search Head Cluster (m4) with App Framework", func() {
2458
+
It("integration, m4, appframeworkm4, appframework: can deploy a M4 SVA with App Framework enabled and delete apps from app directory when download is complete", func() {
2459
+
2460
+
/* Test Steps
2461
+
################## SETUP ##################
2462
+
* Upload big-size app to S3 for Indexer Cluster and Search Head Cluster
2463
+
* Prepare and deploy M4 CRD with app framework and wait for the pods to be ready
2464
+
* When app download is complete, delete apps from app directory
2465
+
########## VERIFICATIONS ##########
2466
+
* Verify Apps Downloaded in App Deployment Info
2467
+
* Verify Apps Copied in App Deployment Info
2468
+
* Verify App Package is deleted from Operator Pod
2469
+
* Verify Apps Installed in App Deployment Info
2470
+
* Verify App Package is deleted from Splunk Pod
2471
+
* Verify bundle push is successful
2472
+
* Verify apps are copied and installed on Monitoring Console and on Search Heads and Indexers pods
Context("Standalone deployment (S1) with App Framework", func() {
1784
+
It("integration, s1, appframeworks1, appframework: Deploy a Standalone instance with App Framework enabled and delete apps from app directory when app download is complete", func() {
1785
+
1786
+
/* Test Steps
1787
+
################## SETUP ####################
1788
+
* Upload big-size app to S3 for Standalone
1789
+
* Create app source for Standalone
1790
+
* Prepare and deploy Standalone
1791
+
* When app download is complete, delete apps from app directory
1792
+
############## VERIFICATIONS ################
1793
+
* Verify App installation is in progress on Standalone
1794
+
* Upload more apps from S3 during bigger app install
1795
+
* Wait for polling interval to pass
1796
+
* Verify all apps are installed on Standalone
1797
+
*/
1798
+
1799
+
// ################## SETUP FOR STANDALONE ####################
testenvInstance.Log.Info(fmt.Sprintf("Verify apps %s packages are deleted from the operator pod for CR %v with name %v", appSource.CrAppVersion, appSource.CrKind, appSource.CrName))
0 commit comments