@parsifal-m/plugin-gitlab-runners
v0.1.2
Published
This plugin provides a way to view details of [GitLab Runners](https://docs.gitlab.com/runner/).
Downloads
3
Readme
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"
/>
//...