Commit 9526da89 authored by Markus Frosch's avatar Markus Frosch
Browse files

git init

parents
Pipeline #3878 failed with stages
in 2 minutes and 32 seconds
## Editors
.*.sw[op]
*~
## RPM Artifacts
/*.git/
/ccache*
/build/
/rpmbuild/
*.tar*
*.version
stages:
- build
- test
- upload
variables:
DOCKER_IMAGE_BASE: registry.icinga.com/build-docker
.build: &build
stage: build
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- icinga-build-package
cache:
key: "${CI_JOB_NAME}"
paths:
- ccache/
- 'icinga2.git'
artifacts:
paths:
- build/*
expire_in: 1 week
.test: &test
stage: test
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/${DOCKER_IMAGE}
script:
- find build/
- icinga-build-test
.upload: &upload
stage: upload
tags:
- docker
image: ${DOCKER_IMAGE_BASE}/upload
script:
- find build/
- icinga-build-upload-aptly
only:
- tags
###################################
# EPEL
###################################
build/centos/7:
<<: *build
variables:
DOCKER_IMAGE: centos/7
test/centos/7:
<<: *test
variables:
DOCKER_IMAGE: centos/7
dependencies:
- build/centos/7
upload/epel/7:
<<: *upload
dependencies:
- build/centos/7
build/centos/6:
<<: *build
variables:
DOCKER_IMAGE: centos/6
test/centos/6:
<<: *test
variables:
DOCKER_IMAGE: centos/6
dependencies:
- build/centos/6
upload/epel/6:
<<: *upload
dependencies:
- build/centos/6
###################################
# Fedora
###################################
build/fedora/29:
<<: *build
variables:
DOCKER_IMAGE: fedora/29
test/fedora/29:
<<: *test
variables:
DOCKER_IMAGE: fedora/29
dependencies:
- build/fedora/29
upload/fedora/29:
<<: *upload
dependencies:
- build/fedora/29
build/fedora/28:
<<: *build
variables:
DOCKER_IMAGE: fedora/28
test/fedora/28:
<<: *test
variables:
DOCKER_IMAGE: fedora/28
dependencies:
- build/fedora/28
upload/fedora/28:
<<: *upload
dependencies:
- build/fedora/28
###################################
# SLES
###################################
build/sles/15.0:
<<: *build
variables:
DOCKER_IMAGE: sles/15.0
test/sles/15.0:
<<: *test
variables:
DOCKER_IMAGE: sles/15.0
dependencies:
- build/sles/15.0
upload/SUSE/15.0:
<<: *upload
dependencies:
- build/sles/15.0
build/sles/12.4:
<<: *build
variables:
DOCKER_IMAGE: sles/12.4
test/sles/12.4:
<<: *test
variables:
DOCKER_IMAGE: sles/12.4
dependencies:
- build/sles/12.4
upload/SUSE/12.4:
<<: *upload
dependencies:
- build/sles/12.4
build/sles/12.3:
<<: *build
variables:
DOCKER_IMAGE: sles/12.3
test/sles/12.3:
<<: *test
variables:
DOCKER_IMAGE: sles/12.3
dependencies:
- build/sles/12.3
upload/SUSE/12.3:
<<: *upload
dependencies:
- build/sles/12.3
###################################
# openSUSE
###################################
build/opensuse/15.0:
<<: *build
variables:
DOCKER_IMAGE: opensuse/15.0
test/opensuse/15.0:
<<: *test
variables:
DOCKER_IMAGE: opensuse/15.0
dependencies:
- build/opensuse/15.0
upload/openSUSE/15.0:
<<: *upload
dependencies:
- build/opensuse/15.0
build/opensuse/42.3:
<<: *build
variables:
DOCKER_IMAGE: opensuse/42.3
test/opensuse/42.3:
<<: *test
variables:
DOCKER_IMAGE: opensuse/42.3
dependencies:
- build/opensuse/42.3
upload/openSUSE/42.3:
<<: *upload
dependencies:
- build/opensuse/42.3
# Incubator Module for Icinga Web 2 | (c) 2018-2019 Icinga Development Team <info@icinga.com> | GPLv2+
%global revision 1
%global module_name incubator
%global icingaweb_min_version 2.6.0
Name: icingaweb2-module-%{module_name}
Version: 0.2.1
Release: %{revision}%{?dist}
Summary: Icinga PHP library module for Icinga Web 2
Group: Applications/System
License: GPLv2+
URL: https://icinga.com
Source0: https://github.com/Icinga/icingaweb2-module-%{module_name}/archive/v%{version}.tar.gz#/icingaweb2-module-%{module_name}-%{version}.tar.gz
BuildArch: noarch
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
Requires: icingaweb2 >= %{icingaweb_min_version}
Requires: php-Icinga >= %{icingaweb_min_version}
%description
This module brings bleeding edge libraries useful for Icinga Web 2 modules.
%prep
%setup -q -n icingaweb2-module-%{module_name}-%{version}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{basedir}
cp -r * %{buildroot}%{basedir}
%clean
rm -rf %{buildroot}
%files
%doc README.md
#LICENSE
%defattr(-,root,root)
%{basedir}
%changelog
* Thu May 02 2019 Markus Frosch <markus.frosch@icinga.com> - 0.2.1-1
- Initial package version
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment