Skip to content

Load runner webUrl from GraphQL (via edge)

Miguel Rincon requested to merge 333800-runner-weburl-from-api into master

What does this MR do and why?

This change removes technical debt by loading the "webUrl" of a runner from the API instead of hardcoding it.

The Runner link will vary for the admin and the group users respectively.

Depends on: !70692 (merged), and should be merged once it hits workflowproduction

Note: This feature is behind feature flag: runner_list_group_view_vue_ui

Screenshots or screen recordings

Screen_Shot_2021-09-20_at_4.13.39_PM

How to set up and validate locally

  1. Enable feature flag: runner_list_group_view_vue_ui
  2. Have runners registered to a group (https://docs.gitlab.com/runner/register/)
  3. Visit the group runners page http://gdk.test:3000/groups/h5bp/-/runners/
  4. Check the URL to visit the runner is correct.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #333800 (closed)

Edited by Miguel Rincon

Merge request reports