|
|
@ -8,14 +8,14 @@ clone: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: clone |
|
|
|
- name: clone |
|
|
|
image: alpine/git |
|
|
|
image: alpine/git |
|
|
|
extra_hosts: |
|
|
|
extra_hosts: |
|
|
|
- "git.santic-zombie.ru:11.1.1.20" |
|
|
|
- "git.santic-zombie.ru:11.1.1.20" |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- ping -c 1 git.santic-zombie.ru |
|
|
|
- ping -c 1 git.santic-zombie.ru |
|
|
|
- git clone https://git.santic-zombie.ru/santic/tox-bot.git . |
|
|
|
- git clone https://git.santic-zombie.ru/santic/tox-bot.git . |
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
- git checkout $DRONE_COMMIT |
|
|
|
- tar -czpf tox.tar.gz * |
|
|
|
- tar -czpf tox.tar.gz * |
|
|
|
|
|
|
|
|
|
|
|
- name: ssh |
|
|
|
- name: ssh |
|
|
|
image: appleboy/drone-ssh |
|
|
|
image: appleboy/drone-ssh |
|
|
|