From e5b029e9eef43090815d0237c095f605a90d139d Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Mon, 8 Apr 2019 21:46:49 +0200 Subject: [PATCH 1/2] Action has been moved from tests to fixtures pack, update affected code. --- contrib/examples/actions/workflows/render_config_context.yaml | 2 +- tools/launchdev.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/examples/actions/workflows/render_config_context.yaml b/contrib/examples/actions/workflows/render_config_context.yaml index 24f2d5394d..0593e8623c 100644 --- a/contrib/examples/actions/workflows/render_config_context.yaml +++ b/contrib/examples/actions/workflows/render_config_context.yaml @@ -2,6 +2,6 @@ version: 1.0 description: Testing config context render". tasks: task1: - action: tests.render_config_context + action: fixtures.render_config_context output: - context_value: <% task(task1).result.result.context_value %> diff --git a/tools/launchdev.sh b/tools/launchdev.sh index 7bd5f64df4..691b255a79 100755 --- a/tools/launchdev.sh +++ b/tools/launchdev.sh @@ -220,7 +220,7 @@ function st2start(){ git clone https://github.com/StackStorm/st2tests.git ret=$? if [ ${ret} -eq 0 ]; then - cp -Rp ./st2tests/packs/tests $PACKS_BASE_DIR + cp -Rp ./st2tests/packs/fixtures $PACKS_BASE_DIR rm -R st2tests/ else echo "Failed to clone st2tests repo" @@ -428,7 +428,7 @@ function st2start(){ fi if [ "$copy_test_packs" = true ]; then - st2 run packs.setup_virtualenv packs=tests + st2 run packs.setup_virtualenv packs=fixtures if [ $? != 0 ]; then echo "Warning: Unable to setup virtualenv for the \"tests\" pack. Please setup virtualenv for the \"tests\" pack before running integration tests" fi From ceaf6f98303d2b4e772285aec1097ab1038f810c Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Mon, 8 Apr 2019 22:01:57 +0200 Subject: [PATCH 2/2] Fix typo. --- tools/launchdev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/launchdev.sh b/tools/launchdev.sh index 691b255a79..5cc6b13899 100755 --- a/tools/launchdev.sh +++ b/tools/launchdev.sh @@ -213,7 +213,7 @@ function st2start(){ cp -Rp ./contrib/packs/ $PACKS_BASE_DIR if [ "$copy_test_packs" = true ]; then - echo "Copying test packs examples and tests to $PACKS_BASE_DIR" + echo "Copying test packs examples and fixtures to $PACKS_BASE_DIR" cp -Rp ./contrib/examples $PACKS_BASE_DIR # Clone st2tests in /tmp directory. pushd /tmp