-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
444 add a gh action for deploying and verifying dashboards alerts load ok with quickstart #708
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #708 +/- ##
===========================================
- Coverage 80.20% 69.48% -10.73%
===========================================
Files 64 76 +12
Lines 4492 5896 +1404
===========================================
+ Hits 3603 4097 +494
- Misses 600 1483 +883
- Partials 289 316 +27
Flags with carried forward coverage won't be shown. Click here to find out more.
|
4a08f4a
to
f7a5cc4
Compare
changed deployment to prometheus adapter changed deployment to blackbox-operator changed wait condition to prometheus k8s pod
fix for loop syntax fixed string declaration errors and array read issues fixed pid declaration
better implementation of tf script for use with github actions and secrets
f7a5cc4
to
9796180
Compare
syntax error another one fixed variable errors passed secrets as variables fixed variable declaration so many issues... added additional changes fixed syntax errors more syntax errors hopefully fixed syntax added public ip to terraform and action fixed env var declare
fix for ssh issue moved step created ssh dir and touched new file a b changed perms to 400 changed user to ubuntu added additional package to install for gh runner install libicu changed url check for what the url is another one echo repo changed repo name to static a changed auth type B added permissions for github token e ee e changed from github token to secret
added nohup hopefully fix :D source bashrc changed shell prefs fixed typo install expect and change perms for user in action adding chown because i am a clown :D install yq because y not remove classical flag a
39036eb
to
fb7b5ac
Compare
attempt to use statefile new changes *E* a
o . o a a
e86b8cc
to
4bdee2b
Compare
What components cannot be set up using a built in runner? |
Thanks for the awesome work on this @ehearneRedHat |
When running the quickstart in a GitHub hosted runner I am met with plenty of errors pertaining to missing network libraries, and even when these libraries are installed, because the quickstart requests to run a container in privileged mode, it cannot, as the runner itself is not privileged. Therefore in order to run the network components, the runner had to be self hosted, and to avoid costs surrounding a self hosted runner powerful enough to run all the components within the quickstart, Terraform was used as keeping such a runner up for a prolonged period of time would be quite costly. If you have any further questions please let me know. :D
No problem, @david-martin ! It was great to have had the opportunity to learn so much about this side of runners. :) |
@pehala @jsmolar @david-martin New build of Therefore, verification steps have been updated, and redundant files have now been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks much better now! Thanks for updating it
fixed typo E e e e a a a meep meep
e a beep bop boop boop
e e e e create ami e e final touches :) e
test test
test test 1
f2ab911
to
7c69e7b
Compare
c4e2c16
to
fc8472f
Compare
🎉 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to address all the comments and feedback @ehearneRedHat
This solves the original problem in a standard way that should be relatively easy to maintain.
Merging with known test flake unrelated to the changes in this PR (see https://kubernetes.slack.com/archives/C05J0D0V525/p1720453954262009) |
What:
GitHub Action
Verify Dashboards and Alerts OK
created to test whether dashboards and alerts are deployed successfully.How:
Within the
Verify Dashboard and Alerts OK
workflow, it spins up the infrastructure needs for self-hosted runner via Terraform, then it runs/hack/quickstart-setup.sh
first to run kuadrant-operator and in particular loads in theObservability Stack
which contains our dashboards via Grafana, and our alerts via Prometheus:examples/dashboards/
. Once the requests are carried out, it kills the process ID associated with grafana service endpoint exposure.examples/alerts/
via Prometheus.Verify:
444-add-a-gh-action-for-deploying-and-verifying-dashboards-alerts-load-ok-with-quickstart
using the originhttps://www.github.com/Kuadrant/kuadrant-operator
..github/workflows/verify-dashboard-alerts.yaml
so that it gets triggered everytime there is a push. Then, commit and push the changes to observe the workflow. If the workflow runs quickstart, performs HTTP requests, it did its job correctly.