Skip to content

Commit

Permalink
dev: add sleep with debug flag to dbt-docs-generate task at ci
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoquintanav committed Nov 17, 2023
1 parent 016c557 commit ac033bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ variables:
MKDOCS_COMPOSE_FILE: containers/mkdocs/docker-compose.mkdocs.yml
APP_COMPOSE_FILE: containers/app/docker-compose.yml
CI_TRIGGER_TASK_NAME: null


# just run pre-commit hooks on the files that changed, but don't fix them
PRE_COMMIT_AUTO_FIX: 0
Expand Down Expand Up @@ -353,6 +354,7 @@ generate-dbt-docs:
DBT_DOCS_ARTIFACT_DIR: ${CI_PROJECT_DIR}/${DBT_PROJECT_DIR_NAME}/target
image: ${SOM_HARBOR_DADES_URL}/${SOM_PROJECT_NAME}-dbt-docs:latest
script:
- if [ $CI_PIPELINE_DEBUG_FLAG==true ]; then sleep 1h; fi
- cd ${CI_PROJECT_DIR}/${DBT_PROJECT_DIR_NAME}
- dbt deps --target ${DBT_TARGET_NAME}
- dbt docs generate --target ${DBT_TARGET_NAME}
Expand Down

0 comments on commit ac033bd

Please sign in to comment.