Skip to content

Commit 6019d0c

Browse files
authored
Grouping execution - turning red errors (#61)
* Grouping
1 parent ea8b927 commit 6019d0c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

action.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,3 @@ runs:
166166
echo "## Workflow failed to run :fire:" >> $GITHUB_STEP_SUMMARY
167167
echo "Please check the logs for possible errors." >> $GITHUB_STEP_SUMMARY
168168
echo "If you consider this is a bug in the Github Action, please submit an issue to our repo." >> $GITHUB_STEP_SUMMARY
169-

operations/_scripts/deploy/deploy.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -x
44

5-
echo "In deploy.sh"
5+
echo "::group::In Deploy"
66

77
GITHUB_REPO_NAME=$(echo $GITHUB_REPOSITORY | sed 's/^.*\///')
88

@@ -45,8 +45,9 @@ if [ "$STACK_DESTROY" == "true" ]; then
4545
TERRAFORM_DESTROY="true"
4646
ANSIBLE_SKIP_DEPLOY="true"
4747
fi
48+
echo "::endgroup::"
4849

49-
50+
echo "::group::BitOps Excecution"
5051
echo "Running BitOps for env: $BITOPS_ENVIRONMENT"
5152
docker run --rm --name bitops \
5253
-e AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}" \
@@ -65,3 +66,4 @@ docker run --rm --name bitops \
6566
-e BITOPS_FAST_FAIL="${BITOPS_FAST_FAIL}" \
6667
-v $(echo $GITHUB_ACTION_PATH)/operations:/opt/bitops_deployment \
6768
bitovi/bitops:2.3.0
69+
echo "::endgroup::"

0 commit comments

Comments
 (0)