Skip to content

moved java, deleted some stuff, added redis idea and github action co… #3

moved java, deleted some stuff, added redis idea and github action co…

moved java, deleted some stuff, added redis idea and github action co… #3

Workflow file for this run

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

Check failure on line 16 in .github/workflows/github-action.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-action.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16