File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Devfile Registry Testing
2
2
3
+ ## Dependency check
4
+
5
+ ### Prerequisites
6
+
7
+ - Ensure ` yq 4.3x ` is installed
8
+
9
+ ### Running the build script
10
+
11
+ - This script performs three actions
12
+ - Clones samples from provided ` extraDevfileEntries.yaml ` under ` samples/.cache `
13
+ - Creates a ` parents.yaml ` which contains the dependency tree for parent stacks
14
+ - Outputs the child sample paths of parent stacks, ` TEST_DELTA=true ` will result in only outputting child samples which have changed parent stacks
15
+ - The build script takes one optional argument and works off of the current working directory
16
+ - ` bash tests/build_parents_file.sh ` , default samples file is ` extraDevfileEntries.yaml `
17
+ - ` bash tests/build_parents_file.sh <path_to_extraDevfileEntries> `
18
+
19
+ ### Use with testing
20
+
21
+ - One can test the child samples using the [ validate_devfile_schemas] ( ) test suite by performing the following:
22
+ ``` sh
23
+ export STACKS=$( bash tests/build_parents_file.sh)
24
+ STACKS_DIR=samples/.cache bash tests/validate_devfile_schemas.sh
25
+ ```
26
+
3
27
## Validating non-terminating images
4
28
5
29
### Prerequisites
You can’t perform that action at this time.
0 commit comments