File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : " List examples to be used by e2e tests"
2
2
description : " Return JSON array with a list of examples defined"
3
- inputs : {}
3
+ inputs :
4
+ ignore :
5
+ required : false
6
+ description : " Regex to match against example names. Matched examples won't be returned. Empty regex does nothing."
7
+ default : " tde"
4
8
5
9
outputs :
6
10
examples :
@@ -12,11 +16,17 @@ runs:
12
16
steps :
13
17
- shell : bash
14
18
id : list
19
+ env :
20
+ ignoreRegex : " ${{ inputs.ignore }}"
15
21
run : |
16
22
examples="$(echo '[]' | jq .)"
17
23
pushd examples/full
18
24
for candidate in $(ls -1 .)
19
25
do
26
+ if [[ ! -z "$ignoreRegex" ]] && [[ "$candidate" =~ "$ignoreRegex" ]]; then
27
+ echo "skipping $candidate..."
28
+ continue
29
+ fi
20
30
if [ -d $candidate ]
21
31
then
22
32
cloud_providers=()
Original file line number Diff line number Diff line change 45
45
default : false
46
46
description : " If checked, additionally create service using latest stable version, then upgrade to the current version"
47
47
schedule :
48
- - cron : " 0 3 * * *"
48
+ - cron : " 0 7 * * *"
49
49
50
50
defaults :
51
51
run :
You can’t perform that action at this time.
0 commit comments