From 8cba431fa3d205613f36eaa1a9c41ef9a09013ef Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sat, 23 Mar 2019 22:07:26 +0800 Subject: [PATCH] Clone submodules --- .drone.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ backend-auth | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index beffac4..8af1974 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,12 @@ kind: pipeline name: auth +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -15,7 +21,13 @@ steps: --- kind: pipeline name: bite +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -30,7 +42,13 @@ steps: --- kind: pipeline name: core +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -45,7 +63,13 @@ steps: --- kind: pipeline name: heartbeat +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -60,7 +84,13 @@ steps: --- kind: pipeline name: login +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -75,7 +105,13 @@ steps: --- kind: pipeline name: publish +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -90,7 +126,13 @@ steps: --- kind: pipeline name: signal +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -105,7 +147,13 @@ steps: --- kind: pipeline name: store +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: @@ -120,7 +168,13 @@ steps: --- kind: pipeline name: subscribe +clone: + depth: 5 steps: +- name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote - name: docker image: plugins/docker settings: diff --git a/backend-auth b/backend-auth index 50bd9b8..6986ae3 160000 --- a/backend-auth +++ b/backend-auth @@ -1 +1 @@ -Subproject commit 50bd9b854aadf37056b0a88be513669d397bd617 +Subproject commit 6986ae3eb5e570536af4838478825b0bfb977408