File tree 1 file changed +8
-3
lines changed 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1694,16 +1694,21 @@ jobs:
1694
1694
- utils/checkout-with-mise
1695
1695
- run :
1696
1696
name : Collect devnet metrics for op-acceptance-tests
1697
- command : ./devnet-sdk/scripts/metrics-collect-authorship.sh op-acceptance-tests/tests > .metrics--authorship--op-acceptance-tests
1697
+ command : |
1698
+ ./devnet-sdk/scripts/metrics-collect-authorship.sh op-acceptance-tests/tests > .metrics--authorship--op-acceptance-tests
1699
+ echo "Wrote file .metrics--authorship--op-acceptance-tests"
1698
1700
- gcp-cli/install
1699
1701
- gcp-oidc-authenticate :
1700
1702
gcp_cred_config_file_path : /tmp/gcp_cred_config.json
1701
1703
oidc_token_file_path : /tmp/oidc_token.json
1702
1704
- run :
1703
1705
name : Store artifact in Bucket
1704
1706
command : |
1705
- gsutil cp .metrics--authorship--op-acceptance-tests gs://oplabs-tools-data-public-metrics/metrics-authorship/metrics
1706
- gsutil cp .metrics--authorship--op-acceptance-tests gs://oplabs-tools-data-public-metrics/metrics-authorship/metrics-$CIRCLE_SHA1
1707
+ CURRENT_DATE=$(date '+%Y-%m-%d')
1708
+ FOLDER_NAME="dt=$CURRENT_DATE"
1709
+
1710
+ # Upload to the date-partitioned folder structure
1711
+ gsutil cp .metrics--authorship--op-acceptance-tests gs://oplabs-tools-data-public-metrics/metrics-authorship/$FOLDER_NAME/metrics-$CIRCLE_SHA1.csv
1707
1712
1708
1713
1709
1714
workflows :
You can’t perform that action at this time.
0 commit comments