File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
st2common/st2common/runners Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 2424* Added publisher to ActionAlias to enable streaming ActionAlias create/update/delete events. #5763
2525 Contributed by @ubaumann
2626
27+ * Expose environment variable ST2_ACTION_DEBUG to all StackStorm actions.
28+ Contributed by @maxfactor1
29+
2730
28313.8.0 - November 18, 2022
2932-------------------------
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ def __init__(self, runner_id):
155155 self .context = None
156156 self .auth_token = None
157157 self .rerun_ex_ref = None
158+ self ._debug = None
158159
159160 def pre_run (self ):
160161 # Handle runner "enabled" attribute
@@ -233,6 +234,7 @@ def _get_common_action_env_variables(self):
233234 result ["ST2_ACTION_PACK_NAME" ] = self .get_pack_ref ()
234235 result ["ST2_ACTION_EXECUTION_ID" ] = str (self .execution_id )
235236 result ["ST2_ACTION_API_URL" ] = get_full_public_api_url ()
237+ result ["ST2_ACTION_DEBUG" ] = str (self ._debug )
236238
237239 if self .auth_token :
238240 result ["ST2_ACTION_AUTH_TOKEN" ] = self .auth_token .token
You can’t perform that action at this time.
0 commit comments