You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.0 KiB
94 lines
2.0 KiB
include:
|
|
- '.gitlab-ci-files/common-prepare.yml'
|
|
|
|
stages:
|
|
- build
|
|
- packages
|
|
|
|
|
|
# Debian
|
|
|
|
debian10:build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "debian10"
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
debian10:tagged-build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "debian10"
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
TAGGED_BUILD: "true"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
debian11:build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "debian11"
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
debian11:tagged-build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "debian11"
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
TAGGED_BUILD: "true"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
# CentOS
|
|
|
|
centos8:build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "centos8"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
centos8:tagged-build:
|
|
extends: .make_in_docker
|
|
stage: build
|
|
variables:
|
|
MAKE_TARGET: "build"
|
|
CI_DISTRO_TARGET: "centos8"
|
|
TAGGED_BUILD: "true"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
centos8:rpm:
|
|
extends: .make_in_docker
|
|
stage: packages
|
|
needs: ["centos8:build"]
|
|
variables:
|
|
MAKE_TARGET: "rpm"
|
|
CI_DISTRO_TARGET: "centos8"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|
|
|
|
centos8:rpm:tagged-build:
|
|
extends: .upload_pkg
|
|
stage: packages
|
|
needs: ["centos8:tagged-build"]
|
|
variables:
|
|
MAKE_TARGET: "rpm"
|
|
CI_DISTRO_TARGET: "centos8"
|
|
TAGGED_BUILD: "true"
|
|
rules:
|
|
- if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
|