ci: added versioning and deploy script

This commit is contained in:
Giles Bradshaw 2020-08-11 09:06:40 +01:00
parent 14182f6256
commit 779285cb6b
5 changed files with 1609 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

3
.versionrc Normal file
View File

@ -0,0 +1,3 @@
{
"tagMessageInChangeLog": true
}

4
deploy.sh Normal file
View File

@ -0,0 +1,4 @@
docker stack rm drone
echo 'sleeping...zzz'
sleep 60
docker stack deploy -c docker-compose.yml drone

20
package.json Normal file
View File

@ -0,0 +1,20 @@
{
"private": true,
"name": "drone",
"version": "0.0.1",
"description": "drone ci",
"scripts": {
"deploy": "sh deploy.sh",
"release": "standard-version",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://sigyl.com/git/stack/drone"
},
"author": "Giles Bradshaw",
"license": "ISC",
"devDependencies": {
"standard-version": "git+https://github.com/gilesbradshaw/standard-version.git"
}
}

1581
yarn.lock Normal file

File diff suppressed because it is too large Load Diff