Skip to content

Commit

Permalink
Replaced key.yml with object-config.yml file.
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Shukla <[email protected]>
  • Loading branch information
kushalShukla-web committed Nov 22, 2024
1 parent 07476cd commit 23a7a07
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion prombench/docs/eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Run Prombench tests in [Elastic Kubernetes Service (EKS)](https://aws.amazon.com
make node_create
```
3. **Setting Up Benchmarking Data**
When setting up a benchmarking environment, it’s often useful to have pre-generated data available.This data can help speed up testing and make benchmarks more realistic by simulating actual workloads.
When setting up a benchmarking environment, it’s often useful to have pre-generated data available. This data can help speed up testing and make benchmarks more realistic by simulating actual workloads.

In this setup, you have two choices:

Expand Down
Binary file removed tools/block-sync/block-sync
Binary file not shown.
10 changes: 5 additions & 5 deletions tools/prometheus-builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ fi
git checkout pr-branch

# Here, STORAGE is specified as an environment variable of the prometheus-builder init container,
# where it will copy the key.yml file from the Prometheus directory to the volume section of the
# where it will copy the bucket-config.yml file from the Prometheus directory to the volume section of the
# emptyDir. This file will later be used by the data-downloader init container.
if [ -f "$DIR/key.yml" ]; then
echo "INFO:: key.yml file is Present on $DIR/key.yml directory so download the block from ObjecStorage."
cp "$DIR/key.yml" "$STORAGE/key.yml"
if [ -f "$DIR/bucket-config.yml" ]; then
echo "INFO:: bucket-config.yml file is Present on $DIR/bucket-config.yml directory so download the block from ObjecStorage."
cp "$DIR/bucket-config.yml" "$STORAGE/bucket-config.yml"
else
echo "INFO:: key.yml File does not exist on $DIR/key.yml directory so data is not downloaded from ObjectStorage."
echo "INFO:: bucket-config.yml File does not exist on $DIR/bucket-config.yml directory so data is not downloaded from ObjectStorage."
fi

echo ">> Creating prometheus binaries"
Expand Down
8 changes: 4 additions & 4 deletions tools/prometheus-builder/key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ git checkout pr-branch
# Here, STORAGE is specified as an environment variable of the download-key init container,
# where it will copy the key.yml file from the Prometheus directory to the volume section of the
# emptyDir. This file will later be used by the data-downloader init container.
if [ -f "$DIR/key.yml" ]; then
echo "INFO:: key.yml file is Present on $DIR/key.yml directory."
echo "INFO:: key.yml file is Present on $DIR/key.yml directory so download the block from ObjecStorage."
if [ -f "$DIR/bucket-config.yml" ]; then
echo "INFO:: bucket-config.yml file is Present on $DIR/bucket-config.yml directory so download the block from ObjecStorage."
cp "$DIR/bucket-config.yml" "$STORAGE/bucket-config.yml"
else
echo "INFO:: key.yml File does not exist on $DIR/key.yml directory so data is not downloaded from ObjectStorage."
echo "INFO:: bucket-config.yml File does not exist on $DIR/bucket-config.yml directory so data is not downloaded from ObjectStorage."
fi

0 comments on commit 23a7a07

Please sign in to comment.