Skip to content

K8SPSMDB-1183 bundle generations for psmdb #3018

K8SPSMDB-1183 bundle generations for psmdb

K8SPSMDB-1183 bundle generations for psmdb #3018

GitHub Actions / shellcheck failed Jan 3, 2025 in 0s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (24)

installers/olm/generate.sh|25 col 6| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|25 col 6| Possible misspelling: MODE may not be assigned. Did you mean mode?
installers/olm/generate.sh|30 col 8| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|51 col 11| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|94 col 25| Possible misspelling: PACKAGE_CHANNEL may not be assigned. Did you mean package_channel?
installers/olm/generate.sh|102 col 6| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|112 col 8| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|118 col 8| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|170 col 44| Note that A && B || C is not if-then-else. C may run when A is true.
installers/olm/generate.sh|172 col 41| Note that A && B || C is not if-then-else. C may run when A is true.
installers/olm/generate.sh|174 col 47| Note that A && B || C is not if-then-else. C may run when A is true.
installers/olm/generate.sh|185 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|186 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|187 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|188 col 17| Possible misspelling: VERSION may not be assigned. Did you mean version?
installers/olm/generate.sh|191 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|196 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|197 col 8| Declare and assign separately to avoid masking return values.
installers/olm/generate.sh|211 col 6| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|213 col 8| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|222 col 8| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|236 col 1| initImage appears unused. Verify use (or export if used externally).
installers/olm/generate.sh|236 col 44| Double quote to prevent globbing and word splitting.
installers/olm/generate.sh|238 col 11| Expressions don't expand in single quotes, use double quotes for that.

Filtered Findings (0)

Annotations

Check notice on line 25 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L25 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:25:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 25 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L25 <ShellCheck.SC2153>

Possible misspelling: MODE may not be assigned. Did you mean mode?
Raw output
./installers/olm/generate.sh:25:6: info: Possible misspelling: MODE may not be assigned. Did you mean mode? (ShellCheck.SC2153)

Check notice on line 30 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:30:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 51 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L51 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:51:11: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check notice on line 94 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L94 <ShellCheck.SC2153>

Possible misspelling: PACKAGE_CHANNEL may not be assigned. Did you mean package_channel?
Raw output
./installers/olm/generate.sh:94:25: info: Possible misspelling: PACKAGE_CHANNEL may not be assigned. Did you mean package_channel? (ShellCheck.SC2153)

Check notice on line 102 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L102 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:102:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 112 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L112 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:112:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 118 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L118 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:118:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 170 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L170 <ShellCheck.SC2015>

Note that A && B || C is not if-then-else. C may run when A is true.
Raw output
./installers/olm/generate.sh:170:44: info: Note that A && B || C is not if-then-else. C may run when A is true. (ShellCheck.SC2015)

Check notice on line 172 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L172 <ShellCheck.SC2015>

Note that A && B || C is not if-then-else. C may run when A is true.
Raw output
./installers/olm/generate.sh:172:41: info: Note that A && B || C is not if-then-else. C may run when A is true. (ShellCheck.SC2015)

Check notice on line 174 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L174 <ShellCheck.SC2015>

Note that A && B || C is not if-then-else. C may run when A is true.
Raw output
./installers/olm/generate.sh:174:47: info: Note that A && B || C is not if-then-else. C may run when A is true. (ShellCheck.SC2015)

Check warning on line 185 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L185 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:185:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check warning on line 186 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L186 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:186:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check warning on line 187 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L187 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:187:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check notice on line 188 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L188 <ShellCheck.SC2153>

Possible misspelling: VERSION may not be assigned. Did you mean version?
Raw output
./installers/olm/generate.sh:188:17: info: Possible misspelling: VERSION may not be assigned. Did you mean version? (ShellCheck.SC2153)

Check warning on line 191 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L191 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:191:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check warning on line 196 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L196 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:196:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check warning on line 197 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L197 <ShellCheck.SC2155>

Declare and assign separately to avoid masking return values.
Raw output
./installers/olm/generate.sh:197:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)

Check notice on line 211 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L211 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:211:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 213 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L213 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:213:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 222 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L222 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:222:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 236 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L236 <ShellCheck.SC2034>

initImage appears unused. Verify use (or export if used externally).
Raw output
./installers/olm/generate.sh:236:1: warning: initImage appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check notice on line 236 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L236 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./installers/olm/generate.sh:236:44: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 238 in installers/olm/generate.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] installers/olm/generate.sh#L238 <ShellCheck.SC2016>

Expressions don't expand in single quotes, use double quotes for that.
Raw output
./installers/olm/generate.sh:238:11: info: Expressions don't expand in single quotes, use double quotes for that. (ShellCheck.SC2016)