From 0c0103f61c759b7a8f76716ca19bff4ca25de839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 6 May 2020 13:17:02 +0200 Subject: [PATCH] yaml indentation error fixed --- .drone.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8c3a28d..6512e8d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,19 +3,19 @@ type: docker name: default steps: - - name: restore-cache-with-filesystem - image: meltwater/drone-cache - settings: - backend: "filesystem" - restore: true - cache_key: "{{ .Repo.Name }}" - archive_format: "gzip" - filesystem_cache_root: "/tmp/cache" - mount: - - '.pipcache' - volumes: - - name: cache - path: /tmp/cache +- name: restore-cache-with-filesystem + image: meltwater/drone-cache + settings: + backend: "filesystem" + restore: true + cache_key: "{{ .Repo.Name }}" + archive_format: "gzip" + filesystem_cache_root: "/tmp/cache" + mount: + - '.pipcache' + volumes: + - name: cache + path: /tmp/cache - name: static_analysis image: "python:3.8" @@ -28,17 +28,17 @@ steps: - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi - - name: rebuild-cache-with-filesystem - image: meltwater/drone-cache:dev - pull: true - settings: - backend: "filesystem" - rebuild: true - cache_key: "{{ .Repo.Name }}" - archive_format: "gzip" - filesystem_cache_root: "/tmp/cache" - mount: - - '.pipcache' +- name: rebuild-cache-with-filesystem + image: meltwater/drone-cache:dev + pull: true + settings: + backend: "filesystem" + rebuild: true + cache_key: "{{ .Repo.Name }}" + archive_format: "gzip" + filesystem_cache_root: "/tmp/cache" + mount: + - '.pipcache' - name: kaniko image: banzaicloud/drone-kaniko