-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update doc with a full pipeline example
- Loading branch information
Showing
5 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- markdownlint-disable MD013 MD046 --> | ||
# Run all stages with one command | ||
|
||
If you're well understand each previous `make` commands of the pipeline, you want probably executed all stages at once. | ||
|
||
You've just to combine all commands (arguments and options), to make it real. | ||
|
||
For example: We will build all manifests for BOX Manifest distribution itself. | ||
|
||
=== "Pipeline Command" | ||
|
||
```shell | ||
box-manifest build stub configure compile -r console-table.txt -r plain.txt -r sbom.json --output-stub stub.php --output-conf box.json.dist -vvv | ||
``` | ||
|
||
=== "Output" | ||
|
||
![Workflow part 1](./assets/images/wf-part1.png) | ||
![Workflow part 2](./assets/images/wf-part2.png) | ||
![Workflow part 3](./assets/images/wf-part3.png) | ||
|
||
## :material-numeric-1-box: Build manifests | ||
|
||
Here are the part required of full above command | ||
|
||
```shell | ||
box-manifest make build -r console-table.txt -r plain.txt -r sbom.json | ||
``` | ||
|
||
## :material-numeric-2-box: Build stub | ||
|
||
Here are the part required of full above command | ||
|
||
```shell | ||
box-manifest make stub --output-stub stub.php | ||
``` | ||
|
||
## :material-numeric-3-box: Configure the BOX final config file | ||
|
||
Here are the part required of full above command | ||
|
||
```shell | ||
box-manifest make configure --output-stub stub.php --output-conf box.json.dist | ||
``` | ||
|
||
## :material-numeric-4-box: Compile the PHAR distribution | ||
|
||
Here are the part required of full above command | ||
|
||
```shell | ||
box-manifest make compile --output-conf box.json.dist | ||
``` | ||
|
||
> [!TIP] | ||
> | ||
> Don't forget to increase verbosity (`-vvv`) to see all console logs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters