capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Support GET requests and token auth in GitLab runner #568

Closed pkosiec closed 2 years ago

pkosiec commented 2 years ago

Description

Changes proposed in this pull request:

Testing

You can test it in isolation with the following input to the GitLab runner (see the instruction:

method: GET
path: "projects"
baseURL: "{baseURL}"
auth:
  token: "{token}"
body: null
queryParameters:
  simple: ["true"]
  search: ["{repo-path}"]
output:
  goTemplate: |
    id: {{ (index . 0).id }}