Skip to content

Commit

Permalink
docs: add new PHP argument to README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Jul 17, 2023
1 parent 752d587 commit 6948355
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,14 @@ The `.laminas-ci/pre-install.sh` command runs before any other command is execut
- `$1`: the user the QA command will run under
- `$2`: the WORKDIR path
- `$3`: the `$JOB` passed to the entrypoint (see above)
- `$4`: the `$PHP` (<major>.<minor>) configured for execution

The `.laminas-ci/pre-run.sh` command runs immediately prior to the QA command, and will receive the following arguments:

- `$1`: the user the QA command will run under
- `$2`: the WORKDIR path
- `$3`: the `$JOB` passed to the entrypoint (see above)
- `$4`: the `$PHP` (<major>.<minor>) configured for execution

It is also possible to pass `before_script` with a list of commands via the `$JOB` variable.

Expand All @@ -129,6 +131,7 @@ The `.laminas-ci/post-run.sh` command will receive these arguments:
- `$2`: the user the QA command will run under
- `$3`: the WORKDIR path
- `$4`: the `$JOB` passed to the entrypoint (see above)
- `$5`: the `$PHP` (<major>.<minor>) configured for execution

It is also possible to pass `after_script` with a list of commands via the `$JOB` variable.
`$STATUS` is a variable containing the exit code of the command and can be used in the commands listed in `after_script`.
Expand Down

0 comments on commit 6948355

Please sign in to comment.