summaryrefslogtreecommitdiff
path: root/convey.yaml
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2019-10-01 21:18:11 -0500
committerGary Kramlich <grim@reaperworld.com>2019-10-01 21:18:11 -0500
commit723b8a86eed69babaa4bdaa1ccb044786ff9a02b (patch)
treed8205cf65ef0d30b65cda30ebb44550af2a8e284 /convey.yaml
parent0812102636fd58ca90517858fa12b766650fe132 (diff)
downloadpidgin-723b8a86eed69babaa4bdaa1ccb044786ff9a02b.tar.gz
Initial convey support. Just supports the subproject-build and pvs-studio
Diffstat (limited to 'convey.yaml')
-rw-r--r--convey.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/convey.yaml b/convey.yaml
new file mode 100644
index 0000000000..9579607a87
--- /dev/null
+++ b/convey.yaml
@@ -0,0 +1,49 @@
+environment:
+ - PACKAGECLOUD_REPO=experimental
+ - ARCH=amd64
+ - BUILD_NUMBER
+ - REGISTRY_HOST=docker.io
+ - REPOSITORY=pidgin/builders
+
+tasks:
+ import:
+ type: docker/import
+ files: .:.
+
+ build:
+ type: docker/run
+ image: ${REGISTRY_HOST}/${REPOSITORY}:${DISTRO}-${VERSION}-${ARCH}
+
+ export:
+ type: docker/export
+ files: ${DISTRO}-${VERSION}-${ARCH}
+
+ build-target:
+ type: docker/run
+ image: ${REGISTRY_HOST}/${REPOSITORY}:${TARGET}
+
+ export-target:
+ type: docker/export
+ files: ${TARGET}
+
+plans:
+ mingw-w64-x86_64:
+ environment: [DISTRO=mingw, VERSION=w64, ARCH=x86_64]
+ stages:
+ - tasks: [import, build]
+
+ pvs-studio:
+ environment:
+ - TARGET=pvs-studio
+ - PVS_STUDIO_USERNAME
+ - PVS_STUDIO_KEY
+ stages:
+ - tasks: [import, build-target]
+ - tasks: [export-target]
+ run: always
+
+ subproject-build:
+ environment: [TARGET=subproject-build]
+ stages:
+ - tasks: [import, build-target]
+