-
Notifications
You must be signed in to change notification settings - Fork 16
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
tests: pin deployed charms to a latest and stable compatible version #190
Conversation
This commit pins all charms that get deployed from Charmhub to a compatible version to the CKF 1.8 release. This commit also refactors the test file so it takes all versions and other constants from a constants.py file Part of canonical/bundle-kubeflow#863
503e82d
to
aec4ad6
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.
Minor comments in cos charms
tests/integration/test_charm.py
Outdated
KUBEFLOW_DASHBOARD_TRUST = True | ||
|
||
PROMETHEUS_K8S = "prometheus-k8s" | ||
PROMETHEUS_K8S_CHANNEL = "1.0/stable" |
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.
Should not this be latest/stable
?
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.
Whoops, sorry, I just copy pasted. Will update.
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.
Updated.
tests/integration/test_charm.py
Outdated
PROMETHEUS_K8S_CHANNEL = "1.0/stable" | ||
PROMETHEUS_K8S_TRUST = True | ||
GRAFANA_K8S = "grafana-k8s" | ||
GRAFANA_K8S_CHANNEL = "1.0/stable" |
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.
Should not this be latest/stable
?
tests/integration/test_charm.py
Outdated
GRAFANA_K8S_CHANNEL = "1.0/stable" | ||
GRAFANA_K8S_TRUST = True | ||
PROMETHEUS_SCRAPE_K8S = "prometheus-scrape-config-k8s" | ||
PROMETHEUS_SCRAPE_K8S_CHANNEL = "1.0/stable" |
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.
Should not this be latest/stable
?
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.
LGTM good job :)
This commit pins all charms that get deployed from Charmhub to a latest/edge or suggested versions.
Part of canonical/bundle-kubeflow#863