2
0
mirror of https://github.com/spritsail/alpine.git synced 2025-06-14 07:01:12 +00:00

2 Commits

Author SHA1 Message Date
c936978f39 Update to alpine:3.10
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-08 19:37:08 +00:00
42dc788197 Replace .drone.yml with Starlark 2020-01-08 19:35:27 +00:00

View File

@ -1,12 +1,11 @@
def main(ctx):
versions = [
["3.9",[]],
["3.10",[]],
["3.11", ["latest"]],
["edge", []],
["chrislane", ["😍"]],
return [
step("3.8"),
step("3.9"),
step("3.10"),
step("3.11",["latest"]),
step("edge"),
]
return [step(v[0], v[1]) for v in versions] + [notify(["build-%s" % v for v, _ in versions])]
def step(alpinever,tags=[]):
return {
@ -58,26 +57,3 @@ def step(alpinever,tags=[]):
]
}
def notify(versions):
return {
"kind": "pipeline",
"name": "notify",
"depends_on": versions,
"when": {
"status": [ "success", "failure" ],
},
"steps": [
{
"name": "notify",
"image": "spritsail/notify",
"environment": {
"WEBHOOK_URL": {
"from_secret": "webhook_url",
},
"NOTIFY_TOKEN": {
"from_secret": "notify_token",
},
},
},
],
}