|
|
|
@ -7,7 +7,7 @@ clone: |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: myclone |
|
|
|
|
image: docker:git |
|
|
|
|
image: alpine/git |
|
|
|
|
## If you wanted to solve resolving part |
|
|
|
|
extra_hosts: |
|
|
|
|
- "git.santic-zombie.ru:11.1.1.20" |
|
|
|
@ -16,8 +16,9 @@ steps: |
|
|
|
|
# - gitlab |
|
|
|
|
commands: |
|
|
|
|
## this will show you if ``my-git`` is resolved. |
|
|
|
|
- ping -c 3 git.santic-zombie.ru |
|
|
|
|
- git clone https://git.santic-zombie.ru/santic/TestDroneRunner.git/ |
|
|
|
|
- ping -c 1 git.santic-zombie.ru |
|
|
|
|
- git clone https://git.santic-zombie.ru/santic/TestDroneRunner.git/ . |
|
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
|
|
|
|
|
|
- name: greeting |
|
|
|
|
image: alpine |
|
|
|
|