Skip to content

Instantly share code, notes, and snippets.

View mamontesp's full-sized avatar
👟
Always avid of learning

Andrea Montes mamontesp

👟
Always avid of learning
View GitHub Profile
@juangesino
juangesino / .gitlab-ci.dbt_run.yml
Last active January 11, 2024 03:22
Running dbt using Gitlab CI/CD
.dbt_run: &dbt_jobs
image: python:3.8.1-slim-buster
before_script:
- apt-get update
- apt-get dist-upgrade -y
- apt-get install -y --no-install-recommends git make ca-certificates libpq-dev libicu-dev pkg-config gcc build-essential
- pip install dbt-postgres==1.0.0
- export CI_PROFILE_TARGET="--profiles-dir . --target ${TARGET_NAME}"
- echo $CI_PROFILE_TARGET