Skip to content

Commit

Permalink
tests: update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-ibra committed Jul 22, 2024
1 parent 4130ecf commit b2c3696
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/components/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type CACert struct {
// If IsAirgapped is true, a local Hauler registry is used.
type Registry struct {
Host string `yaml:"host"`
Port int `yaml:"port"` // -1 if unspecified
Port int `yaml:"port"`
BasicAuth *BasicAuth `yaml:"basicAuth,omitempty"`
InsecureSkipTLSVerify bool `yaml:"insecureSkipTLSVerify"`
CACert *CACert `yaml:"caCert,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/_validator/testcases/data/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ helmReleaseSecret:
exists: false
imageRegistry: quay.io/validator-labs
useFixedVersion: false
airgapConfig:
registryConfig:
enabled: false
kindConfig:
useKindCluster: true
Expand Down
9 changes: 6 additions & 3 deletions tests/integration/_validator/testcases/test_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,18 @@ func (t *ValidatorTest) testDeployInteractive(ctx *test.TestContext) (tr *test.T
// Kind
"y", // provision & use kind cluster

// Proxy
"n", // Configure an HTTP proxy

// Air-gapped
"n", // enable air-gapped mode

// Private OCI registry
"n", // enable private OCI registry

// Image registry
"quay.io/validator-labs", // validator image registry

// Proxy
"n", // Configure an HTTP proxy

// Sink
"y", // Configure a sink
"Alertmanager", // Sink type
Expand Down

0 comments on commit b2c3696

Please sign in to comment.