.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
1c4dfbc919
commit
1804eaceb0
|
@ -1,7 +1,7 @@
|
|||
def fromSecret(name):
|
||||
return {
|
||||
"from_secret": name
|
||||
}
|
||||
}
|
||||
def environment(env):
|
||||
return dict(
|
||||
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
|
||||
|
@ -249,6 +249,7 @@ def main(ctx):
|
|||
#build("ngrok-gitea"),
|
||||
#build("letsencrypt-nginx"),
|
||||
#buildHome(),
|
||||
build("drone-starlark"),
|
||||
#buildNginx("blog"),
|
||||
#buildNginx("drone"),
|
||||
#buildNginx("git"),
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
FROM drone/drone-convert-starlark
|
||||
COPY repos /repos
|
|
@ -0,0 +1,4 @@
|
|||
def fromSecret(name):
|
||||
return {
|
||||
"from_secret": name
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
FROM postgres:12
|
||||
|
||||
COPY *.sql /
|
|
@ -1,14 +0,0 @@
|
|||
def steps():
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"name": "build",
|
||||
"steps": [
|
||||
{
|
||||
"name": "build",
|
||||
"image": "alpine",
|
||||
"commands": [
|
||||
"echo hello 'star lark'",
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
Reference in New Issue