Execute cmd-specific actuators in the same env

Record the environment used to launch a command, and use the same
environment to launch cmd-specific actuators. Also augment this
environment so that actuators can know the cmd id and pid of the target
process.
23 jobs for better-cmd-actuator in 2 minutes and 43 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Source
failed #88290
kvm nix
dhall-format

00:00:05

failed #88291
kvm nix
hsnrm-/dhall-format

00:00:04

passed #88292
kvm nix
hsnrm/hlint

00:00:10

failed #88293
kvm nix
hsnrm/ormolu

00:00:19

passed #88294
kvm nix
hsnrm/shellcheck

00:00:03

passed #88295
kvm nix
libnrm/clang-format

00:00:04

passed #88296
kvm nix
nixfmt

00:00:02

passed #88297
kvm nix
pynrm/black

00:00:03

passed #88298
kvm nix
resources

00:02:32

passed #88299
kvm nix
shellcheck

00:00:03

 
  Build
skipped #88300
kvm nix
hsnrm/all
skipped #88301
kvm nix
libnrm/autotools
skipped #88302
kvm nix
nix/hsnrm
skipped #88303
kvm nix
nix/hsnrm-bin
skipped #88304
kvm nix
nix/libnrm
skipped #88305
kvm nix
nix/pynrm
skipped #88306
kvm nix
nix/stream
 
  Test
skipped #88307
kvm nix
examples
skipped #88308
kvm nix
tests/apps
skipped #88309
kvm nix
tests/kvm
skipped #88310
chimera
tests/perf
skipped #88311
kvm nix
tests/pyupstream
skipped #88312
chimera
tests/rapl
 
Name Stage Failure
failed
hsnrm/ormolu Source
Skipping Git submodules setup
$ nix-shell -p gnumake --run 'make hsnrm/ormolu'
make -C hsnrm ormolu
make[1]: Entering directory '/var/lib/gitlab-runner/builds/otdpDvyS/0/argo/hnrm/hsnrm'
[!] hsnrm/src/NRM/Types/Cmd.hs does not pass ormolu format check. Formatting..
make[1]: *** [Makefile:57: ormolu] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/otdpDvyS/0/argo/hnrm/hsnrm'
make: *** [Makefile:18: hsnrm/ormolu] Error 2
ERROR: Job failed: exit status 1
failed
dhall-format Source
From https://xgitlab.cels.anl.gov/argo/hnrm
* [new ref] refs/pipelines/13475 -> refs/pipelines/13475
* [new branch] better-cmd-actuator -> origin/better-cmd-actuator
Checking out 9b526386 as better-cmd-actuator...
Skipping Git submodules setup
$ nix-shell -p gnumake --run 'make dhall-format'
[!] hsnrm/hsnrm/dhall/types/manifest.dhall does not pass dhall-format format check. Formatting..
make: *** [Makefile:93: dhall-format] Error 1
ERROR: Job failed: exit status 1
failed
hsnrm-/dhall-format Source
Skipping Git submodules setup
$ nix-shell -p gnumake --run 'make hsnrm/dhall-format'
make -C hsnrm dhall-format
make[1]: Entering directory '/var/lib/gitlab-runner/builds/w75r25a4/0/argo/hnrm/hsnrm'
[!] hsnrm/dhall/types/manifest.dhall does not pass dhall-format format check. Formatting..
make[1]: *** [Makefile:42: dhall-format] Error 1
make[1]: Leaving directory '/var/lib/gitlab-runner/builds/w75r25a4/0/argo/hnrm/hsnrm'
make: *** [Makefile:18: hsnrm/dhall-format] Error 2
ERROR: Job failed: exit status 1