From 718ae724f5e8087dc500718ab3dfb1dd60526a7f Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Fri, 29 Jan 2021 19:32:26 -0600 Subject: [PATCH] bootstrap tests/setup_testing_env.sh see: https://github.com/StackStorm-Exchange/ci/pull/101 --- .circleci/config.yml | 11 +++++++++++ tests/setup_testing_env.sh | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/setup_testing_env.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ec954b..fe98646 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,14 @@ +# WARNING: Minimize edits to this file! +# +# This file is part of the CI infrastructure for the StackStorm-Exchange. +# As such, it gets overwritten periodically in CI infrastructure updates. +# Check out `tests/setup_testing_env.sh` for how to customize the test env. +# If you to add jobs, docker images, or other changes that do not work in +# `tests/setup_testing_env.sh`, then please add what you need and avoid +# changing the standard build_and_test and deploy jobs. +# +# Thanks for your contribution! +--- version: 2 jobs: diff --git a/tests/setup_testing_env.sh b/tests/setup_testing_env.sh new file mode 100644 index 0000000..99c67f8 --- /dev/null +++ b/tests/setup_testing_env.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# For python deps, please use requirements.txt or requirements-test.txt. +# Do not install python requirements with this script. + +# Some packs need to install and configure additional packages to properly +# run their test suite. Other packs need to clone other repositories to +# reuse standardized testing infrastructure. And other functional or end-to-end +# tests might need additional system setup to access external APIs via +# an enterprise bus or something else. +# That is the purpose of this script. Setup the testing environment +# to do mock-less regression or end-to-end testing. + +# This script is called by `deployment` housed in StackStorm-exchange/ci. +# `deployment` will only run this script if it is executable.