Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jul 22, 2024
1 parent 2e37d05 commit 7248000
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_kube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
sh ./scripts/test/kubernetes-test.sh
- name: Setup Airflow
run: |
pip install --system hatch
pip install hatch
hatch -e tests.py3.9-2.9 run pip freeze
hatch run tests.py3.9-2.9:test-kubernetes
6 changes: 3 additions & 3 deletions scripts/test/kubernetes-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ helm repo update
helm install postgres bitnami/postgresql
POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgres-postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)
export POSTGRES_PASSWORD
sleep 300
#sleep 300
kubectl port-forward --namespace default postgres-postgresql-0 5432:5432 &
kubectl create secret generic postgres-secrets --from-literal=host=postgres-postgresql.default.svc.cluster.local --from-literal=password=$POSTGRES_PASSWORD
cd dev && docker build -t dbt-jaffle-shop:1.0.0 -f Dockerfile.postgres_profile_docker_k8s .
kind load docker-image dbt-jaffle-shop:1.0.0
#cd dev && docker build -t dbt-jaffle-shop:1.0.0 -f Dockerfile.postgres_profile_docker_k8s .
#kind load docker-image dbt-jaffle-shop:1.0.0

0 comments on commit 7248000

Please sign in to comment.