0.1.2 • Published 2 years ago

@parsifal-m/plugin-gitlab-runners v0.1.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

gitlab-runners

This plugin provides a way to view details of GitLab Runners.

Requirements

You need to set a proxy in app-config.yml:

proxy:
  ### Example for how to add a proxy endpoint for the frontend.
  ### A typical reason to do this is to handle HTTPS and CORS for internal services.
  '/gitlab-runners':
    target: https://gitlab.com/api/v4/runners
    changeOrigin: true
    allowedMethods: ['GET']
    headers:
      Authorization: Bearer {TOKEN}

The token should be an Access Token with the owner role and at least 'read' scope on the APIs.

Setup

In your Root.tsx file, add the following:

//...
<SidebarItem
  icon={DirectionsRunIcon}
  to="gitlab-runners"
  text="Gitlab Runners"
/>
//...