Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add capv on capa tests #419

Merged
merged 4 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- CAPV on CAPA tests.

## [1.63.1] - 2024-08-08

### Fixed
Expand Down
19 changes: 19 additions & 0 deletions providers/capv/on-capa/capv_suite_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package standard

import (
"testing"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/giantswarm/cluster-standup-teardown/pkg/clusterbuilder/providers/capv"

"github.com/giantswarm/cluster-test-suites/internal/suite"
)

func TestCAPVStandard(t *testing.T) {
suite.Setup(false, &capv.ClusterBuilder{"capv-on-capa"})

RegisterFailHandler(Fail)
RunSpecs(t, "CAPV on CAPA Suite")
}
19 changes: 19 additions & 0 deletions providers/capv/on-capa/capv_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package standard

import (
. "github.com/onsi/ginkgo/v2"

"github.com/giantswarm/cluster-test-suites/internal/common"
)

var _ = Describe("Common tests", func() {
common.Run(&common.TestConfig{
// No autoscaling on-prem
AutoScalingSupported: false,
BastionSupported: false,
TeleportSupported: true,
// Disabled until https://github.com/giantswarm/roadmap/issues/1037
ExternalDnsSupported: false,
ControlPlaneMetricsSupported: true,
})
})
6 changes: 6 additions & 0 deletions providers/capv/on-capa/test_data/cluster_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Values provided here merge on top of the default values found in https://github.com/giantswarm/cluster-standup-teardown
global:
connectivity:
baseDomain: gaws.gigantic.io
proxy:
enabled: false
17 changes: 17 additions & 0 deletions providers/capv/on-capa/test_data/default-apps_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Values provided here merge on top of the default values found in https://github.com/giantswarm/cluster-standup-teardown
userConfig:
certManager:
configMap:
values:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: "{{ .ClusterName }}-CertManager-Role"
giantSwarmClusterIssuer:
acme:
http01:
enabled: false
dns01:
route53:
enabled: true
# TODO Use a variable as soon as it is available.
region: "eu-north-1"