Download:
child 228:5fc7b3d2b864
parent 226:13e7ce549cf4
227:64acb7b50eee
Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 22:26:01 +0800
pipelines: re-enable idempotence testing

1 файлов изменено, 3 вставок(+), 0 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Fri Aug 12 21:48:47 2016 +0800
+++ b/bitbucket-pipelines.yml Fri Aug 12 22:26:01 2016 +0800
@@ -30,3 +30,6 @@
-i inventory --connection=local --skip-tags=ufw
-t certs,nginx,prosody,turnserver,tram-im
-e 'user=alice dir=/home/alice/files'
+ | grep -q 'changed=0.*failed=0'
+ && { echo 'Idempotence test passed'; exit 0; }
+ || { echo 'Idempotence test failed'; exit 1; }