-
Notifications
You must be signed in to change notification settings - Fork 886
Use make cli-local
in CI test suite to remove redundant docker
#6531
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
Conversation
38bc984
to
a3e45a5
Compare
a3e45a5
to
9d28519
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending one smol nit sorry.
Tbh, I'm not sure why we weren't using make cli-local
in CI in the first place 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh also, the title isn't really accurate anymore, I'll change it to something like "Use make cli-local in CI"
make cli
make cli-local
in CI test suite to remove redundant docker
Co-authored-by: Mac L <[email protected]>
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at ad229a6 |
…p#6531) * Remove docker command from `make cli`. * Run `cli-local` on CI. * Update Makefile Co-authored-by: Mac L <[email protected]>
Issue Addressed
I noticed that our
cli
job sometimes take quite a while and take a fewdocker pull
retries before it completes. This is because it attempts to pull the 2.2 GBgithub-runner
image to run the the cli script in a docker container.I think we can safely replace the
cli
command to run withcargo
directly instead of running it with agithub-runner
image, as the job runs in a container running thegithub-runner
image, so this is a bit redundant and slow.