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

runnerv2client: add client and "beta run --server" #672

Merged
merged 16 commits into from
Nov 3, 2024

Conversation

adambabik
Copy link
Collaborator

With beta run --server it's possible to execute a Markdown code block on the server from the CLI.

This is a prerequisite for supporting the execution of code blocks in the remote locations using the CLI, even if the remote location is a well-defined sandbox Docker container running locally.

Testing

First, start the server:

go run . beta server start

Next, execute a code block on the server using the CLI:

go run . beta run -s=local print-name

@adambabik adambabik force-pushed the adamb/beta-run-via-local-server branch from 2007816 to 0cd9915 Compare September 30, 2024 21:29
@adambabik adambabik force-pushed the adamb/beta-run-via-local-server branch 4 times, most recently from 49dc917 to 112e274 Compare October 19, 2024 20:49
@adambabik adambabik force-pushed the adamb/beta-run-via-local-server branch from 1e0586c to 91473b9 Compare October 27, 2024 09:55
@adambabik adambabik marked this pull request as ready for review October 28, 2024 21:16
Copy link

sonarcloud bot commented Nov 3, 2024

Copy link
Member

@sourishkrout sourishkrout left a comment

Choose a reason for hiding this comment

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

I need to spend more time with this after KubeCon. However, let's merge since it's part of the beta command group and subject to change.

@sourishkrout sourishkrout merged commit e7c0a6b into main Nov 3, 2024
7 checks passed
@sourishkrout sourishkrout deleted the adamb/beta-run-via-local-server branch November 3, 2024 19:29
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