From 9f32ad72681ecbb8419d417be40b6d5d1f289848 Mon Sep 17 00:00:00 2001 From: Pankaj Date: Mon, 12 Aug 2024 20:40:06 +0530 Subject: [PATCH] disable postgresqlExtendedConf.huge_pages --- .github/workflows/test_kubernetes.yml | 34 +++++++++++++-------------- scripts/test/kubernetes-setup.sh | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test_kubernetes.yml b/.github/workflows/test_kubernetes.yml index 35ff2fbfe..18e41ad6f 100644 --- a/.github/workflows/test_kubernetes.yml +++ b/.github/workflows/test_kubernetes.yml @@ -11,23 +11,23 @@ on: jobs: run-kubernets-tests: runs-on: ubuntu-latest - services: - # Label used to access the service container - postgres: - # Docker Hub image - image: postgres - # Provide the password for postgres - env: - POSTGRES_PASSWORD: postgres - # Set health checks to wait until postgres has started - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - # Maps tcp port 5432 on service container to the host - - 5432:543 +# services: +# # Label used to access the service container +# postgres: +# # Docker Hub image +# image: postgres +# # Provide the password for postgres +# env: +# POSTGRES_PASSWORD: postgres +# # Set health checks to wait until postgres has started +# options: >- +# --health-cmd pg_isready +# --health-interval 10s +# --health-timeout 5s +# --health-retries 5 +# ports: +# # Maps tcp port 5432 on service container to the host +# - 5432:543 steps: - uses: actions/checkout@v3 - name: Kubernetes KinD Cluster diff --git a/scripts/test/kubernetes-setup.sh b/scripts/test/kubernetes-setup.sh index 5c6a7e447..989e6e402 100644 --- a/scripts/test/kubernetes-setup.sh +++ b/scripts/test/kubernetes-setup.sh @@ -47,7 +47,7 @@ kind load docker-image dbt-jaffle-shop:1.0.0 # Deploy a Postgres pod to Kind helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update -helm install postgres bitnami/postgresql # -f scripts/test/values.yaml +helm install postgres bitnami/postgresql --set postgresqlExtendedConf.huge_pages="off" # -f scripts/test/values.yaml # Retrieve the Postgres password and set it as an environment variable POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgres-postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)