markuman.devops.woodpecker_secrets #2

Open
opened 8 months ago by m · 1 comments
m commented 8 months ago (Migrated from git.osuv.de)
Owner
- name: design
  markuman.devops.woodpecker_secrets:
    url: "{{ API_URL }}"
    api_token: "{{ API_TOKEN }}"
    project: "{{ project }}"
    variables:
      - name: some
        value: s3cret!
        image:
          - image list # concat to comma separated string. default empty
        event:
          - push # default
          - tag
          - pull_request
          - deployment

POST https://<url>/api/repos/<project>/secrets
Header: content-type: application/json

payload

{name: "some", value: "thing", image: [], event: ["push"]}

{name: "yay", value: "oi", image: [], event: ["push", "tag", "pull_request", "deployment"]}

```yml - name: design markuman.devops.woodpecker_secrets: url: "{{ API_URL }}" api_token: "{{ API_TOKEN }}" project: "{{ project }}" variables: - name: some value: s3cret! image: - image list # concat to comma separated string. default empty event: - push # default - tag - pull_request - deployment ``` `POST https://<url>/api/repos/<project>/secrets` Header: `content-type: application/json` payload ``` {name: "some", value: "thing", image: [], event: ["push"]} {name: "yay", value: "oi", image: [], event: ["push", "tag", "pull_request", "deployment"]} ```
m commented 8 months ago (Migrated from git.osuv.de)
Owner
https://github.com/woodpecker-ci/woodpecker/blob/116c310820548e89c01f507775abb1ac2b91c8fe/server/swagger/files/swagger.yml
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: ansible_collections/markuman.devops#2
Loading…
There is no content yet.