Created
July 30, 2020 16:13
-
-
Save pweil-/62fb19799b9632662c96443ba87f9873 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package e2e | |
import ( | |
"github.com/kube-reporting/metering-operator/test/deployframework" | |
"github.com/kube-reporting/metering-operator/test/reportingframework" | |
"testing" | |
) | |
type PreInstallFunc func(ctx *deployframework.DeployerCtx) error | |
type InstallTestCase struct { | |
Name string | |
ExtraEnvVars []string | |
TestFunc func(t *testing.T, testReportingFramework *reportingframework.ReportingFramework) | |
} | |
var ( | |
df *deployframework.DeployFramework | |
kubeConfig string | |
logLevel string | |
runTestsLocal bool | |
runDevSetup bool | |
runAllInstallTests bool | |
meteringOperatorImageRepo string | |
meteringOperatorImageTag string | |
reportingOperatorImageRepo string | |
reportingOperatorImageTag string | |
meteringOperatorImage string | |
reportingOperatorImage string | |
namespacePrefix string | |
testOutputPath string | |
repoPath string | |
repoVersion string | |
registryImage string | |
subscriptionChannel string | |
upgradeFromSubscriptionChannel string | |
catalogSourceName string | |
catalogSourceNamespace string | |
kubeNamespaceCharLimit = 63 | |
namespacePrefixCharLimit = 10 | |
packageName = "metering-ocp" | |
preUpgradeTestDirName = "pre-upgrade" | |
postUpgradeTestDirName = "post-upgrade" | |
gatherTestArtifactsScript = "gather-test-install-artifacts.sh" | |
testMeteringConfigManifestsPath = "/test/e2e/manifests/meteringconfigs/" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment