Skip to content

Commit

Permalink
fix: checkton issues
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Malina <[email protected]>
  • Loading branch information
mmalina committed Sep 2, 2024
1 parent 889a515 commit 1ba8e9e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,12 @@ spec:
key: url
script: |
#!/usr/bin/env bash
# shellcheck disable=SC2317 # shellcheck calls all the commands in the function unreachable
set -x
watch_build_state() {
build_id=`jq -r ".id" $(results.jsonBuildInfo.path)`

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
state=""

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
while true; do

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
#
# fetching build information.
build_info=$(/usr/bin/curl -s "${IIB_SERVICE_URL}/builds/${build_id}")

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

Check warning

Code scanning / shellcheck

SC2317 Warning

Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
# get state from the build information.
Expand Down

0 comments on commit 1ba8e9e

Please sign in to comment.