Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
890673b
SC-130842: Fix support bundle goldpinger namespace
banjoh Oct 27, 2025
47a1691
chore: update velero images (#3128)
replicated-ci-ec Oct 28, 2025
04c8d82
chore: update openebs images (#3129)
replicated-ci-ec Oct 28, 2025
8ab290f
chore: update k0s images (#3130)
replicated-ci-ec Oct 28, 2025
565cd22
feat: update adminconsole version (#3131)
replicated-ci-ec Oct 28, 2025
5a8ff7d
chore(api): improve API logging (#3124)
JGAntunes Oct 29, 2025
35caeb2
Empty commit to trigger build
banjoh Oct 29, 2025
47ec9d3
chore: update k0s images (#3132)
replicated-ci-ec Oct 29, 2025
a32ea29
chore: update k0s images (#3137)
replicated-ci-ec Oct 30, 2025
8ade3e4
build(deps-dev): bump tar from 7.5.1 to 7.5.2 in /web in the npm_and_…
dependabot[bot] Oct 30, 2025
1d50ffb
Move custom CIDR e2e test to unit & dryrun tests (#3126)
sgalsaleh Oct 30, 2025
b35ce5b
feat(api): sync license before templating (#3109)
emosbaugh Oct 31, 2025
2790701
Empty commit
banjoh Oct 31, 2025
6edfe65
Add logic to warm template engine cache (#3135)
screspod Oct 31, 2025
9645263
Validate custom cidrs for airgap / proxy (#3142)
sgalsaleh Oct 31, 2025
5959572
Add namespace to goldpinger pod pinging goldpinger
banjoh Oct 31, 2025
1599091
Remove duplicate unnecessary tests (#3143)
sgalsaleh Oct 31, 2025
2a4bea9
Linter (#3140)
NoaheCampbell Oct 31, 2025
8b1e55b
build(deps): bump the security group across 2 directories with 3 upda…
dependabot[bot] Nov 1, 2025
6bc166f
build(deps-dev): bump eslint from 9.38.0 to 9.39.0 in /web (#3146)
dependabot[bot] Nov 1, 2025
943e3bf
build(deps-dev): bump @eslint/js from 9.38.0 to 9.39.0 in /web (#3148)
dependabot[bot] Nov 1, 2025
ea38bb1
build(deps-dev): bump jsdom from 27.0.1 to 27.1.0 in /web (#3149)
dependabot[bot] Nov 1, 2025
a4d538f
build(deps): bump lucide-react from 0.548.0 to 0.552.0 in /web (#3150)
dependabot[bot] Nov 1, 2025
9dcce8e
Remove duplicate unnecessary tests - second pass (#3144)
sgalsaleh Nov 1, 2025
df7e939
Set collectDelay to 15s for goldpinger support bundle
banjoh Nov 1, 2025
ab2670a
build(deps): bump github.com/onsi/ginkgo/v2 from 2.26.0 to 2.27.2 (#3…
dependabot[bot] Nov 2, 2025
617a253
Fix goldpinger namespace in cluster-config.yaml files
banjoh Nov 3, 2025
bb5ca93
SC-130842: Fix support bundle goldpinger namespace
banjoh Oct 27, 2025
b652695
Empty commit to trigger build
banjoh Oct 29, 2025
ffdcf03
Empty commit
banjoh Oct 31, 2025
e0b3beb
Add namespace to goldpinger pod pinging goldpinger
banjoh Oct 31, 2025
f95ac79
Set collectDelay to 15s for goldpinger support bundle
banjoh Nov 1, 2025
70c8cdd
Fix goldpinger namespace in cluster-config.yaml files
banjoh Nov 3, 2025
6800933
Merge branch 'evansmungai/sc-130842/support-bundle-goldpinger-pods-sc…
banjoh Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -761,24 +761,6 @@ jobs:
export RELEASE_YAML_DIR=e2e/kots-release-install
./scripts/ci-release-app.sh

# then install a version with alternate unsupported overrides
export EC_VERSION="${{ needs.output-vars.outputs.ec_version }}"
export APP_VERSION="appver-${SHORT_SHA}-unsupported-overrides"
export RELEASE_YAML_DIR=e2e/kots-release-unsupported-overrides
./scripts/ci-release-app.sh

# then install a version with additional failing host preflights
export EC_VERSION="${{ needs.output-vars.outputs.ec_version }}"
export APP_VERSION="appver-${SHORT_SHA}-failing-preflights"
export RELEASE_YAML_DIR=e2e/kots-release-install-failing-preflights
./scripts/ci-release-app.sh

# then install a version with additional warning host preflights
export EC_VERSION="${{ needs.output-vars.outputs.ec_version }}"
export APP_VERSION="appver-${SHORT_SHA}-warning-preflights"
export RELEASE_YAML_DIR=e2e/kots-release-install-warning-preflights
./scripts/ci-release-app.sh

# promote a release with improved dr support
export EC_VERSION="${{ needs.output-vars.outputs.ec_version }}"
export APP_VERSION="appver-${SHORT_SHA}-legacydr"
Expand Down Expand Up @@ -892,31 +874,17 @@ jobs:
test:
- TestPreflights
- TestPreflightsNoexec
- TestMaterialize
- TestHostPreflightCustomSpec
- TestHostPreflightInBuiltSpec
- TestSingleNodeInstallation
- TestSingleNodeInstallationAlmaLinux8
- TestSingleNodeInstallationDebian11
- TestSingleNodeInstallationDebian12
- TestSingleNodeInstallationCentos9Stream
- TestSingleNodeUpgradePreviousStable
- TestInstallFromReplicatedApp
- TestUpgradeFromReplicatedAppPreviousK0s
- TestResetAndReinstall
- TestInstallSnapshotFromReplicatedApp
- TestMultiNodeInstallation
- TestMultiNodeHAInstallation
- TestSingleNodeDisasterRecovery
- TestSingleNodeLegacyDisasterRecovery
- TestSingleNodeResumeDisasterRecovery
- TestMultiNodeHADisasterRecovery
- TestSingleNodeInstallationNoopUpgrade
- TestCustomCIDR
- TestLocalArtifactMirror
- TestMultiNodeReset
- TestCollectSupportBundle
- TestUnsupportedOverrides
- TestHostCollectSupportBundleInCluster
- TestInstallWithConfigValues
steps:
Expand Down Expand Up @@ -982,13 +950,9 @@ jobs:
fail-fast: false
matrix:
test:
- TestResetAndReinstallAirgap
- TestSingleNodeAirgapUpgrade
- TestSingleNodeAirgapUpgradeSelinux
- TestSingleNodeAirgapUpgradeConfigValues
- TestSingleNodeAirgapUpgradeCustomCIDR
- TestMultiNodeAirgapUpgrade
- TestMultiNodeAirgapUpgradeSameK0s
- TestMultiNodeAirgapUpgradePreviousStable
- TestMultiNodeAirgapHAInstallation
- TestSingleNodeAirgapDisasterRecovery
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/release-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,24 +341,6 @@ jobs:
export APP_VERSION="appver-${{ github.ref_name }}"
export RELEASE_YAML_DIR=e2e/kots-release-install
./scripts/ci-release-app.sh

# then install a version with alternate unsupported overrides
export EC_VERSION="${{ github.ref_name }}"
export APP_VERSION="appver-${{ github.ref_name }}-unsupported-overrides"
export RELEASE_YAML_DIR=e2e/kots-release-unsupported-overrides
./scripts/ci-release-app.sh

# then install a version with additional failing host preflights
export EC_VERSION="${{ github.ref_name }}"
export APP_VERSION="appver-${{ github.ref_name }}-failing-preflights"
export RELEASE_YAML_DIR=e2e/kots-release-install-failing-preflights
./scripts/ci-release-app.sh

# then install a version with additional warning host preflights
export EC_VERSION="${{ github.ref_name }}"
export APP_VERSION="appver-${{ github.ref_name }}-warning-preflights"
export RELEASE_YAML_DIR=e2e/kots-release-install-warning-preflights
./scripts/ci-release-app.sh

# then a noop upgrade
export EC_VERSION="${{ github.ref_name }}"
Expand Down Expand Up @@ -508,30 +490,15 @@ jobs:
test:
- TestPreflights
- TestPreflightsNoexec
- TestMaterialize
- TestHostPreflightCustomSpec
- TestHostPreflightInBuiltSpec
- TestSingleNodeInstallation
- TestSingleNodeInstallationAlmaLinux8
- TestSingleNodeInstallationDebian11
- TestSingleNodeInstallationDebian12
- TestSingleNodeInstallationCentos9Stream
- TestSingleNodeUpgradePreviousStable
- TestInstallFromReplicatedApp
- TestUpgradeFromReplicatedApp
- TestResetAndReinstall
- TestInstallSnapshotFromReplicatedApp
- TestMultiNodeInstallation
- TestMultiNodeHAInstallation
- TestSingleNodeDisasterRecovery
- TestSingleNodeResumeDisasterRecovery
- TestMultiNodeHADisasterRecovery
- TestSingleNodeInstallationNoopUpgrade
- TestCustomCIDR
- TestLocalArtifactMirror
- TestMultiNodeReset
- TestCollectSupportBundle
- TestUnsupportedOverrides
- TestHostCollectSupportBundleInCluster
- TestInstallWithConfigValues
steps:
Expand Down Expand Up @@ -597,13 +564,9 @@ jobs:
fail-fast: false
matrix:
test:
- TestResetAndReinstallAirgap
- TestSingleNodeAirgapUpgrade
- TestSingleNodeAirgapUpgradeSelinux
- TestSingleNodeAirgapUpgradeConfigValues
- TestSingleNodeAirgapUpgradeCustomCIDR
- TestMultiNodeAirgapUpgrade
- TestMultiNodeAirgapUpgradeSameK0s
- TestMultiNodeAirgapUpgradePreviousStable
- TestMultiNodeAirgapHAInstallation
- TestSingleNodeAirgapDisasterRecovery
Expand Down
11 changes: 11 additions & 0 deletions api/controllers/app/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,17 @@ func NewAppController(opts ...AppControllerOption) (*AppController, error) {
if err != nil {
return nil, fmt.Errorf("patch app config values: %w", err)
}
// Warm the template engine cache with the existing values
_, err = controller.appConfigManager.TemplateConfig(controller.configValues, false, false)
if err != nil {
return nil, fmt.Errorf("template config: %w", err)
}
} else {
// Warm the template engine cache with empty values
_, err := controller.appConfigManager.TemplateConfig(make(types.AppConfigValues), false, false)
if err != nil {
return nil, fmt.Errorf("template config: %w", err)
}
}

if controller.appPreflightManager == nil {
Expand Down
26 changes: 20 additions & 6 deletions api/controllers/app/tests/test_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,14 @@ func (s *AppControllerTestSuite) TestPatchAppConfigValues() {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {

appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
appInstallManager := &appinstallmanager.MockAppInstallManager{}
sm := scenario.createSM(tt.currentState)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand Down Expand Up @@ -426,10 +428,13 @@ func (s *AppControllerTestSuite) TestRunAppPreflights() {
for _, tt := range tests {
s.T().Run(tt.name, func(t *testing.T) {

appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
sm := s.CreateInstallStateMachine(tt.currentState)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand Down Expand Up @@ -499,12 +504,14 @@ func (s *AppControllerTestSuite) TestGetAppInstallStatus() {

for _, tt := range tests {
s.T().Run(tt.name, func(t *testing.T) {
appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
appInstallManager := &appinstallmanager.MockAppInstallManager{}
sm := s.CreateInstallStateMachine(states.StateNew)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand All @@ -527,6 +534,7 @@ func (s *AppControllerTestSuite) TestGetAppInstallStatus() {
assert.Equal(t, expectedAppInstall, result)
}

appConfigManager.AssertExpectations(s.T())
appInstallManager.AssertExpectations(s.T())
})
}
Expand Down Expand Up @@ -681,12 +689,14 @@ func (s *AppControllerTestSuite) TestInstallApp() {

for _, tt := range tests {
s.T().Run(tt.name, func(t *testing.T) {
appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
appInstallManager := &appinstallmanager.MockAppInstallManager{}
sm := s.CreateInstallStateMachine(tt.currentState)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand Down Expand Up @@ -820,13 +830,15 @@ func (s *AppControllerTestSuite) TestUpgradeApp() {

for _, tt := range tests {
s.T().Run(tt.name, func(t *testing.T) {
appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
appInstallManager := &appinstallmanager.MockAppInstallManager{}
appUpgradeManager := &appupgrademanager.MockAppUpgradeManager{}
sm := s.CreateUpgradeStateMachine(tt.currentState)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand Down Expand Up @@ -896,13 +908,15 @@ func (s *AppControllerTestSuite) TestGetAppUpgradeStatus() {

for _, tt := range tests {
s.T().Run(tt.name, func(t *testing.T) {
appConfigManager := &appconfig.MockAppConfigManager{}
appPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
appReleaseManager := &appreleasemanager.MockAppReleaseManager{}
appInstallManager := &appinstallmanager.MockAppInstallManager{}
appUpgradeManager := &appupgrademanager.MockAppUpgradeManager{}
sm := s.CreateUpgradeStateMachine(states.StateNew)

appConfigManager := &appconfig.MockAppConfigManager{}
appConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

controller, err := appcontroller.NewAppController(
appcontroller.WithStateMachine(sm),
appcontroller.WithAppConfigManager(appConfigManager),
Expand Down
5 changes: 5 additions & 0 deletions api/controllers/kubernetes/install/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ func TestConfigureInstallation(t *testing.T) {

mockManager := &installation.MockInstallationManager{}
mockMetricsReporter := &metrics.MockReporter{}

mockStore := &store.MockStore{}
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

tt.setupMock(mockManager, mockInstallation, tt.config, mockStore, mockMetricsReporter)

Expand Down Expand Up @@ -421,7 +423,10 @@ func TestSetupInfra(t *testing.T) {
mockInfraManager := &infra.MockInfraManager{}
mockMetricsReporter := &metrics.MockReporter{}
mockStore := &store.MockStore{}

mockAppConfigManager := &appconfig.MockAppConfigManager{}
mockAppConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

tt.setupMocks(ki, mockInstallationManager, mockInfraManager, mockMetricsReporter, mockStore, mockAppConfigManager)

appController, err := appcontroller.NewAppController(
Expand Down
12 changes: 11 additions & 1 deletion api/controllers/linux/install/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ func TestConfigureInstallation(t *testing.T) {

mockManager := &installation.MockInstallationManager{}
mockMetricsReporter := &metrics.MockReporter{}

mockStore := &store.MockStore{}
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

tt.setupMock(mockManager, rc, tt.config, mockStore, mockMetricsReporter)

Expand Down Expand Up @@ -732,6 +734,9 @@ func TestRunHostPreflights(t *testing.T) {

tt.setupMocks(mockPreflightManager, rc, mockMetricsReporter, mockStore)

// Mock GetConfigValues call that happens during controller initialization
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

controller, err := NewInstallController(
WithRuntimeConfig(rc),
WithStateMachine(sm),
Expand Down Expand Up @@ -1152,10 +1157,12 @@ func TestSetupInfra(t *testing.T) {
mockInfraManager := &infra.MockInfraManager{}
mockMetricsReporter := &metrics.MockReporter{}
mockStore := &store.MockStore{}
mockAppConfigManager := &appconfig.MockAppConfigManager{}
mockAppPreflightManager := &apppreflightmanager.MockAppPreflightManager{}
mockAppReleaseManager := &appreleasemanager.MockAppReleaseManager{}

mockAppConfigManager := &appconfig.MockAppConfigManager{}
mockAppConfigManager.On("TemplateConfig", types.AppConfigValues{}, false, false).Return(types.AppConfig{}, nil)

tt.setupMocks(rc, mockPreflightManager, mockInstallationManager, mockInfraManager, mockAppConfigManager, mockMetricsReporter, mockStore)

appController, err := appcontroller.NewAppController(
Expand Down Expand Up @@ -1397,6 +1404,9 @@ func TestProcessAirgap(t *testing.T) {

tt.setupMocks(mockAirgapManager, mockInstallationManager, expectedRegistrySettings, rc)

// Mock GetConfigValues call that happens during controller initialization
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

controller, err := NewInstallController(
WithRuntimeConfig(rc),
WithStateMachine(sm),
Expand Down
12 changes: 10 additions & 2 deletions api/controllers/linux/upgrade/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ func TestUpgradeInfra(t *testing.T) {
rc.SetManagerPort(9001)

mockInfraManager := &infra.MockInfraManager{}
mockStore := &store.MockStore{}
mockInstallationManager := &installation.MockInstallationManager{}

mockStore := &store.MockStore{}
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

tt.setupMocks(rc, mockInfraManager, mockInstallationManager)

sm := NewStateMachine(
Expand Down Expand Up @@ -187,7 +189,9 @@ func TestGetInfra(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
mockInfraManager := &infra.MockInfraManager{}

mockStore := &store.MockStore{}
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

tt.setupMock(mockInfraManager)

Expand Down Expand Up @@ -321,9 +325,11 @@ func TestReportingHandlers(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
mockMetricsReporter := &metrics.MockReporter{}
mockStore := &store.MockStore{}
mockInfraManager := &infra.MockInfraManager{}

mockStore := &store.MockStore{}
mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

tt.setupMocks(mockMetricsReporter, mockStore)

// Mock RequiresUpgrade which is called during controller initialization
Expand Down Expand Up @@ -452,6 +458,8 @@ func TestProcessAirgap(t *testing.T) {

tt.setupMocks(mockAirgapManager, mockInstallationManager, expectedRegistrySettings, rc)

mockStore.AppConfigMockStore.On("GetConfigValues").Return(types.AppConfigValues{}, nil)

controller, err := NewUpgradeController(
WithRuntimeConfig(rc),
WithStateMachine(sm),
Expand Down
Loading
Loading