Skip to content

Commit

Permalink
chore: fix disable plugins on test (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored Jul 24, 2023
1 parent 9aca5de commit c4d2a2c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ kind: Cluster
metadata:
name: pg-hasura
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -619,7 +619,7 @@ kind: Cluster
metadata:
name: pg-keycloak
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -681,7 +681,7 @@ kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -716,7 +716,7 @@ kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down
8 changes: 4 additions & 4 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ kind: Cluster
metadata:
name: pg-hasura
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -620,7 +620,7 @@ kind: Cluster
metadata:
name: pg-keycloak
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -736,7 +736,7 @@ kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down Expand Up @@ -771,7 +771,7 @@ kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.7.3
helm.sh/chart: cnpg-cluster-1.8.0
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
Expand Down
4 changes: 4 additions & 0 deletions packages/kontinuous/tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ describe("test build manifests with snapshots", () => {
)}"`,
KS_HOMEDIR: `${tmpdir}/kontinuous/test-homedir`,
KS_BUILD_PATH: buildPath,
KS_DISABLE_PLUGIN: JSON.stringify([
"fabrique/contrib/validators/kubeconform",
"fabrique/contrib/validators/sealedSecrets",
]),
}
const envFile = `${testdirPath}/.env`
if (fs.pathExistsSync(envFile)) {
Expand Down

0 comments on commit c4d2a2c

Please sign in to comment.