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

benchmark: Use static URL value for admin console URL for slack automation #14345

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

1pkg
Copy link
Member

@1pkg 1pkg commented Oct 11, 2024

Motivation/summary

This is a small fix to make existing slack automation in benchmark workflow to work as expected with standalone benchmark mode.

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

@1pkg 1pkg self-assigned this Oct 11, 2024
@1pkg 1pkg requested a review from a team as a code owner October 11, 2024 15:25
Copy link
Contributor

mergify bot commented Oct 11, 2024

This pull request does not have a backport label. Could you fix it @1pkg? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • backport-8.x is the label to automatically backport to the 8.x branch.

Copy link
Contributor

mergify bot commented Oct 11, 2024

backport-8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Oct 11, 2024
@1pkg 1pkg enabled auto-merge (squash) October 11, 2024 23:10
@1pkg 1pkg merged commit 9292d4b into main Oct 11, 2024
12 checks passed
@1pkg 1pkg deleted the use-static-url-value-for-benchmark-admin-console-url branch October 11, 2024 23:19
mergify bot pushed a commit that referenced this pull request Oct 11, 2024
@@ -43,6 +43,6 @@ output "apm_server_ip" {
}

output "admin_console_url" {
value = var.run_standalone ? "" : module.ec_deployment[0].admin_console_url
value = var.run_standalone ? "https://cloud.elastic.co/deployments" : module.ec_deployment[0].admin_console_url
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be admin.found.no? If you're running it yourself, then you'll be able to see the deployment in the "normal" (user console) UI. But if it's running in CI, then you won't.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think there is a big difference, since it only uses this URL when run against the Moxy when no ESS deployment exists.

mergify bot added a commit that referenced this pull request Oct 14, 2024
…lack automation (#14345) (#14349)

(cherry picked from commit 9292d4b)

Co-authored-by: Kostiantyn Masliuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants