You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by sh...@apache.org on 2022/04/15 20:47:14 UTC
[trafficcontrol] branch master updated: Fix missing input in execution environment for API tests GHA (#6760)
This is an automated email from the ASF dual-hosted git repository.
shamrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 43f9078bd8 Fix missing input in execution environment for API tests GHA (#6760)
43f9078bd8 is described below
commit 43f9078bd806720d05e46479f6a4f69b0c8d5af7
Author: ocket8888 <oc...@apache.org>
AuthorDate: Fri Apr 15 14:47:09 2022 -0600
Fix missing input in execution environment for API tests GHA (#6760)
* Fix missing input in execution environment
* exit on error
---
.github/actions/to-integration-tests/action.yml | 1 +
.github/actions/to-integration-tests/entrypoint.sh | 2 ++
2 files changed, 3 insertions(+)
diff --git a/.github/actions/to-integration-tests/action.yml b/.github/actions/to-integration-tests/action.yml
index f161d961c9..ce47e07f5d 100644
--- a/.github/actions/to-integration-tests/action.yml
+++ b/.github/actions/to-integration-tests/action.yml
@@ -45,3 +45,4 @@ runs:
INPUT_SMTP_PORT: ${{ inputs.smtp_port }}
INPUT_SMTP_ADDRESS: ${{ inputs.smtp_address }}
INPUT_SMTP_PASSWORD: ${{ inputs.smtp_password }}
+ INPUT_VERSION: ${{ inputs.version }}
diff --git a/.github/actions/to-integration-tests/entrypoint.sh b/.github/actions/to-integration-tests/entrypoint.sh
index 7171873471..68a1a007bb 100755
--- a/.github/actions/to-integration-tests/entrypoint.sh
+++ b/.github/actions/to-integration-tests/entrypoint.sh
@@ -16,6 +16,8 @@
# specific language governing permissions and limitations
# under the License.
+set -o errexit
+
gray_bg="$(printf '%s%s' $'\x1B' '[100m')";
red_bg="$(printf '%s%s' $'\x1B' '[41m')";
yellow_bg="$(printf '%s%s' $'\x1B' '[43m')";