Skip to content

Commit

Permalink
Fix/ppdsc 2611 fix 1 (#629)
Browse files Browse the repository at this point in the history
* fix(PPDSC-2611): persist env var

* fix(PPDSC-2611): log partial build settings
  • Loading branch information
mstuartf authored Feb 13, 2023
1 parent d523d5f commit 7ee4a68
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -818,14 +818,17 @@ jobs:
echo "Result from check-baseline-updates.js: ${CHECK_UPDATES}"
if [ $CHECK_UPDATES = "UPDATES_REQUIRED" ]; then
echo "Baseline updates required; continuing job."
export PERCY_PARTIAL_BUILD=1
echo 'export PERCY_PARTIAL_BUILD=1' >> "$BASH_ENV"
elif [ $CHECK_UPDATES = "NO_UPDATES_REQUIRED" ]; then
echo "No baseline updates required; finishing job."
circleci-agent step halt
else
echo "Error checking PR"
exit 1
fi
- run:
name: 'Confirm partial build'
command: echo "PERCY_PARTIAL_BUILD is set to ${PERCY_PARTIAL_BUILD}"
- run_test_visual_comps_percy
- slack/notify:
<<: *slack_notify
Expand All @@ -847,14 +850,17 @@ jobs:
echo "Result from check-baseline-updates.js: ${CHECK_UPDATES}"
if [ $CHECK_UPDATES = "UPDATES_REQUIRED" ]; then
echo "Baseline updates required; continuing job."
export PERCY_PARTIAL_BUILD=1
echo 'export PERCY_PARTIAL_BUILD=1' >> "$BASH_ENV"
elif [ $CHECK_UPDATES = "NO_UPDATES_REQUIRED" ]; then
echo "No baseline updates required; finishing job."
circleci-agent step halt
else
echo "Error checking PR"
exit 1
fi
- run:
name: 'Confirm partial build'
command: echo "PERCY_PARTIAL_BUILD is set to ${PERCY_PARTIAL_BUILD}"
- run_test_visual_docs_percy
- slack/notify:
<<: *slack_notify
Expand Down

0 comments on commit 7ee4a68

Please sign in to comment.