Skip to content

Commit

Permalink
OK-773 Fix dbt run script and deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Dec 13, 2024
1 parent 4a035fa commit fc3fa93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-dbt-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ jobs:
- name: Configure ENV parameters
if: ${{ inputs.environment == 'tuotanto' }}
run: |
echo "FAMILY_PREFIX=DUMMY" >> $GITHUB_ENV
echo "ECS_CLUSTER_NAME=DUMMY" >> $GITHUB_ENV
echo "FAMILY_PREFIX=tuotantoEcsStacktestidbttaskScheduledTaskDef" >> $GITHUB_ENV
echo "ECS_CLUSTER_NAME=tuotanto-ecs-cluster" >> $GITHUB_ENV
echo "SCHEDULED_TASK_RULE_PREFIX=tuotanto-scheduledFargateTaskRule" >> $GITHUB_ENV
- name: Download task definition
run: |
Expand Down
3 changes: 3 additions & 0 deletions dbt-container/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ start=$(date +%s)
cd dbt
. venv/bin/activate

dbt seed -s raw_taulut --target=prod
dbt run-operation create_raw_tables --target=prod

if [[ -z "$1" ]]; then
echo "Running DBT without any extra paramaters"
dbt build --target=prod
Expand Down

0 comments on commit fc3fa93

Please sign in to comment.