Skip to content

Commit 308ed62

Browse files
committed
Update CI for stack.yaml
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 48d4450 commit 308ed62

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

verify.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ CLI="faas-cli"
66
build_template() {
77
template=$1
88

9+
rm -rf stack.yaml || :
910
echo Building $template
1011
func_name=$template-ci
1112
$CLI new $func_name --lang $template 2>/dev/null 1>&2
12-
$CLI build -f $func_name.yml
13+
$CLI build
1314
}
1415

1516
verify_and_clean() {
@@ -74,4 +75,5 @@ done
7475

7576
# remove the generated files and folders if successful
7677
cd ../
77-
rm -rf *-ci *-ci.yml
78+
rm -rf *-ci stack.yaml
79+

0 commit comments

Comments
 (0)