Skip to content

Commit

Permalink
add capv on capa tests (#419)
Browse files Browse the repository at this point in the history
* add capv on capa tests

* disable proxy

---------

Signed-off-by: Antonia <[email protected]>
  • Loading branch information
anvddriesch authored Aug 19, 2024
1 parent fb81f81 commit 2e10d7e
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
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.64.0] - 2024-08-16

### Changed
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"

0 comments on commit 2e10d7e

Please sign in to comment.