Skip to content

Conversation

@luketomlinson
Copy link
Contributor

@luketomlinson luketomlinson commented Mar 24, 2023

This PR registers runners against the new endpoint. The biggest changes are:

  • Sending the runner's public key, encoded as an XML string up to the registration call

  • Parsing the authorization object from the runner registration response and saves it for refreshing tokens

  • Saves the ServerUrlV2 in the RunnerSettings to connect to the new server for messages

@luketomlinson luketomlinson changed the title Runner registration v2 Register Runners against V2 servers Mar 24, 2023
@luketomlinson luketomlinson marked this pull request as ready for review March 24, 2023 19:29
@luketomlinson luketomlinson requested a review from a team as a code owner March 24, 2023 19:29
Copy link
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

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

lgtm

@luketomlinson luketomlinson merged commit 9f778b8 into main Mar 28, 2023
@luketomlinson luketomlinson deleted the runner-registration-v2 branch March 28, 2023 19:45
nikola-jokic pushed a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
* Parse runners and send publicKey

* wip

* Fix conflicts

* Cleanup

* Cleanup

* fix test

* fix test

* Add trace for broker message listener

* Feedback

* refactor

* remove dead code

* Remove old comment
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Aug 14, 2024
* Parse runners and send publicKey

* wip

* Fix conflicts

* Cleanup

* Cleanup

* fix test

* fix test

* Add trace for broker message listener

* Feedback

* refactor

* remove dead code

* Remove old comment
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.

4 participants