.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-09-24 16:21:09 +01:00
commit 0b7638144a
7 changed files with 20 additions and 12 deletions

View File

@ -1,4 +1,5 @@
docker stack rm drone
echo 'sleeping...zzz'
sleep 60
docker stack deploy -c docker-compose.yml drone
export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/
docker stack rm drone \
&& echo 'sleeping...zzz' \
&& sleep 60 \
&& docker stack deploy -c docker-compose.yml drone

View File

@ -15,10 +15,10 @@ local config = {
config {
script: 'sh .drone/scripts/initialise-images.sh',
secrets: [
'REGISTRY_PASSWORD',
'REGISTRY_DOMAIN',
'REGISTRY_PORT',
]
'REGISTRY_PASSWORD'
],
},
) {
trigger +: {

View File

@ -4,6 +4,6 @@
"build": "drone jsonnet --source drone-home.jsonnet --target drone-home.yml --stream"
},
"dependencies": {
"@sigyl/jsonnet-drone": "^0.3.0"
"@sigyl/jsonnet-drone": "^0.3.1"
}
}

View File

@ -5,12 +5,12 @@ do
&& docker tag $2 $1$2 \
&& docker push $1$2 && break # substitute your command here
n=$((n+1))
if [ $n -ge 2 ]; then
if [ $n -ge 10 ]; then
echo "initialise failed"
exit 1
fi
echo "retrying..$n"
sleep 1
sleep 5
done

View File

@ -5,10 +5,10 @@ do
&& break # substitute your command here
n=$((n+1))
if [ $n -ge 2 ]; then
if [ $n -ge 10 ]; then
echo "login failed"
exit 1
fi
echo "retrying login..$n"
sleep 1
sleep 5
done

View File

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.0.10](https://sigyl.com///compare/v0.0.9...v0.0.10) "chore(release): 0.0.10" (2020-09-24)
### Bug Fixes
* retries only 10 times ([fc63973](https://sigyl.com///commit/fc6397378f786b5ca8f80aae60775d2c4600d727))
### [0.0.9](https://sigyl.com///compare/v0.0.8...v0.0.9) "chore(release): 0.0.9" (2020-09-24)

View File

@ -1,7 +1,7 @@
{
"private": true,
"name": "drone",
"version": "0.0.9",
"version": "0.0.10",
"description": "drone ci",
"scripts": {
"deploy": "sh deploy.sh",