Skip to content
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

fix: Pin Prometheus and Grafana revisions #128

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

phoevos
Copy link
Contributor

@phoevos phoevos commented Sep 2, 2023

This is a temporary patch until we migrate to Juju 3.1:

  • Pin Prometheus revision when deploying from latest to avoid fetching recent patches of the charm which assume juju >= 3.0.3. Revision 137 was the last one seen working properly in our CI integration tests.
  • Pin Grafana revision when deploying from latest to avoid fetching recent patches of the charm that fail to install on Juju 2.9. Revision 89 was the last one working properly in our CI integration tests.

Refs canonical/bundle-kubeflow#688
Refs canonical/bundle-kubeflow#690

This is a temporary patch until we migrate to Juju 3.1:
* Pin Prometheus revision when deploying from `latest` to avoid fetching
  recent patches of the charm which assume `juju >= 3.0.3`. Revision 137
  was the last one seen working properly in our CI integration tests.
* Pin Grafana revision when deploying from `latest` to avoid fetching
  recent patches of the charm which fail to install on Juju 2.9.
  Revision 89 was the last one working properly in our CI integration
  tests.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
@phoevos phoevos requested a review from a team as a code owner September 2, 2023 12:56
i-chvets
i-chvets previously approved these changes Sep 2, 2023
Copy link
Contributor

@i-chvets i-chvets left a comment

Choose a reason for hiding this comment

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

This PR contains changes to ensure that integration tests are passing in CI.
These changes were discussed outside of this PR as well.
The fix is to temporary pin Prometheus and Grafana versions.

Approved. Pending CI.

UPDATE: Integration tests are not passing in CI.

@i-chvets i-chvets dismissed their stale review September 2, 2023 13:43

CI is still not passing.

@phoevos
Copy link
Contributor Author

phoevos commented Sep 2, 2023

Retriggered the tests and now the CI is passing, so probably transient (could be a timeout causing the connection to break).

Copy link
Contributor

@i-chvets i-chvets left a comment

Choose a reason for hiding this comment

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

Approved. See comments in previous approval.

@phoevos phoevos merged commit fa4950b into main Sep 2, 2023
7 checks passed
@phoevos phoevos deleted the kf-4278-pin-prometheus-rev branch September 2, 2023 16:10
DnPlas pushed a commit that referenced this pull request Sep 11, 2023
This is a temporary patch until we migrate to Juju 3.1:
* Pin Prometheus revision when deploying from `latest` to avoid fetching
  recent patches of the charm which assume `juju >= 3.0.3`. Revision 137
  was the last one seen working properly in our CI integration tests.
* Pin Grafana revision when deploying from `latest` to avoid fetching
  recent patches of the charm which fail to install on Juju 2.9.
  Revision 89 was the last one working properly in our CI integration
  tests.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
DnPlas added a commit that referenced this pull request Sep 11, 2023
fix: Pin Prometheus and Grafana revisions (#128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants