diff --git a/.drone.star b/.drone.star index 1acb1bb..850b32b 100644 --- a/.drone.star +++ b/.drone.star @@ -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"), diff --git a/drone-starlark/Dockerfile b/drone-starlark/Dockerfile new file mode 100644 index 0000000..776096e --- /dev/null +++ b/drone-starlark/Dockerfile @@ -0,0 +1,2 @@ +FROM drone/drone-convert-starlark +COPY repos /repos \ No newline at end of file diff --git a/drone-starlark/repos/from-secret.star b/drone-starlark/repos/from-secret.star new file mode 100644 index 0000000..79140f9 --- /dev/null +++ b/drone-starlark/repos/from-secret.star @@ -0,0 +1,4 @@ +def fromSecret(name): + return { + "from_secret": name + } \ No newline at end of file diff --git a/guacamole-postgresql/Dockerfile b/guacamole-postgresql/Dockerfile index 180cf45..dfaaaee 100644 --- a/guacamole-postgresql/Dockerfile +++ b/guacamole-postgresql/Dockerfile @@ -1,3 +1,2 @@ FROM postgres:12 - COPY *.sql / \ No newline at end of file diff --git a/starlark/steps.star b/starlark/steps.star deleted file mode 100644 index f1f97f3..0000000 --- a/starlark/steps.star +++ /dev/null @@ -1,14 +0,0 @@ -def steps(): - return { - "kind": "pipeline", - "name": "build", - "steps": [ - { - "name": "build", - "image": "alpine", - "commands": [ - "echo hello 'star lark'", - ], - }, - ], - } \ No newline at end of file