hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

feat: event logging tracking #320

Closed roleyfoley closed 2 years ago

roleyfoley commented 2 years ago

Intent of Change

Description

Motivation and Context

This allows for more detailed tracking of events that occur during hamlet commands in both the automation and generation side of things. As the log events are created at the point of the event occurring, if indirect scripts are used then the tracking still works as expected.

How Has This Been Tested?

Related Changes

Prerequisite PRs:

Dependent PRs:

Consumer Actions:

roleyfoley commented 2 years ago

Forgot to add this is what the logs look like when commited to the repo

commit 420c8d7b03d9944b8022e9037bd9a58d260a66da (HEAD -> master, origin/master, origin/HEAD)
Author: roleyfoley <roleyfoley@gmail.com>
Date:   Thu Apr 7 21:50:03 2022 +1000

    cd(walksregister): deploy_updates

    msg: testing updates

    _time:  2022-04-07T11:49:46Z
    _type:  update_build_reference
    account:  mswdev02
    calling_script:  manageBuildReferences.sh
    code_commit:  def45678900000
    code_tag:  ?
    deployment_unit:  lamb
    district_type:  segment
    environment:  integration
    image_format:  lambda
    product:  walksregister
    registry_scope:  ?
    segment:  roleyfoley
    tenant:  msw
    --------