Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Oct 13, 2023
1 parent e9905b0 commit e99fc3a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 359 deletions.
33 changes: 0 additions & 33 deletions packages/kontinuous/tests/__snapshots__/cnpg.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,38 +303,5 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"citext\\";
- CREATE EXTENSION IF NOT EXISTS \\"pgcrypto\\";
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: cnpg-cluster-rw
labels:
helm.sh/chart: cnpg-cluster-1.4.2
app.kubernetes.io/name: cnpg-cluster
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-cnpg-feature-branch-1-ffac537e6cbbf934b08745a378-5k18ynv8
kontinuous/deployment.env: test-cnpg-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-cnpg-cluster-rw-t5d0s6ee
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.cnpg.cnpg-cluster
kontinuous/source: project/charts/cnpg/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/deployment: test-cnpg-feature-branch-1-ffac537e6cbbf934b08745a378-5k18ynv8
namespace: test-cnpg-feature-branch-1
spec:
cluster:
name: cnpg-cluster
instances: 1
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
"
`;
70 changes: 0 additions & 70 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -685,75 +685,5 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"citext\\";
- CREATE EXTENSION IF NOT EXISTS \\"pgcrypto\\";
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-pg-hasura-rw-qzqjyuru
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pg-hasura.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-hasura/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-hasura.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
namespace: test-extends-ovh-feature-branch-1
spec:
cluster:
name: pg-hasura
instances: 1
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-pg-keycloak-rw-ljgr35td
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pg-keycloak.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-keycloak.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
namespace: test-extends-ovh-feature-branch-1
spec:
cluster:
name: pg-keycloak
instances: 1
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
"
`;
124 changes: 0 additions & 124 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -883,130 +883,6 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"pgcrypto\\";
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: pg-hasura-rw
annotations:
kontinuous/chartPath: project.fabrique.pg-hasura.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-hasura/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-hasura.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
labels:
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: podmonitor-pg-hasura-rw-3z1pzpct
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
namespace: test-extends-ovh
spec:
selector:
matchLabels:
cnpg.io/poolerName: pg-hasura-rw
podMetricsEndpoints:
- port: metrics
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: pg-keycloak-rw
annotations:
kontinuous/chartPath: project.fabrique.pg-keycloak.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-keycloak.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
labels:
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: podmonitor-pg-keycloak-rw-3n20ht4i
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
namespace: test-extends-ovh
spec:
selector:
matchLabels:
cnpg.io/poolerName: pg-keycloak-rw
podMetricsEndpoints:
- port: metrics
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-pg-hasura-rw-qzqjyuru
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pg-hasura.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-hasura/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-hasura.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
namespace: test-extends-ovh
spec:
cluster:
name: pg-hasura
instances: 3
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-pg-keycloak-rw-ljgr35td
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pg-keycloak.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg-keycloak.jobs-pg
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
namespace: test-extends-ovh
spec:
cluster:
name: pg-keycloak
instances: 3
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,41 +394,6 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: pg-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: pg
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-override-env-default-feature-branch-1-ffac537e6c-tw0tuagy
kontinuous/deployment.env: test-override-env-default-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-pg-rw-16g3zl77
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pg.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.pg.jobs-pg
kontinuous/deployment: test-override-env-default-feature-branch-1-ffac537e6c-tw0tuagy
namespace: test-override-env-default-feature-branch-1
spec:
cluster:
name: pg
instances: 1
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: pg-scheduledbackup
Expand Down
35 changes: 0 additions & 35 deletions packages/kontinuous/tests/__snapshots__/pg.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -461,40 +461,5 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"citext\\";
- CREATE EXTENSION IF NOT EXISTS \\"pgcrypto\\";
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: cnpg-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.10
app.kubernetes.io/name: cnpg
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
kontinuous/deployment.env: test-pg-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-cnpg-rw-4k1jpapz
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.cnpg.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/cnpg/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.cnpg.jobs-pg
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
namespace: test-pg-feature-branch-1
spec:
cluster:
name: cnpg
instances: 1
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
"
`;
62 changes: 0 additions & 62 deletions packages/kontinuous/tests/__snapshots__/pg.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,68 +557,6 @@ spec:
- CREATE EXTENSION IF NOT EXISTS \\"pgcrypto\\";
- CREATE EXTENSION IF NOT EXISTS \\"hstore\\";
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cnpg-rw
annotations:
kontinuous/chartPath: project.fabrique.cnpg.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/cnpg/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.cnpg.jobs-pg
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
labels:
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
kontinuous/deployment.env: test-pg-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: podmonitor-cnpg-rw-5q6ta7ib
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
namespace: test-pg
spec:
selector:
matchLabels:
cnpg.io/poolerName: cnpg-rw
podMetricsEndpoints:
- port: metrics
---
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: cnpg-rw
labels:
helm.sh/chart: cnpg-cluster-1.9.12
app.kubernetes.io/name: cnpg
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
kontinuous/deployment.env: test-pg-prod
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: pooler-cnpg-rw-4k1jpapz
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.cnpg.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/cnpg/charts/cnpg-cluster/templates/pooler.cnpg.yaml
kontinuous/plugin.needs: |
- project.fabrique.cnpg.jobs-pg
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
namespace: test-pg
spec:
cluster:
name: cnpg
instances: 3
pgbouncer:
parameters:
max_client_conn: \\"1000\\"
poolMode: session
type: rw
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
Expand Down

0 comments on commit e99fc3a

Please sign in to comment.