|
|
@ -7,7 +7,7 @@ clone: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: myclone |
|
|
|
- name: myclone |
|
|
|
image: docker:git |
|
|
|
image: alpine/git |
|
|
|
## If you wanted to solve resolving part |
|
|
|
## 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" |
|
|
@ -16,8 +16,9 @@ steps: |
|
|
|
# - gitlab |
|
|
|
# - gitlab |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
## this will show you if ``my-git`` is resolved. |
|
|
|
## this will show you if ``my-git`` is resolved. |
|
|
|
- ping -c 3 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 |
|
|
|
|
|
|
|
|
|
|
|
- name: greeting |
|
|
|
- name: greeting |
|
|
|
image: alpine |
|
|
|
image: alpine |
|
|
|