Skip to content

Commit

Permalink
Update night-rally to copy results for release with security on (elas…
Browse files Browse the repository at this point in the history
…tic#551)

Relates to: elastic#541
  • Loading branch information
ebadyano committed Nov 8, 2021
1 parent 22388b6 commit ec2f89c
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions night_rally/night_rally.py
Expand Up @@ -680,12 +680,10 @@ def copy_results_for_release_comparison(effective_start_date, configuration_name
if not dry_run:
import elasticsearch.helpers
"""
Copies all results in the metric store for the given trial timestamp so that they are also available as master release results.
Copies all results in the metric store for the given timestamp so that they are also available as master release results.
"""
es.indices.refresh(index="rally-results-*")
ts = to_iso8601_short(effective_start_date)
# find all of today's results but exclude "x-pack" ones because we will not have release charts for them (x-pack has
# their own dedicated trial runs on releases)
query = {
"query": {
"bool": {
Expand All @@ -708,19 +706,6 @@ def copy_results_for_release_comparison(effective_start_date, configuration_name
"term": {
"user-tags.race-configs-id": race_configs_id
}
},
{
"bool": {
"must_not": [
{
"term": {
"user-tags.license": {
"value": "trial"
}
}
}
]
}
}
]
}
Expand Down

0 comments on commit ec2f89c

Please sign in to comment.