gplugin/gplugin

Merged in develop (pull request #5)
develop
2018-12-16, Gary Kramlich
bd7901188be1
Merged in develop (pull request #5)

Improve/simplify GIR building

Approved-by: Gary Kramlich
environment:
- PACKAGECLOUD_REPO=experimental
- ARCH=amd64
- BUILD_NUMBER
tasks:
clean:
type: convey/clean
files:
- alpine-edge-amd64
- debian-buster-amd64
- debian-stretch-amd64
- fedora-28-amd64
- fedora-29-amd64
- opensuse-tumbleweed-amd64
- scanbuild
- ubuntu-xenial-amd64
- ubuntu-bionic-amd64
import:
type: docker/import
files: .:.
import-artifacts:
type: docker/import
files: ${DISTRO}-${VERSION}-${ARCH}
build:
type: docker/run
image: gplugin/builders:${DISTRO}-${VERSION}-${ARCH}
export:
type: docker/export
files: ${DISTRO}-${VERSION}-${ARCH}
package-cloud:
type: docker/run
image: rwgrim/package-cloud:latest
environment:
- PACKAGECLOUD_TOKEN
command: push --yes --verbose pidgin/${PACKAGECLOUD_REPO}/${DISTO}/${VERSION} ${PATTERN}
workdir: ${CONVEY_WORKSPACE}/${DISTRO}-${VERSION}-${ARCH}
publish-deb:
type: convey/extend
task: package-cloud
environment: [PATTERN=debs/*.deb]
publish-debsrc:
type: convey/extend
task: package-cloud
environment: [PATTERN=debs/*.dsc]
publish-rpm:
type: convey/extend
task: package-cloud
environment: [PATTERN=x86_64/*.rpm]
scanbuild:
type: docker/run
image: gplugin/builders:scanbuild
scanbuild-export:
type: docker/export
files: scanbuild
plans:
clean:
stages:
- tasks: clean
alpine-edge-amd64:
environment: [DISTRO=alpine, VERSION=edge]
stages:
- tasks: [import, build, export]
debian-stretch-amd64:
environment: [DISTRO=debian, VERSION=stretch]
stages:
- tasks: [import, build, export]
debian-buster-amd64:
environment: [DISTRO=debian, VERSION=buster]
stages:
- tasks: [import, build, export]
fedora-28-amd64:
environment: [DISTRO=fedora, VERSION=28]
stages:
- tasks: [import, build, export]
fedora-29-amd64:
environment: [DISTRO=fedora, VERSION=29]
stages:
- tasks: [import, build, export]
opensuse-tumbleweed-amd64:
environment: [DISTRO=opensuse, VERSION=tumbleweed]
stages:
- tasks: [import, build, export]
scanbuild:
stages:
- tasks: [import, scanbuild, scanbuild-export]
ubuntu-xenial-amd64:
environment: [DISTRO=ubuntu, VERSION=xenial]
stages:
- tasks: [import, build, export]
ubuntu-bionic-amd64:
environment: [DISTRO=ubuntu, VERSION=bionic]
stages:
- tasks: [import, build, export]
meta-plans:
alpine:
plans:
- alpine-edge-amd64
debian:
plans:
- debian-stretch-amd64
- debian-buster-amd64
fedora:
plans:
- fedora-28-amd64
- fedora-29-amd64
opensuse:
plans:
- opensuse-tumbleweed-amd64
ubuntu:
plans:
- ubuntu-xenial-amd64
- ubuntu-zesty-amd64