Please support openshift build webhooks #3602

Closed
opened 2025-11-02 05:18:50 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @bzed on GitHub (Jul 16, 2019).

  • Gitea version (or commit ref): master
  • Git version: HEAD
  • Operating system: Debian
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: not relevant

Description

Please support openshift build webhooks. See the generic webhook part in
https://docs.openshift.com/container-platform/4.1/builds/triggering-builds-build-hooks.html

  • the POST request needs a formatted yaml file as data.

Thanks,

Bernd

Originally created by @bzed on GitHub (Jul 16, 2019). - Gitea version (or commit ref): master - Git version: HEAD - Operating system: Debian - Database (use `[x]`): - [X] PostgreSQL - [X] MySQL - [X] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: not relevant ## Description Please support openshift build webhooks. See the generic webhook part in https://docs.openshift.com/container-platform/4.1/builds/triggering-builds-build-hooks.html - the POST request needs a formatted yaml file as data. Thanks, Bernd
GiteaMirror added the type/proposal label 2025-11-02 05:18:50 -06:00
Author
Owner

@titou10titou10 commented on GitHub (Aug 4, 2019):

+1
The specs of the webhook trigger for OpenShift v3.11 are here: https://docs.openshift.com/container-platform/3.11/dev_guide/builds/triggering_builds.html

It has to be an HTTPPOSTrequest with a"Content-Type" header of "application/yaml" or "application/json" and the following payload (Shown as yaml):

git:
  uri: "<url to gitea repository>"
  ref: "<optional git reference>"
  commit: "<commit hash identifying a specific git commit>"
  author:
    name: "<author name>"
    email: "<author e-mail>"
  committer:
    name: "<committer name>"
    email: "<committer e-mail>"
  message: "<commit message>"
env: 
   - name: "<variable name>"
     value: "<variable value>"
@titou10titou10 commented on GitHub (Aug 4, 2019): +1 The specs of the webhook trigger for OpenShift v3.11 are here: https://docs.openshift.com/container-platform/3.11/dev_guide/builds/triggering_builds.html It has to be an HTTP`POST`request with a`"Content-Type"` header of `"application/yaml"` or `"application/json"` and the following payload (Shown as yaml): git: uri: "<url to gitea repository>" ref: "<optional git reference>" commit: "<commit hash identifying a specific git commit>" author: name: "<author name>" email: "<author e-mail>" committer: name: "<committer name>" email: "<committer e-mail>" message: "<commit message>" env: - name: "<variable name>" value: "<variable value>"
Author
Owner

@scorbin commented on GitHub (Sep 19, 2019):

+1
Don't want to use gitlab with openshift

@scorbin commented on GitHub (Sep 19, 2019): +1 Don't want to use gitlab with openshift
Author
Owner

@lunny commented on GitHub (Sep 19, 2019):

PR is welcome for those who are familiar with openshift.

@lunny commented on GitHub (Sep 19, 2019): PR is welcome for those who are familiar with openshift.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3602