Github Actions Workflows (#1876)

Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
Co-authored-by: sahil-lakhwani <sahilakhwani@gmail.com>
Co-authored-by: agiwalpooja20 
Co-authored-by: abhisheks-infracloud
This commit is contained in:
Rahul Bhati
2020-12-17 19:00:44 +05:30
committed by GitHub
co-authored by Vishal sahil-lakhwani agiwalpooja20 abhisheks-infracloud
parent e438df87fa
commit a68f3edcd4
21 changed files with 761 additions and 118 deletions
-3
View File
@@ -53,7 +53,6 @@ echo $response | grep -i foo
# function to emulate real online traffic. The router
# should be able to update cache under this situation.
( watch -n1 curl http://$FISSION_ROUTER/$fn ) > /dev/null 2>&1 &
pid=$!
log "Updating function"
echo 'module.exports = function(context, callback) { callback(200, "bar!\n"); }' > $tmp_dir/bar.js
@@ -68,6 +67,4 @@ response=$(curl http://$FISSION_ROUTER/$fn)
log "Checking for valid response again"
echo $response | grep -i bar
kill -15 $pid
log "All done."