]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-docker-lint: do not check variables_entrypoint.sh 713/head
authorSébastien Han <seb@redhat.com>
Fri, 12 May 2017 08:54:17 +0000 (10:54 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 12 May 2017 13:43:59 +0000 (15:43 +0200)
commit09ecee10ebc9c8cbb1fd679f4ef9c19f0c2bed33
treee8c098168cce5a5211f7ccd353d1ca375e359135
parentd0eb2df108e8d54c9672d657c312798ec82ca279
ceph-docker-lint: do not check variables_entrypoint.sh

Shellcheck will complain with SC2034: foo appears unused. Verify it or
export it.
The problem here is that this file contains a reference of all the
variables so indeed they appear unused.
We could potentially source some portion of the code from that file,
however I don't want to change the structure of the code because of
shellchecker. Also sourcing all the variables might results in expected
scenario if these variables are not expected to be declared.

There is no way to tell shellcheck to ignore this file so we should not
test it.

Signed-off-by: Sébastien Han <seb@redhat.com>
ceph-docker-lint/build/build