Skip to content

Upload metrics from PR CI as artifacts in GitHub Actions #74

@jdno

Description

@jdno

We collect a lot of metrics about each CI run. In builds run by bors within the rust-lang-ci organization, we upload these metrics to S3 and make them available at https://ci-artifacts.rust-lang.org/rustc-builds/{run.sha}/metrics-{name}.json. This provides a great tool to analyze the efficiency of our builds and continually optimize them.

For builds run on pull requests in the public rust-lang organization, we don't upload the metrics to S3 because we don't want to add a token with write permissions to S3 to the public environment.

Instead of discarding the metrics after each run, we should upload them as artifacts in GitHub Actions. This will allows us to store them somewhere without having to grant the jobs any additional permissions, and download and analyze them similar to the metrics collected by bors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe would appreciate help from outside contributors.

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions