Skip to content

Commit 4fd02e7

Browse files
committed
debugging
1 parent cdef57c commit 4fd02e7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

e2e_tests/firehose_e2e_tests.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ exit_with_error() {
9797
BASE_NAME=$(basename "$TEMPLATE_FILE_NAME" .yaml)
9898
BUILD_DIR="$BUILD_DIR_BASE/$BASE_NAME"
9999

100-
sam build -u --template-file "../$TEMPLATE_FILE_NAME" --build-dir "$BUILD_DIR"
100+
echo "Building and packaging the SAM template: $BASE_NAME"
101+
echo "Building and packaging the SAM template: $BUILD_DIR"
102+
echo pwd
103+
104+
105+
sam build --template-file "$TEMPLATE_FILE" --build-dir "$BUILD_DIR"
106+
echo "build done packaging"
101107
sam package --s3-bucket "$S3_BUCKET" --template-file "$BUILD_DIR/template.yaml" --output-template-file "$BUILD_DIR/$TEMPLATE_FILE_NAME"
102108

103109

@@ -106,7 +112,7 @@ cat <<EOF > parameter.json
106112
EOF
107113
LOG_GROUP_NAMES=$(<parameter.json)
108114

109-
115+
echo "Deploying the Firehose stack: $FIREHOSE_STACK_NAME"
110116
deploy_firehose_stack "$BUILD_DIR/$TEMPLATE_FILE_NAME" "$FIREHOSE_STACK_NAME" "$NEW_RELIC_LICENSE_KEY" "$NEW_RELIC_REGION" "$NEW_RELIC_ACCOUNT_ID" "true" "$LOG_GROUP_NAMES" "''"
111117

112118
validate_stack_deployment_status "$FIREHOSE_STACK_NAME"

0 commit comments

Comments
 (0)