You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
- name: greeting
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- echo hello
|
|
|
|
- echo world
|