diff --git a/.drone.yml b/.drone.yml index 6c0dedb..6d9f720 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,9 +4,17 @@ type: docker name: default steps: +# Needs a full git clone +- name: fetch + image: alpine/git + commands: + - git fetch --unshallow + # Frontend - name: web_build image: node:23 + depends_on: + - fetch volumes: - name: web_app path: /tmp/web_build @@ -20,6 +28,8 @@ steps: # Backend - name: backend_fetch_deps image: rust + depends_on: + - fetch volumes: - name: rust_registry path: /usr/local/cargo/registry @@ -78,6 +88,8 @@ steps: # Mobile app code quality - name: mobile_app_code_quality image: ghcr.io/cirruslabs/flutter:latest + depends_on: + - fetch commands: - echo "Build version:" $(git describe --tags --abbrev=0) - echo "Build number:" $(git rev-list --count $(git describe --tags --abbrev=0))