Commit f35e409
authored
Add PIPELINES environment variable to acceptance test framework (#3170)
## Changes
Added a new `PIPELINES` environment variable to the acceptance test
framework that provides a copy of the CLI binary named "pipelines". This
eliminates the need to manually install the pipelines CLI in test
scripts using `install-pipelines-cli` command.
- Modified `acceptance/acceptance_test.go` to create a copy of the CLI
binary as "pipelines" and set the `PIPELINES` environment variable
- Added path replacement for the PIPELINES binary in test output
normalization
## Why
Currently, test scripts that need to use the pipelines CLI must first
run `install-pipelines-cli` to create a local copy. This adds
unnecessary complexity and setup time to tests. By providing the
`PIPELINES` environment variable directly in the acceptance test
framework, tests can immediately use `$PIPELINES` without any
installation step, making tests simpler and faster.
This change follows the same pattern as the existing `CLI` environment
variable, providing consistency in how test binaries are made available
to test scripts.
## Tests
- All existing tests continue to pass, ensuring no regression, using new
`$PIPELINES`1 parent 3356a97 commit f35e409
File tree
7 files changed
+16
-51
lines changed- acceptance
- pipelines/init
- error-cases
- python
- sql
7 files changed
+16
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
168 | 174 | | |
169 | 175 | | |
170 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
| |||
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
17 | | - | |
| 13 | + | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
23 | | - | |
| 19 | + | |
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | | - | |
| 2 | + | |
10 | 3 | | |
11 | 4 | | |
12 | 5 | | |
13 | | - | |
| 6 | + | |
14 | 7 | | |
15 | 8 | | |
16 | | - | |
| 9 | + | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
23 | | - | |
24 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | | - | |
| 2 | + | |
10 | 3 | | |
11 | 4 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | | - | |
| 2 | + | |
10 | 3 | | |
11 | 4 | | |
12 | 5 | | |
13 | | - | |
14 | | - | |
15 | | - | |
0 commit comments