Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

[runbot_gitlab] warnings are errors #163

@hbrunn

Description

@hbrunn

In https://github.com/OCA/runbot-addons/blob/11.0/runbot_gitlab/models/runbot_build.py#L49 we fail if the build's state is warning.

Some googling set me up to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5004/diffs#5492807eeff7d8f64b722d397811464b1becdf97_119_122 which seems to be what we want here even though it's not mentioned in the docs: https://docs.gitlab.com/ee/api/commits.html#post-the-build-status-to-a-commit

@moylop260 did you try this and it didn't work? Otherwise, I'll provide a patch to use this some of the coming days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions