Add a clean task/plan

Tue, 01 Oct 2019 21:30:20 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 01 Oct 2019 21:30:20 -0500
changeset 39900
d1af2f98e0f4
parent 39899
b4962b614b5f
child 39907
ca351705df18

Add a clean task/plan

convey.yaml file | annotate | diff | comparison | revisions
--- a/convey.yaml	Tue Oct 01 21:18:11 2019 -0500
+++ b/convey.yaml	Tue Oct 01 21:30:20 2019 -0500
@@ -14,6 +14,11 @@
     type: docker/run
     image: ${REGISTRY_HOST}/${REPOSITORY}:${DISTRO}-${VERSION}-${ARCH}
 
+  clean:
+    type: convey/clean
+    files:
+      - pvs-studio
+
   export:
     type: docker/export
     files: ${DISTRO}-${VERSION}-${ARCH}
@@ -27,6 +32,10 @@
     files: ${TARGET}
 
 plans:
+  clean:
+    stages:
+      - tasks: [clean]
+
   mingw-w64-x86_64:
     environment: [DISTRO=mingw, VERSION=w64, ARCH=x86_64]
     stages:

mercurial