Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in the create_istio_release.sh script #598

Open
yskopets opened this issue Jan 6, 2022 · 0 comments
Open

error in the create_istio_release.sh script #598

yskopets opened this issue Jan 6, 2022 · 0 comments

Comments

@yskopets
Copy link
Member

yskopets commented Jan 6, 2022

Summary

  • The output of create-test-images step contains the following error message:
    ./tetrateci/create_istio_release.sh: line 83: [: =~: binary operator expected
  • the line in question does some fips-related check
    # fips go versions are like 1.14.12b5, extra checking to not miss anything
    if [ ${TAG} =~ "fips" ]; then 
        [[ $BUILD_GO_VERSION =~ 1.[0-9]+.[0-9]+[a-z][0-9]$ ]] || exit 1
    fi  
  • shellcheck reports the following error for this line:
    In ./tetrateci/create_istio_release.sh line 83:
    if [ ${TAG} =~ "fips" ]; then
                ^-- SC2074: Can't use =~ in [ ]. Use [[..]] instead.  

Examples

@yskopets yskopets changed the title error error in the create_istio_release.sh script Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant