Skip to content

Commit 571ac24

Browse files
author
Rustam Sadykov
committed
update github action
1 parent 527dea5 commit 571ac24

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/night-statistics-monitoring.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,28 @@ jobs:
7070
- name: Insert metadata
7171
run: |
7272
python monitoring/insert_metadata.py \
73-
$output_stats "$data_path/data-$branch-$date-$timestamp-$short_commit.json" \
74-
"$commit" "$build"
73+
--stats_file $output_stats \
74+
--output_file "$data_path/data-$branch-$date-$timestamp-$short_commit.json" \
75+
--commit $commit \
76+
--build "$build" \
77+
--timestamp $timestamp \
78+
--source "github-action-$run_id"
7579
env:
7680
date: ${{ steps.date.outputs.date }}
7781
timestamp: ${{ steps.date.outputs.timestamp }}
7882
commit: ${{ steps.metadata.outputs.commit }}
7983
short_commit: ${{ steps.metadata.outputs.short_commit }}
8084
branch: ${{ steps.metadata.outputs.branch }}
8185
build: ${{ steps.metadata.outputs.build }}
86+
run_id: ${{ github.run_id }}
8287

8388
- name: Build aggregated data (last month)
8489
run: |
8590
python monitoring/build_aggregated_data.py \
86-
$data_path $aggregated_data_path/aggregated-data-$date.json \
87-
$timestamp_from $timestamp
91+
--input_data_dir $data_path \
92+
--output_file $aggregated_data_path/aggregated-data-$date.json \
93+
--timestamp_from $timestamp_from \
94+
--timestamp_to $timestamp
8895
env:
8996
date: ${{ steps.date.outputs.date }}
9097
timestamp: ${{ steps.date.outputs.timestamp }}

0 commit comments

Comments
 (0)