Skip to content

Commit 501610e

Browse files
author
Noel Gomez
committed
update upload script
1 parent fe7d3b1 commit 501610e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/10_feature_dbt_checks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
dbt compile
102102
../automate/dbt/push_dbt_artifacts.py
103103
104-
105104
# - name: Install dbt packages
106105
# run: "dbt deps"
107106

automate/dbt/push_dbt_artifacts.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,16 @@ def delete_project_file(account_id: int, project_slug: str, filename: str):
159159
# UPLOAD FILES
160160

161161
filenames = ["graph.gpickle", "graph_summary.json", "partial_parse.msgpack"]
162-
# for filename in filenames:
163-
# upload_env_file(account_id, project_slug, environment_slug, filename)
162+
for filename in filenames:
163+
upload_env_file(account_id, project_slug, environment_slug, filename)
164164

165-
# for filename in filenames:
166-
# promote_env_file(account_id, project_slug, environment_slug, filename)
165+
for filename in filenames:
166+
promote_env_file(account_id, project_slug, environment_slug, filename)
167167

168-
# upload_env_file(account_id, project_slug, environment_slug, "manifest.json", is_manifest=True )
169-
# promote_env_file(account_id, project_slug, environment_slug, "manifest.json" )
168+
upload_env_file(account_id, project_slug, environment_slug, "manifest.json", is_manifest=True )
169+
promote_env_file(account_id, project_slug, environment_slug, "manifest.json" )
170170

171-
delete_project_file(account_id, project_slug, "manifest.json")
171+
# delete_project_file(account_id, project_slug, "manifest.json")
172172

173173
# SHOW FILE DETAILS
174174
files = list_project_files(account_id, project_slug)

0 commit comments

Comments
 (0)