Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tommartensen committed Aug 3, 2023
1 parent 20a972f commit 0874ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/cost-estimation/calculate-costs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ bq query \
--project_id stackrox-infra \
--format prettyjson \
< "${WORKING_DIR}/total-time-consumed.sql" \
| wc -l
# | python3 "${WORKING_DIR}/render_costs.py"
| python3 "${WORKING_DIR}/render_costs.py"
2 changes: 2 additions & 0 deletions scripts/cost-estimation/render_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

def read_usage_from_stdin():
content = ""
print("hello")
for line in sys.stdin:
print(1, line)
content += line

print(content)
Expand Down

0 comments on commit 0874ded

Please sign in to comment.