Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

metrics: history update query paths#2667

Merged
jcvenegas merged 1 commit into
kata-containers:masterfrom
jcvenegas:update-artifact-history
Jun 23, 2020
Merged

metrics: history update query paths#2667
jcvenegas merged 1 commit into
kata-containers:masterfrom
jcvenegas:update-artifact-history

Conversation

@jcvenegas
Copy link
Copy Markdown
Member

Recently metrics artifacts started to be collected
with teardown script, urls to download now are
pointing to a new path.

This patch updates the paths to query if
find a valid json file will download it.

Fixes: #2666

Signed-off-by: Jose Carlos Venegas Munoz jose.carlos.venegas.munoz@intel.com

jcvenegas added a commit to jcvenegas/runtime that referenced this pull request Jun 22, 2020
Useful when ksm is enabled.

Fixes: #1

Depends-on: github.com/kata-containers/tests#2667

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@jcvenegas
Copy link
Copy Markdown
Member Author

/test-clh

Comment thread cmd/checkmetrics/history/history.sh Outdated
local result_url="${build_url}/${test}.json"
echo " $result_url"
# Can fail if the build failed to generate any results
if ! curl --output /dev/null --silent --head --fail "$result_url"; then
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Add -L for parity with the final curl below?

Recently metrics artifacts started to be collected
with teardown script, urls to  download now are
pointing to a new path.

This patch updates the paths to query if
find a valid json file will download it.

Fixes: kata-containers#2666

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@jcvenegas jcvenegas force-pushed the update-artifact-history branch from 90f83c2 to 7e2a2af Compare June 23, 2020 15:37
@jcvenegas
Copy link
Copy Markdown
Member Author

/test

@jcvenegas jcvenegas merged commit 491db2c into kata-containers:master Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: metrics: Update paths to look for result data

3 participants