|
|
|
@ -8,14 +8,9 @@ clone: |
|
|
|
|
steps: |
|
|
|
|
- name: myclone |
|
|
|
|
image: alpine/git |
|
|
|
|
## If you wanted to solve resolving part |
|
|
|
|
extra_hosts: |
|
|
|
|
- "git.santic-zombie.ru:11.1.1.20" |
|
|
|
|
## Alas this will also be needed, and is NOT supported yet |
|
|
|
|
# networks: |
|
|
|
|
# - gitlab |
|
|
|
|
commands: |
|
|
|
|
## this will show you if ``my-git`` is resolved. |
|
|
|
|
- ping -c 1 git.santic-zombie.ru |
|
|
|
|
- git clone https://git.santic-zombie.ru/santic/TestDroneRunner.git/ . |
|
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
|