qulogic/talkatu

af1f9fad3e7c
Parents 953cf3e7ee01
Children e4e6fcd54beb
Update convey with support for packagecloud.io
  • +82 -20
    convey.yml
  • --- a/convey.yml Sun Nov 11 21:10:05 2018 -0600
    +++ b/convey.yml Tue Nov 13 21:08:04 2018 -0600
    @@ -1,45 +1,107 @@
    +environment:
    + - PACKAGECLOUD_REPO=experimental
    + - ARCH=amd64
    +
    tasks:
    import:
    type: docker/import
    - files: .
    + files: .:.
    clean:
    type: convey/clean
    - files: artifacts
    -
    - debian-buster-amd64-build:
    + files:
    + - debian-buster-amd64
    + - fedora-28-amd64
    + - scanbuild
    + build:
    type: docker/run
    - image: talkatu/builders:debian-buster-amd64
    - debian-buster-amd64-export:
    + image: talkatu/builders:${DISTRO}-${VERSION}-${ARCH}
    + export:
    type: docker/export
    - files: debian-buster-amd64:artifacts/
    + files: ${DISTRO}-${VERSION}-${ARCH}
    - fedora-28-amd64-build:
    - type: docker/run
    - image: talkatu/builders:fedora-28-amd64
    - fedora-28-amd64-export:
    - type: docker/export
    - files: fedora-28-amd64:artifacts/
    -
    - scanbuild-build:
    + scanbuild:
    type: docker/run
    image: talkatu/builders:scanbuild
    scanbuild-export:
    type: docker/export
    - files: scanbuild:artifacts/
    + files: scanbuild
    +
    + package-cloud:
    + type: docker/run
    + image: rwgrim/package-cloud:latest
    + environment:
    + - PACKAGECLOUD_TOKEN
    + command: push --yes --verbose pidgin/${PACKAGECLOUD_REPO}/${DISTRO}/${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
    +
    + import-artifacts:
    + type: docker/import
    + files:
    + - ${DISTRO}-${VERSION}-${ARCH}
    plans:
    debian:
    + environment:
    + - DISTRO=debian
    + - VERSION=buster
    stages:
    - - tasks: [import, debian-buster-amd64-build, debian-buster-amd64-export]
    + - tasks:
    + - import
    + - build
    + - export
    +
    fedora:
    + environment:
    + - DISTRO=fedora
    + - VERSION=28
    + stages:
    + - tasks: [import, build, export]
    +
    + scanbuild:
    + environment:
    + - DISTRO=debian
    + - VERSION=scanbuild
    stages:
    - - tasks: [import, fedora-28-amd64-build, fedora-28-amd64-export]
    - scanbuild:
    + - tasks: [import, scanbuild, scanbuild-export]
    +
    + publish:
    stages:
    - - tasks: [import, scanbuild-build, scanbuild-export]
    + - name: publish-debian
    + environment:
    + - DISTRO=debian
    + - VERSION=buster
    + tasks:
    + - import-artifacts
    + - publish-deb
    + - publish-debsrc
    + - name: publish-fedora
    + environment:
    + - DISTRO=fedora
    + - VERSION=28
    + tasks:
    + - import-artifacts
    + - publish-rpm
    +
    clean:
    stages:
    - tasks: clean
    +
    meta-plans:
    default:
    plans: