.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build encountered an error Details

This commit is contained in:
Giles 2020-09-23 20:16:51 +01:00
parent a87bfd0d8b
commit f53d1e57e0
6 changed files with 14 additions and 5 deletions

View File

@ -4,9 +4,13 @@ local publicSecrets = import 'lib/public-secrets.libsonnet';
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet';
local config = {
registry: '',
};
[
register,
deploy(
deploy(config)(
'drone',
'/stack/',
[

View File

@ -99,7 +99,7 @@ steps:
target: /stack/drone
- name: wait
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
image: "%(registry)salpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1"
commands:
- sleep 15

View File

@ -0,0 +1,3 @@
docker pull $2 \
&& docker tag $2 $1$2 \
&& docker push $1$2

View File

@ -0,0 +1,2 @@
sh $(dirname $0)/initialise-image.sh $1 drone/drone:1.9.0 \
&& sh $(dirname $0)/initialise-image.sh $1 drone-runner-docker:1.5.0

View File

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

View File

@ -8,7 +8,7 @@ services:
replicas: 1
restart_policy:
condition: any
image: drone/drone:1.9.0
image: ${LOCAL_DOCKER_REGISTRY}drone/drone:1.9.0
volumes:
- drone:/var/lib/drone
- drone-data:/data
@ -37,7 +37,7 @@ services:
replicas: 1
restart_policy:
condition: any
image: drone/drone-runner-docker:1.5.0
image: ${LOCAL_DOCKER_REGISTRY}drone/drone-runner-docker:1.5.0
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment: