.
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):
|
def fromSecret(name):
|
||||||
return {
|
return {
|
||||||
"from_secret": name
|
"from_secret": name
|
||||||
}
|
}
|
||||||
def environment(env):
|
def environment(env):
|
||||||
return dict(
|
return dict(
|
||||||
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
|
[(x.replace("-", "_").upper(), fromSecret(x)) for x in env]
|
||||||
|
@ -249,6 +249,7 @@ def main(ctx):
|
||||||
#build("ngrok-gitea"),
|
#build("ngrok-gitea"),
|
||||||
#build("letsencrypt-nginx"),
|
#build("letsencrypt-nginx"),
|
||||||
#buildHome(),
|
#buildHome(),
|
||||||
|
build("drone-starlark"),
|
||||||
#buildNginx("blog"),
|
#buildNginx("blog"),
|
||||||
#buildNginx("drone"),
|
#buildNginx("drone"),
|
||||||
#buildNginx("git"),
|
#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
|
FROM postgres:12
|
||||||
|
|
||||||
COPY *.sql /
|
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