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

ci: avoid go install for github.com/opencontainers/runtime-tool #501

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Sep 17, 2023

All released versions of runtime-tool are not using go.mod, meaning that we end up pulling the latest version of their dependencies when using "go install". In particular, the runtime-spec update causes validation errors in our CI because we are still producing runtime-spec 1.0.2 config.jsons and runtime-tool doesn't support validating older versions.

Signed-off-by: Aleksa Sarai [email protected]

@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2023

Codecov Report

Merging #501 (7cde0a2) into main (f74280b) will decrease coverage by 0.07%.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
- Coverage   73.53%   73.46%   -0.07%     
==========================================
  Files          60       60              
  Lines        4881     4881              
==========================================
- Hits         3589     3586       -3     
- Misses        933      935       +2     
- Partials      359      360       +1     

see 1 file with indirect coverage changes

@cyphar cyphar force-pushed the ci-runtime-validate branch 2 times, most recently from 246e4c2 to e19a963 Compare September 17, 2023 06:26
All released versions of runtime-tool are not using go.mod, meaning that
we end up pulling the latest version of their dependencies when using
"go install". In particular, the runtime-spec update causes validation
errors in our CI because we are still producing runtime-spec 1.0.2
config.jsons and runtime-tool doesn't support validating older versions.

Signed-off-by: Aleksa Sarai <[email protected]>
@cyphar cyphar force-pushed the ci-runtime-validate branch from e19a963 to 7cde0a2 Compare September 17, 2023 06:37
@cyphar
Copy link
Member Author

cyphar commented Sep 17, 2023

LGTM, merging to fix CI.

@cyphar cyphar merged commit da96110 into opencontainers:main Sep 17, 2023
@cyphar cyphar deleted the ci-runtime-validate branch September 17, 2023 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants