grim/purple-spasm

Parents 26b6d691b552
Children 4e3584f91826
Create a template task, move the debian one to it and added a fedora task as well
  • +17 -6
    convey.yml
  • --- a/convey.yml Sun Nov 11 23:09:18 2018 -0600
    +++ b/convey.yml Mon Nov 12 14:35:10 2018 -0600
    @@ -4,16 +4,26 @@
    type: docker/import
    files:
    - .:.
    +
    purple2:
    type: docker/run
    - image: pidgin/pidgin2-dev:debian-stretch-amd64
    + image: pidgin/pidgin2-dev:${TAG}
    workdir: /workspace
    script:
    - set -ex
    - - pwd
    - - ls
    - - meson build
    - - ninja -C build
    + - meson build-${TAG}
    + - ninja -C build-${TAG}
    +
    + purple2-debian-stretch-amd64:
    + type: convey/extend
    + task: purple2
    + environment:
    + - TAG=debian-stretch-amd64
    + purple2-fedora-28-amd64:
    + type: convey/extend
    + task: purple2
    + environment:
    + - TAG=fedora-28-amd64
    plans:
    default:
    @@ -23,5 +33,6 @@
    - import
    - name: builds
    tasks:
    - - purple2
    + - purple2-debian-stretch-amd64
    + - purple2-fedora-28-amd64