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