Skip to content

Commit

Permalink
Merge pull request #1409 from splunk/promote-develop-to-main-2.7.0
Browse files Browse the repository at this point in the history
Merge promote-develop-to-main-2.7.0 back to develop
  • Loading branch information
akondur authored Dec 3, 2024
2 parents 77dbf34 + fccb635 commit d1f1fac
Show file tree
Hide file tree
Showing 18 changed files with 117 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-push-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
matrix:
test: [
basic,
appframeworks1,
appframeworksS1,
managerappframeworkc3,
managerappframeworkm4,
managersecret,
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ jobs:
matrix:
test:
[
appframeworks1,
appframeworksS1,
managerappframeworkc3,
managerappframeworkm4,
managersecret,
managersmartstore,
managermc,
managermc1,
managermc2,
managercrcrud,
licensemanager,
managerdeletecr,
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/manual-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
matrix:
test:
[
appframeworks1,
appframeworksS1,
managerappframeworkc3,
managerappframeworkm4,
managersecret,
managersmartstore,
managermc,
managermc1,
managermc2,
managerscaling,
managercrcrud,
licensemanager,
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/namespace-scope-int-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ jobs:
matrix:
test:
[
appframeworks1,
appframeworksS1,
managerappframeworkc3,
managerappframeworkm4,
managersecret,
managersmartstore,
managermc,
managermc1,
managermc2,
managerscaling,
managercrcrud,
licensemanager,
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ jobs:
matrix:
test:
[
appframeworks1,
appframeworksS1,
managerappframeworkc3,
managerappframeworkm4,
managersecret,
managersmartstore,
managermc,
managermc1,
managermc2,
managerscaling,
managercrcrud,
licensemanager,
Expand Down
5 changes: 4 additions & 1 deletion pkg/splunk/client/azureblobclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ func NewAzureBlobClient(
var serviceURL string
if endpoint != "" {
serviceURL = endpoint
if serviceURL[len(serviceURL)-1] == '/' {
serviceURL = serviceURL[:len(serviceURL)-1]
}
} else if region != "" {
serviceURL = fmt.Sprintf("https://%s.blob.%s.core.windows.net", storageAccountName, region)
} else {
Expand Down Expand Up @@ -203,7 +206,7 @@ func NewAzureBlobClient(

// Initialize the container client with Token Credential.
rawContainerClient, err := container.NewClient(
fmt.Sprintf("%s%s", serviceURL, bucketName),
fmt.Sprintf("%s/%s", serviceURL, bucketName),
tokenCredential,
nil,
)
Expand Down
5 changes: 4 additions & 1 deletion test/appframework_aws/c3/appframework_aws_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ func TestBasic(t *testing.T) {
}
RegisterFailHandler(Fail)

RunSpecs(t, "Running "+testSuiteName)
sc, _ := GinkgoConfiguration()
sc.Timeout = 240 * time.Minute

RunSpecs(t, "Running "+testSuiteName, sc)
}

//func TestMain(m *testing.M) {
Expand Down
5 changes: 4 additions & 1 deletion test/appframework_aws/m4/appframework_aws_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ func TestBasic(t *testing.T) {

RegisterFailHandler(Fail)

RunSpecs(t, "Running "+testSuiteName)
sc, _ := GinkgoConfiguration()
sc.Timeout = 240 * time.Minute

RunSpecs(t, "Running "+testSuiteName, sc)
}

var _ = BeforeSuite(func() {
Expand Down
34 changes: 17 additions & 17 deletions test/appframework_aws/s1/appframework_aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("smoke, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install apps then upgrade them", func() {
It("smoke, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install apps then upgrade them", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -250,7 +250,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("smoke, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install apps then downgrade them", func() {
It("smoke, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install apps then downgrade them", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -413,7 +413,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("s1, smoke, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install apps, scale up, install apps on new pod, scale down", func() {
It("s1, smoke, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install apps, scale up, install apps on new pod, scale down", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -608,7 +608,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("s1, integration, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install apps, scale up, upgrade apps", func() {
It("s1, integration, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install apps, scale up, upgrade apps", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -742,7 +742,7 @@ var _ = Describe("s1appfw test", func() {

// ES App Installation not supported at the time. Will be added back at a later time.
Context("Standalone deployment (S1) with App Framework", func() {
It("s1, integration, appframeworks1, appframework: can deploy a Standalone and have ES app installed", func() {
It("s1, integration, appframeworksS1, appframework: can deploy a Standalone and have ES app installed", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -843,7 +843,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled and install around 350MB of apps at once", func() {
It("integration, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled and install around 350MB of apps at once", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -912,7 +912,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("s1, smoke, appframeworks1, appframework: can deploy a standalone instance with App Framework enabled for manual poll", func() {
It("s1, smoke, appframeworksS1, appframework: can deploy a standalone instance with App Framework enabled for manual poll", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1090,7 +1090,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can deploy Several standalone CRs in the same namespace with App Framework enabled", func() {
It("integration, s1, appframeworksS1, appframework: can deploy Several standalone CRs in the same namespace with App Framework enabled", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1191,7 +1191,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can add new apps to app source while install is in progress and have all apps installed", func() {
It("integration, s1, appframeworksS1, appframework: can add new apps to app source while install is in progress and have all apps installed", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1303,7 +1303,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: Deploy a Standalone instance with App Framework enabled and reset operator pod while app install is in progress", func() {
It("integration, s1, appframeworksS1, appframework: Deploy a Standalone instance with App Framework enabled and reset operator pod while app install is in progress", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1399,7 +1399,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: Deploy a Standalone instance with App Framework enabled and reset operator pod while app download is in progress", func() {
It("integration, s1, appframeworksS1, appframework: Deploy a Standalone instance with App Framework enabled and reset operator pod while app download is in progress", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1467,7 +1467,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install an app then disable it and remove it from app source", func() {
It("integration, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install an app then disable it and remove it from app source", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1561,7 +1561,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, attempt to update using incorrect S3 credentials", func() {
It("integration, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, attempt to update using incorrect S3 credentials", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1698,7 +1698,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: Deploy a Standalone instance with App Framework enabled and update apps after app download is completed", func() {
It("integration, s1, appframeworksS1, appframework: Deploy a Standalone instance with App Framework enabled and update apps after app download is completed", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1782,7 +1782,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("integration, s1, appframeworks1, appframework: can deploy a Standalone instance and install a bigger volume of apps than the operator PV disk space", func() {
It("integration, s1, appframeworksS1, appframework: can deploy a Standalone instance and install a bigger volume of apps than the operator PV disk space", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1857,7 +1857,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
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() {
It("integration, s1, appframeworksS1, appframework: Deploy a Standalone instance with App Framework enabled and delete apps from app directory when app download is complete", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -1928,7 +1928,7 @@ var _ = Describe("s1appfw test", func() {
})

Context("Standalone deployment (S1) with App Framework", func() {
It("smoke, s1, appframeworks1, appframework: can deploy a Standalone instance with App Framework enabled, install apps and check isDeploymentInProgress is set for Standaloen and MC CR's", func() {
It("smoke, s1, appframeworksS1, appframework: can deploy a Standalone instance with App Framework enabled, install apps and check isDeploymentInProgress is set for Standaloen and MC CR's", func() {

/* Test Steps
################## SETUP ####################
Expand Down
9 changes: 5 additions & 4 deletions test/appframework_gcp/c3/appframework_gcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
//"encoding/json"
"fmt"
"path/filepath"

//"strings"
//"time"

Expand Down Expand Up @@ -89,7 +90,7 @@ var _ = Describe("c3appfw test", func() {
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It(" c3gcp, masterappframeworkc3gcp, appframeworkgcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then upgrade them", func() {
It(" c3gcp, masterappframeworkc3gcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then upgrade them", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -308,7 +309,7 @@ var _ = Describe("c3appfw test", func() {
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) with App Framework", func() {
It(" c3gcp, masterappframeworkc3gcp, appframeworkgcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then downgrade them", func() {
It(" c3gcp, masterappframeworkc3gcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled, install apps then downgrade them", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -515,7 +516,7 @@ var _ = Describe("c3appfw test", func() {
})

Context("Clustered deployment (C3 - clustered indexer, search head cluster)", func() {
It(" c3gcp, masterappframeworkc3gcp, appframeworkgcp, c3_gcp_sanity: can deploy a C3 SVA and have apps installed locally on Cluster Manager and Deployer", func() {
It(" c3gcp, masterappframeworkc3gcp, c3_gcp_sanity: can deploy a C3 SVA and have apps installed locally on Cluster Manager and Deployer", func() {

/* Test Steps
################## SETUP ####################
Expand Down Expand Up @@ -654,7 +655,7 @@ var _ = Describe("c3appfw test", func() {
})

Context("Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework", func() {
It(" c3gcp, masterappframeworkc3gcp, appframeworkgcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled and check isDeploymentInProgressFlag for CM and SHC CR's", func() {
It(" c3gcp, masterappframeworkc3gcp, c3_gcp_sanity: can deploy a C3 SVA with App Framework enabled and check isDeploymentInProgressFlag for CM and SHC CR's", func() {

/*
Test Steps
Expand Down
Loading

0 comments on commit d1f1fac

Please sign in to comment.