From fa40bfcb42b730e113f5d5535526dbf7b5153b6a Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 8 Jun 2022 14:13:39 +0100 Subject: [PATCH] . --- .drone/drone-home.yml | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/.drone/drone-home.yml b/.drone/drone-home.yml index 69bdc55..b02a1bd 100644 --- a/.drone/drone-home.yml +++ b/.drone/drone-home.yml @@ -259,6 +259,59 @@ }, "type": "docker" } +--- + +--- +{ + "clone": { + "depth": 0, + "disable": false + }, + "kind": "pipeline", + "name": "print users", + "steps": [ + { + "environment": { + "DRONE_SERVER": "http://git.target-domain:5000", + "DRONE_TOKEN": "arcOzUjtbrqBFyHil29NVESbKM56aHnp" + }, + "image": "drone/cli", + "name": "print env", + "settings": { + "envs": [ + "drone_tag", + "drone_commit", + "drone_build_number", + "drone_repo_name", + "drone_repo_namespace", + "gitea_mailer_host", + "gitea_mailer_from", + "gitea_mailer_user", + "gitea_app_name", + "gitea_server_lfs_jwt_secret", + "gitea_security_secret_key", + "gitea_security_internal_token", + "gitea_oauth2_jwt_secret", + "gitea_mailer_passwd" + ], + "script": [ + "drone user ls", + ] + } + } + ], + "trigger": { + "event": [ + "promote" + ], + "target": [ + "print users" + ] + }, + "type": "docker" +} + + --- { "clone": {