-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/next' into feature/update-workfl…
…ow-management
- Loading branch information
Showing
27 changed files
with
88 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
# To run this command | ||
# ./deploy.sh --openwhiskApiHost <openwhiskApiHost> --openwhiskApiKey <openwhiskApiKey> --openwhiskNamespace <openwhiskNamespace> | ||
|
||
openwhiskApiHost=${openwhiskApiHost:-https://localhost:31001} | ||
openwhiskApiKey=${openwhiskApiKey:-23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP} | ||
openwhiskNamespace=${openwhiskNamespace:-guest} | ||
actionHome=${actionHome:-actions/user-login} | ||
|
||
ACTION="user-login" | ||
ACTION_TYPE="rust" | ||
SCRIPTS_DIR="$PWD/scripts" | ||
SRC_DIR="$PWD/${actionHome}" | ||
TEMP_DIR="$PWD/${actionHome}/temp" | ||
|
||
source "$SCRIPTS_DIR/accept_params.sh" | ||
source "$SCRIPTS_DIR/check_dependencies.sh" | ||
source "$SCRIPTS_DIR/build_action.sh" | ||
|
||
check wsk | ||
|
||
build | ||
|
||
$WSK_CLI -i --apihost "$openwhiskApiHost" action update ${ACTION} "$TEMP_DIR/main.zip" --docker "$DOCKER_IMAGE" \ | ||
--auth "$openwhiskApiKey" --timeout 300000 --web true --param db_url "http://admin:p@[email protected]:5984" --param db_name "user_registration_db" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
# To run this command | ||
# ./deploy.sh --openwhiskApiHost <openwhiskApiHost> --openwhiskApiKey <openwhiskApiKey> --openwhiskNamespace <openwhiskNamespace> | ||
|
||
openwhiskApiHost=${openwhiskApiHost:-https://localhost:31001} | ||
openwhiskApiKey=${openwhiskApiKey:-23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP} | ||
openwhiskNamespace=${openwhiskNamespace:-guest} | ||
actionHome=${actionHome:-actions/user-registration} | ||
|
||
ACTION="user-registration" | ||
ACTION_TYPE="rust" | ||
SCRIPTS_DIR="$PWD/scripts" | ||
SRC_DIR="$PWD/${actionHome}" | ||
TEMP_DIR="$PWD/${actionHome}/temp" | ||
|
||
source "$SCRIPTS_DIR/accept_params.sh" | ||
source "$SCRIPTS_DIR/check_dependencies.sh" | ||
source "$SCRIPTS_DIR/build_action.sh" | ||
|
||
check wsk | ||
|
||
build | ||
|
||
$WSK_CLI -i --apihost "$openwhiskApiHost" action update ${ACTION} "$TEMP_DIR/main.zip" --docker "$DOCKER_IMAGE" \ | ||
--auth "$openwhiskApiKey" --timeout 300000 --web true --param db_url "http://admin:p@[email protected]:5984" --param db_name "user_registration_db" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters