This commit is contained in:
parent
46befdc600
commit
15cd66a213
17
.drone.star
17
.drone.star
@ -169,6 +169,23 @@ def main(ctx):
|
||||
"output": "{coder_template}/main.tf".format(coder_template = coder_template),
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "upload {coder_template}".format(coder_template = coder_template),
|
||||
"image": "plugins/s3",
|
||||
"depends_on": [
|
||||
"generate {coder_template}".format(coder_template = coder_template),
|
||||
],
|
||||
"settings": {
|
||||
"endpoint": "https://s3.mcmaster.io",
|
||||
"bucket": "coder",
|
||||
"region": "us-east-1",
|
||||
"path_style": "true",
|
||||
"access_key": {"from_secret": "minio_access_key_id"},
|
||||
"secret_key": {"from_secret": "minio_secret_access_key"},
|
||||
"source": "{coder_template}/*".format(coder_template = coder_template),
|
||||
"target": "/coder-templates",
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "lint {coder_template}".format(coder_template = coder_template),
|
||||
"image": "cr.smcm.xyz/drone-plugins/tflint",
|
||||
|
||||
Reference in New Issue
Block a user