4
0

yaml indentation error fixed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-05-06 13:17:02 +02:00
parent 39af3b560b
commit 0c0103f61c
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -3,19 +3,19 @@ type: docker
name: default name: default
steps: steps:
- name: restore-cache-with-filesystem - name: restore-cache-with-filesystem
image: meltwater/drone-cache image: meltwater/drone-cache
settings: settings:
backend: "filesystem" backend: "filesystem"
restore: true restore: true
cache_key: "{{ .Repo.Name }}" cache_key: "{{ .Repo.Name }}"
archive_format: "gzip" archive_format: "gzip"
filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/tmp/cache"
mount: mount:
- '.pipcache' - '.pipcache'
volumes: volumes:
- name: cache - name: cache
path: /tmp/cache path: /tmp/cache
- name: static_analysis - name: static_analysis
image: "python:3.8" 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 - 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 - bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi
- name: rebuild-cache-with-filesystem - name: rebuild-cache-with-filesystem
image: meltwater/drone-cache:dev image: meltwater/drone-cache:dev
pull: true pull: true
settings: settings:
backend: "filesystem" backend: "filesystem"
rebuild: true rebuild: true
cache_key: "{{ .Repo.Name }}" cache_key: "{{ .Repo.Name }}"
archive_format: "gzip" archive_format: "gzip"
filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/tmp/cache"
mount: mount:
- '.pipcache' - '.pipcache'
- name: kaniko - name: kaniko
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko