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

feat: add autoware-core and autoware-universe tags #20

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ fetch('github_action_data.json')
const dockerOptions = {
series: [
{
name: 'autoware-core-cuda-amd64',
data: json.docker_images['autoware-core-cuda-amd64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
}),
},
{
name: 'autoware-universe-cuda-amd64',
data: json.docker_images['autoware-universe-cuda-amd64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
}),
},
{
// Obsolete
name: 'prebuilt-cuda-amd64',
data: json.docker_images['prebuilt-cuda-amd64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
Expand All @@ -111,6 +124,19 @@ fetch('github_action_data.json')
}),
},
{
name: 'autoware-core-cuda-arm64',
data: json.docker_images['autoware-core-cuda-arm64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
}),
},
{
name: 'autoware-universe-cuda-arm64',
data: json.docker_images['autoware-universe-cuda-arm64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
}),
},
{
// Obsolete
name: 'prebuilt-cuda-arm64',
data: json.docker_images['prebuilt-cuda-arm64'].map((data) => {
return [new Date(data.date), data.size / 1024 / 1024 / 1024];
Expand Down
10 changes: 7 additions & 3 deletions scripts/measure_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,14 @@ def auth(dxf, response):
dxf.authenticate(github_actor, github_token, response=response)

docker_images = {
"prebuilt-cuda-amd64": [],
"autoware-core-cuda-amd64": [],
"autoware-universe-cuda-amd64": [],
"prebuilt-cuda-amd64": [], # Obsolete
"devel-cuda-amd64": [],
"runtime-cuda-amd64": [],
"prebuilt-cuda-arm64": [],
"autoware-core-cuda-arm64": [],
"autoware-universe-cuda-arm64": [],
"prebuilt-cuda-arm64": [], # Obsolete
"devel-cuda-arm64": [],
"runtime-cuda-arm64": [],
}
Expand All @@ -148,7 +152,7 @@ def auth(dxf, response):
) or "cuda" not in tag:
continue
docker_image = ""
for key in ("prebuilt", "devel", "runtime"):
for key in ("autoware-core", "autoware-universe", "prebuilt", "devel", "runtime"):
if key in tag:
docker_image = (
key
Expand Down