From 3428231ad7bcbe89faabf3ff8f482eeaaa743ecb Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 8 Apr 2025 12:32:56 +0200 Subject: [PATCH] typos and touches --- ci/README.md | 4 ++-- ci/ci-vm-setup.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/README.md b/ci/README.md index 9094747..4bbb78a 100644 --- a/ci/README.md +++ b/ci/README.md @@ -24,8 +24,8 @@ If you don't have this, it probably means you need to review our Infrastructure - SSH into the CI VM. - Create a folder in the user home directory named `dbt-ci`. - Create a copy of the `ci/ci.env` file there naming it `.env` (assuming you're in the repo root dir, `cp ci/ci.env ~/dbt-ci/.env`) and fill it with values of your choice. -- Modify the `docker-compose.yml` file with values for the Postgres server parameters. Which values to set depend on your hardware. If you don't want or can't decide values for these parameters, you can just comment the lines. -- Enter the `ci` folder and execute the script named `ci-vm-setup.sh` in with `.env` file you just filled in sourced (you can run this: `(set -a && source ~/dbt-ci/.env && set +a && bash ci-vm-setup.sh)`). This script will take care of most of the setup that need to be executed, including: +- Copy the `docker-compose.yml` file into `dbt-ci`. Modify your copy with values for the Postgres server parameters. Which values to set depend on your hardware. If you don't want or can't decide values for these parameters, you can just comment the lines. +- Enter the `ci` folder and execute the script named `ci-vm-setup.sh` in with `.env` file you just filled in sourced (you can run this: `(set -a && source ~/dbt-ci/.env && set +a && bash ci-vm-setup.sh)`). This script will take care of most of the setup that need to be executed, including: - Preparing the postgres database. - Setting up the dockerized postgres with the right database, FDW, etc. - Prepare the `profiles.yml` file. diff --git a/ci/ci-vm-setup.sh b/ci/ci-vm-setup.sh index a2b8ca3..7bc18ca 100644 --- a/ci/ci-vm-setup.sh +++ b/ci/ci-vm-setup.sh @@ -1,5 +1,5 @@ # Start container -docker compose --env-file ~/dbt-ci/.env up -d +docker compose -f ~/dbt-ci/docker-compose.yml --env-file ~/dbt-ci/.env up -d # Run script to set things up in Postgres (DB, FDWs, etc)