We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba33ccb + 2554a0f commit 22ff8a4Copy full SHA for 22ff8a4
.drone.yml
@@ -1,3 +1,15 @@
1
+# We override the default clone step to workaround a bug with GitHub (see #3415)
2
+clone:
3
+ custom:
4
+ image: plugins/git
5
+ commands:
6
+ - sleep 5s
7
+ - git init
8
+ - git remote add origin $DRONE_REMOTE_URL
9
+ - git fetch --no-tags origin $DRONE_COMMIT_REF
10
+ - if [ $DRONE_BUILD_EVENT = "push" ]; then git reset --hard -q $DRONE_COMMIT_SHA; else git checkout -qf FETCH_HEAD; fi
11
+ - git submodule update --init --recursive
12
+
13
pipeline:
14
# TESTS:
15
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
0 commit comments