Side project: Rewriting runner in Rust #3809
Unanswered
revolko
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I am currently in my Rust phase, and I have decided to "rewrite" actions runner to Rust (with the twist that actions will be run in Docker container). However, I got stuck right at the beginning.
I have studied the current implementation and my understanding of runner registration is the following:
use_v2_flow
but my requests have never got this set in responses).I am struggling getting 3. step working. As I said, when getting the tenant token, I got a proper response, but never a flag with
use_v2_flow
set. I tried ignoring it and usingv2_flow
either way (as I could easily read what are the HTTP calls that needed to be executed), but that did not work. I either got 401 or 404 error (IMO both are caused by authentication issues).I could not get anywhere using
v2_flow
so I decided to try and implement theVssConnection
approach. Here I got stuck. I cannot figure out how to createVssConnection
and honestly, I have no idea what it is. I have very little experience with .NET, but still tried to google something out, without success.In the end, I have two questions:
v2_flow
?v2_flow
is not possible, can anyone help me figuring outVssConnection
?P.S. My very simple implementation: https://github.com/revolko/github-docker-runner. I will be happy for any comments.
Beta Was this translation helpful? Give feedback.
All reactions