File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -10151,6 +10151,9 @@ function bootstrap_ccloud_environment () {
10151
10151
confluent login --save
10152
10152
fi
10153
10153
10154
+ playground ccloud-costs-history > /tmp/ccloud-costs-history.txt &
10155
+ playground ccloud-costs-history --detailed > /tmp/ccloud-costs-history-detailed.txt &
10156
+
10154
10157
suggest_use_previous_example_ccloud=1
10155
10158
test_file=$(playground state get run.test_file)
10156
10159
@@ -15876,6 +15879,19 @@ playground_run_command() {
15876
15879
fi
15877
15880
check_for_ec2_instance_running
15878
15881
15882
+ if [[ $test_file == *"ccloud"* ]]
15883
+ then
15884
+ if [ -f /tmp/ccloud-costs-history.txt ]
15885
+ then
15886
+ log "📅💰 monthly ccloud costs"
15887
+ cat /tmp/ccloud-costs-history.txt
15888
+ fi
15889
+ if [ -f /tmp/ccloud-costs-history-detailed.txt ]
15890
+ then
15891
+ log "👀 if you want more details, open /tmp/ccloud-costs-history-detailed.txt file"
15892
+ fi
15893
+ fi
15894
+
15879
15895
if [ ! -z "$ENABLE_JMX_GRAFANA" ]
15880
15896
then
15881
15897
log "🛡️ Prometheus is reachable at http://127.0.0.1:9090"
Original file line number Diff line number Diff line change @@ -1587,6 +1587,19 @@ else
1587
1587
fi
1588
1588
check_for_ec2_instance_running
1589
1589
1590
+ if [[ $test_file == * " ccloud" * ]]
1591
+ then
1592
+ if [ -f /tmp/ccloud-costs-history.txt ]
1593
+ then
1594
+ log " 📅💰 monthly ccloud costs"
1595
+ cat /tmp/ccloud-costs-history.txt
1596
+ fi
1597
+ if [ -f /tmp/ccloud-costs-history-detailed.txt ]
1598
+ then
1599
+ log " 👀 if you want more details, open /tmp/ccloud-costs-history-detailed.txt file"
1600
+ fi
1601
+ fi
1602
+
1590
1603
if [ ! -z " $ENABLE_JMX_GRAFANA " ]
1591
1604
then
1592
1605
log " 🛡️ Prometheus is reachable at http://127.0.0.1:9090"
Original file line number Diff line number Diff line change @@ -1745,6 +1745,9 @@ function bootstrap_ccloud_environment () {
1745
1745
confluent login --save
1746
1746
fi
1747
1747
1748
+ playground ccloud-costs-history > /tmp/ccloud-costs-history.txt &
1749
+ playground ccloud-costs-history --detailed > /tmp/ccloud-costs-history-detailed.txt &
1750
+
1748
1751
suggest_use_previous_example_ccloud=1
1749
1752
test_file=$( playground state get run.test_file)
1750
1753
You can’t perform that action at this time.
0 commit comments