Skip to content

Commit a011631

Browse files
committed
fixup! Move some stances around in the ci scripts
1 parent f8144d2 commit a011631

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

templates/github/.github/workflows/scripts/before_install.sh.j2

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
{% include 'header.j2' %}
44

5-
set -euo pipefail
5+
# This script prepares the scenario definition in the .ci/ansible/vars/main.yaml file.
6+
#
7+
# It requires the following environment:
8+
# TEST - The name of the scenario to prepare.
9+
#
10+
# It may also dump the {lower,upper}bounds_constraints.txt for the specific scenario.
11+
12+
set -eu -o pipefail
613

714
# make sure this script runs at the repo root
815
cd "$(dirname "$(realpath -e "$0")")"/../../..

templates/github/.github/workflows/scripts/before_script.sh.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
# This script dumps some files to help understand the setup of the test scenario.
66

7+
set -eu -o pipefail
8+
79
# make sure this script runs at the repo root
810
cd "$(dirname "$(realpath -e "$0")")"/../../..
911

10-
set -euv
11-
1212
source .github/workflows/scripts/utils.sh
1313

1414
if [[ -f .github/workflows/scripts/pre_before_script.sh ]]; then
@@ -31,6 +31,7 @@ tail -v -n +1 ../*/*constraints.txt || true
3131

3232
echo
3333
echo "# pip list outside the container"
34+
pip list
3435

3536
echo
3637
echo "# pip list inside the container"

0 commit comments

Comments
 (0)