moved java, deleted some stuff, added redis idea and github action co… #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions Demo | ||
run-name: I am testing out GitHub Actions 🚀 | ||
on: [push] | ||
jobs: | ||
Explore-GitHub-Actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: cd demo/fibonacci && docker build . -t test # build docker image | ||
- run: kind load docker-image test # load docker image into kind | ||
- run: cd demo/fibonacci && kubectl apply -f pod.yaml # deploy fibonacci on k8s | ||
# add the port forward add to prometheus | ||
- run: curl 'http://localhost:9090/api/v1/query?query=kepler_container_joules_total\{pod_name="fibonacci-inefficient"\}' > test.json\n # | ||
- run: jq '.data.result[0].value[1]' test.json # check once this idle modle vs dynamic | ||
# save the data somewhere into the db | ||
x | ||