Update weekly_stats_graphs.yaml

This commit is contained in:
Alexandre
2023-03-21 11:49:56 +01:00
committed by GitHub
parent 3e62b0993b
commit 81c1e81eb8

View File

@@ -170,9 +170,9 @@ jobs:
FOLDER="$(grep -rl "ghcr.io/alexbelgium/$TITLE-" . | xargs dirname)" FOLDER="$(grep -rl "ghcr.io/alexbelgium/$TITLE-" . | xargs dirname)"
# if folder exists # if folder exists
if [ -d "$FOLDER" ]; then if [ -d "$FOLDER" ]; then
echo "$TITLE" echo "$TITLE"
# Plot graph # Plot graph
( gnuplot-nox -persist <<-EOFMarker ( gnuplot-nox -persist <<-EOFMarker
set title "$TITLE" set title "$TITLE"
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -185,8 +185,8 @@ jobs:
set output "$FOLDER/stats.png" set output "$FOLDER/stats.png"
set term png tiny set term png tiny
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth csplines plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth csplines
EOFMarker EOFMarker
) || ( gnuplot-nox -persist <<-EOFMarker ) || ( gnuplot-nox -persist <<-EOFMarker
set title "$TITLE" set title "$TITLE"
set ylabel 'Number of installations' set ylabel 'Number of installations'
set xdata time set xdata time
@@ -199,8 +199,8 @@ jobs:
set output "$FOLDER/stats.png" set output "$FOLDER/stats.png"
set term png tiny set term png tiny
plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i)
EOFMarker EOFMarker
) )
fi fi
done < "$input" done < "$input"
# Clean files # Clean files