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

Allow Prometheus to run GitHub Actions in e2e tests #613

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

TheSpiritXIII
Copy link
Member

Our current e2e tests are not deploying the Prometheus collector pods correctly on GitHub Actions due to 2 reasons:

  1. GitHub Actions does not support "localhost". It only supports the loopback address directory.
  2. GitHub Actions does not have Google Cloud credentials.

These issues cause the collector pods to crash loop indefinitely in e2e tests. cc @pintohutch

@TheSpiritXIII TheSpiritXIII force-pushed the TheSpiritXIII/e2e-prometheus branch from 32975ca to 68ccf66 Compare October 6, 2023 19:08
@pintohutch
Copy link
Collaborator

@TheSpiritXIII did you ever figure out what the issue was with the metricsClient auth disabling issue?

@TheSpiritXIII
Copy link
Member Author

@TheSpiritXIII did you ever figure out what the issue was with the metricsClient auth disabling issue?

Yes -- it was my fault. The arg wasn't originally taking because I was modifying the value in the for loop, which was being copied and not actually applied to the original object. In this PR, the for loop explicitly takes a reference to the container object to prevent that issue.

@TheSpiritXIII TheSpiritXIII merged commit fbf2aed into main Oct 8, 2023
8 checks passed
@TheSpiritXIII TheSpiritXIII deleted the TheSpiritXIII/e2e-prometheus branch October 8, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants