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

This commit is contained in:
Giles Bradshaw 2020-04-27 18:58:48 +01:00
parent 02ada23f51
commit ca2de5e826
1 changed files with 3 additions and 24 deletions

View File

@ -17,26 +17,6 @@ load("@this//:build-folder.star", "buildFolder")
load("@this//:build-docker-folder.star", "buildDockerFolder") load("@this//:build-docker-folder.star", "buildDockerFolder")
load("@this//:pipeline.star", "pipeline") load("@this//:pipeline.star", "pipeline")
def buildHome():
return {
"name": "build-nginx-home",
"image": "docker:dind",
"volumes": [
{
"name": "dockersock",
"path": "/var/run",
},
],
"environment": environment([
"local-docker-registry",
]),
"commands": [
"cd letsencrypt-nginx",
"sh build.home.sh $${{LOCAL_DOCKER_REGISTRY}}".format(),
],
}
def main(ctx): def main(ctx):
if ctx.build.branch == 'home-deploy': if ctx.build.branch == 'home-deploy':
return [ return [
@ -49,11 +29,10 @@ def main(ctx):
secretSecrets, secretSecrets,
), ),
wait(15, "wait"), wait(15, "wait"),
#build("guacamole-postgresql"), build("guacamole-postgresql"),
#build("ngrok-gitea"), build("ngrok-gitea"),
#build("letsencrypt-nginx"), build("letsencrypt-nginx"),
build("drone-starlark"), build("drone-starlark"),
#buildHome(),
buildDockerFolder( buildDockerFolder(
"Dockerfile.home", "Dockerfile.home",
"nginx:latest", "nginx:latest",