Currently this is work in progress
- Install the drone cli on your local machine
cd
to the folder with the.gitlab-ci.yml
file and run the above script
Now you got a .drone.yml
file, that can be run by drone.io
tbd.
tbd.
Currently this is work in progress
cd
to the folder with the .gitlab-ci.yml
file and run the above scriptNow you got a .drone.yml
file, that can be run by drone.io
tbd.
tbd.
#!/bin/bash | |
while true; do | |
read -p "Do you wish to convert your gitlab files?" yn | |
case $yn in | |
[Yy]* ) drone convert .gitlab-ci.yml &> .drone.yml; echo "conversion saved to .drone.yml file"; exit;; | |
[Nn]* ) exit;; | |
* ) echo "Please answer yes or no.";; | |
esac | |
done |