Skip to content

ci: add workflow to run kepler on k8s#2128

Merged
sthaha merged 1 commit intosustainable-computing-io:rebootfrom
vprashar2929:ci-k8s
Jun 4, 2025
Merged

ci: add workflow to run kepler on k8s#2128
sthaha merged 1 commit intosustainable-computing-io:rebootfrom
vprashar2929:ci-k8s

Conversation

@vprashar2929
Copy link
Copy Markdown
Collaborator

@vprashar2929 vprashar2929 commented Jun 4, 2025

This commit adds a new workflow which builds and deploys Kepler on Kind cluster.
This workflow mainly does the following:

  1. Installs required dependencies like Docker, Kind, Kubectl on to the runner.
  2. Builds Kepler and pushes to local registry.
  3. Deploys Kepler on Kind cluster.
  4. Validate the metrics. (Will be removing this once we add proper validations for Kepler.)

@github-actions github-actions Bot added the ci Changes to the CI pipeline label Jun 4, 2025
This commit adds a new workflow which builds and deploys Kepler on Kind
cluster.
This workflow mainly does the following:
1. Installs required dependencies like Docker, Kind, Kubectl on to the
   runner.
2. Builds Kepler and pushes to local registry.
3. Deploys Kepler on Kind cluster.
4. Validate the metrics. (Will be removing this once we add proper
   validations for Kepler.)

Signed-off-by: vprashar2929 <vibhu.sharma2929@gmail.com>
Copy link
Copy Markdown
Collaborator

@KaiyiLiu1234 KaiyiLiu1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:28282/metrics)
[[ $HTTP_STATUS -ne 200 ]] && echo "HTTP status code is not 200" && exit 1

curl -s -o /tmp/metrics.txt http://localhost:28282/metrics
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also please check that there are no An error has occurred ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure will add this as well

@sthaha sthaha merged commit 47deecf into sustainable-computing-io:reboot Jun 4, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes to the CI pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants