act/pkg/model
Björn Brauer 4391a10d5a
Improve logging ()
* feat: use logger from context wherever possible

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add step/job id and results to json logs

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* test: value to be masked should not be hard-coded in the action

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* fix: replace values following ::add-mask:: in evaluated strings

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: [DEBUG] identifier for debug logs to distinguish them

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: replace logger with step logger

The container gets injected a job logger, but during the time that steps
are run, we want to use the step logger.
This commit wraps pre/main/post steps in an executor that replaces the
job logger with a step logger.

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add pre/post stage identifier fields to json log output

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add job/step result status to skipped steps/jobs

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-17 15:55:21 +00:00
..
testdata implement volume mount for container job () 2022-04-04 18:01:13 +00:00
action.go implement pre and post steps () 2022-05-24 13:36:06 +00:00
github_context.go Improve logging () 2022-06-17 15:55:21 +00:00
github_context_test.go Improve logging () 2022-06-17 15:55:21 +00:00
job_context.go refactor: export and move shared contexts into pkg/model () 2021-12-22 19:52:09 +00:00
planner.go refactor: remove github.com/pkg/errors dependency () 2022-06-10 21:16:42 +00:00
planner_test.go refactor: remove github.com/pkg/errors dependency () 2022-06-10 21:16:42 +00:00
step_result.go implement pre and post steps () 2022-05-24 13:36:06 +00:00
workflow.go fix: allow TimeoutMinutes to be expression () 2022-06-16 20:57:19 +00:00
workflow_test.go implement volume mount for container job () 2022-04-04 18:01:13 +00:00