ci: scripts package json release

This commit is contained in:
Giles Bradshaw 2020-08-11 13:31:20 +01:00
parent df1f9699fe
commit b0874aa8d1
5 changed files with 31 additions and 0 deletions

2
gitea/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.certificates
node_modules

3
gitea/.versionrc Normal file
View File

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

1
gitea/build.sh Normal file
View File

@ -0,0 +1 @@
docker build gitea -t ${LOCAL_DOCKER_REGISTRY}gitea

4
gitea/deploy.sh Normal file
View File

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

21
gitea/package.json Normal file
View File

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