Skip to content

Commit c7c710b

Browse files
davidmrdavidpriyaananthasankarscgbearShervyna Ruanasedighi
authored
Promote to master (#99) (#126)
Co-authored-by: Shawn Gaul <[email protected]> Co-authored-by: Shervyna Ruan <[email protected]> Co-authored-by: Shawn Gaul <[email protected]> Co-authored-by: asedighi <[email protected]> Co-authored-by: Anthony <[email protected]> Co-authored-by: Anthony Chu <[email protected]> Co-authored-by: Hanzhang Zeng (Roger) <[email protected]> Co-authored-by: Hanzhang Zeng (Roger) <[email protected]> Co-authored-by: David Justo <[email protected]> Co-authored-by: Priya Ananthasankar <[email protected]> Co-authored-by: Shawn Gaul <[email protected]> Co-authored-by: Shervyna Ruan <[email protected]> Co-authored-by: Shawn Gaul <[email protected]> Co-authored-by: asedighi <[email protected]> Co-authored-by: Anthony <[email protected]> Co-authored-by: Anthony Chu <[email protected]> Co-authored-by: Hanzhang Zeng (Roger) <[email protected]> Co-authored-by: Hanzhang Zeng (Roger) <[email protected]>
1 parent 57c57da commit c7c710b

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

host.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"version": "2.0",
3+
"extensionBundle": {
4+
"id": "Microsoft.Azure.Functions.ExtensionBundle",
5+
"version": "[1.*, 2.0.0)"
6+
}
7+
}

samples/fan_out_fan_in/.funcignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
.vscode
33
local.settings.json
44
test
5-
.venv
5+
.venv

samples/function_chaining_custom_status/.funcignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.vscode
33
local.settings.json
44
test
5+
.venv

scripts/sample_deploy.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/bin/bash
2+
3+
echo "Checking for prerequisites..."
4+
if ! type npm > /dev/null; then
5+
echo "Prerequisite Check 1: Install Node.js and NPM"
6+
exit 1
7+
fi
8+
9+
if ! type dotnet > /dev/null; then
10+
echo "Prerequisite Check 2: Install .NET Core 2.1 SDK or Runtime"
11+
exit 1
12+
fi
13+
14+
if ! type func > /dev/null; then
15+
echo "Prerequisite Check 3: Install Azure Functions Core Tools"
16+
exit 1
17+
fi
18+
19+
echo "Pre-requisites satisfied..."
20+
21+
echo "Creating sample folders..."
22+
DIRECTORY=/tmp/df_test
23+
if [ ! -d "$DIRECTORY" ]; then
24+
mkdir /tmp/df_test
25+
else
26+
rm -rf /tmp/df_test/*
27+
fi
28+
29+
SAMPLE=function_chaining
30+
cp -r ../samples/$SAMPLE $DIRECTORY/
31+
cd $DIRECTORY/$SAMPLE
32+
python -m venv env
33+
source env/bin/activate
34+
35+
echo "Provide local path to azure-functions-durable-python clone:"
36+
read lib_path
37+
pip install $lib_path/azure-functions-durable-python
38+
func init .
39+
func extensions install
40+
echo "Done"
41+

0 commit comments

Comments
 (0)