Skip to content

Commit bb6f681

Browse files
committed
openshift: Allow using the deployment ID and time in the message.
While the message template customization function had `dep_time` and `dep_id` parameters, the `deployment` dict was not populated with those fields previously.
1 parent d8cfa66 commit bb6f681

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zulip/integrations/openshift/post_deploy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def get_deployment_details() -> Dict[str, str]:
3737
url=os.environ["OPENSHIFT_APP_DNS"],
3838
branch=splits[2],
3939
commit_id=splits[3],
40+
dep_id=splits[1],
41+
dep_time=splits[0],
4042
)
4143

4244

0 commit comments

Comments
 (0)