2021-01-23 12:31:53 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# This file is part of src_prepare-overlay.
|
|
|
|
|
|
|
|
# src_prepare-overlay is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# src_prepare-overlay is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with src_prepare-overlay. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2021-04-28 23:02:47 +02:00
|
|
|
# Original author: Maciej Barć <xgqt@riseup.net>
|
2021-01-23 12:31:53 +01:00
|
|
|
# Copyright (c) 2020-2021, src_prepare group
|
|
|
|
# Licensed under the GNU GPL v2 License
|
|
|
|
|
|
|
|
|
2021-04-06 18:33:57 +02:00
|
|
|
image: registry.gitlab.com/src_prepare/gentoo-repoman-container:latest
|
2020-03-20 19:51:21 +01:00
|
|
|
|
2021-01-23 12:31:53 +01:00
|
|
|
|
2020-12-19 13:58:02 +01:00
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
2022-07-05 20:17:21 +02:00
|
|
|
common_pkgcheck_args: "--color 1"
|
2021-01-23 12:31:53 +01:00
|
|
|
|
2020-03-20 19:51:21 +01:00
|
|
|
|
2022-07-05 20:17:21 +02:00
|
|
|
pkgcheck_push:
|
|
|
|
script:
|
|
|
|
- pkgcheck scan $common_pkgcheck_args --commits $CI_COMMIT_SHA
|
|
|
|
|
|
|
|
pkgcheck_full_scan:
|
|
|
|
rules:
|
|
|
|
- allow_failure: true
|
|
|
|
script:
|
|
|
|
- pkgcheck ci $common_pkgcheck_args
|
|
|
|
|
|
|
|
pkgcheck_merge:
|
|
|
|
rules:
|
|
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
|
|
script:
|
|
|
|
- pkgcheck scan $common_pkgcheck_args --commits $CI_MERGE_REQUEST_DIFF_BASE_SHA..$CI_COMMIT_SHA
|
|
|
|
|