Skip to content

Commit

Permalink
Fixing cirque runner
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple committed Jul 11, 2023
1 parent 4813678 commit dd124a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Bootstrap Cache
uses: ./.github/actions/bootstrap-cache
- name: Bootstrap
- name: Bootstrap Cirque
run: |
integrations/docker/images/stage-2/chip-build-cirque/run.sh \
-- sh -c " \
Expand Down
21 changes: 9 additions & 12 deletions scripts/tests/cirque_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ function cirquetest_bootstrap() {

make NO_GRPC=1 install -j

if [[ "$GITHUB_ACTION_RUN" = "1" ]]; then
# Note: This script will be invoked in docker on CI, We should add CHIP repo to safe directory to silent git error messages.
git config --global --add safe.directory /home/runner/work/connectedhomeip/connectedhomeip
fi
git config --global --add safe.directory /home/runner/work/connectedhomeip/connectedhomeip

"$REPO_DIR"/integrations/docker/ci-only-images/chip-cirque-device-base/build.sh

Expand Down Expand Up @@ -189,12 +186,12 @@ subcommand=$1
shift

case $subcommand in
*)
cirquetest_"$subcommand" "$@"
exitcode=$?
if ((exitcode == 127)); then
echo "Unknown command: $subcommand" >&2
fi
exit "$exitcode"
;;
*)
cirquetest_"$subcommand" "$@"
exitcode=$?
if ((exitcode == 127)); then
echo "Unknown command: $subcommand" >&2
fi
exit "$exitcode"
;;
esac

0 comments on commit dd124a0

Please sign in to comment.