Fix goodinstallation test
Removing platform test as right we don't have logic to detect platform in epinio
Also adding kube v1.19 as we support it
@@ -115,8 +115,7 @@ func BuildEpinio() {
func ExpectGoodInstallation(epinioBinary string) {
info, err := proc.Run(fmt.Sprintf("%s%s info", Root(), epinioBinary), "", false)
gomega.Expect(err).ToNot(gomega.HaveOccurred())
- gomega.Expect(info).To(gomega.MatchRegexp("Platform: k3s"))
- gomega.Expect(info).To(gomega.MatchRegexp("Kubernetes Version: v1.20"))
+ gomega.Expect(info).To(gomega.Or(gomega.MatchRegexp("Kubernetes Version: v1.20"), gomega.MatchRegexp("Kubernetes Version: v1.19")))
gomega.Expect(info).To(gomega.MatchRegexp("Gitea Version: unavailable"))
}
