From ad74887348c3e1694912e78455f8e617dce46ca7 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Wed, 14 Jun 2023 10:00:39 -0600 Subject: [PATCH] Per #2566, use the POSIX compatible instead of backtick ci-skip-all --- .github/jobs/build_docker_image.sh | 2 +- .github/jobs/push_docker_image.sh | 2 +- .github/jobs/run_diff_docker.sh | 2 +- .github/jobs/run_unit_docker.sh | 2 +- .github/jobs/test.sh | 3 +++ 5 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 .github/jobs/test.sh diff --git a/.github/jobs/build_docker_image.sh b/.github/jobs/build_docker_image.sh index fb9907fa2c..f1f023e303 100755 --- a/.github/jobs/build_docker_image.sh +++ b/.github/jobs/build_docker_image.sh @@ -2,7 +2,7 @@ source ${GITHUB_WORKSPACE}/.github/jobs/bash_functions.sh -DOCKERHUB_TAG=`get_dockerhub_tag` +DOCKERHUB_TAG=$(get_dockerhub_tag) DOCKERFILE_PATH=${GITHUB_WORKSPACE}/internal/scripts/docker/Dockerfile.copy diff --git a/.github/jobs/push_docker_image.sh b/.github/jobs/push_docker_image.sh index 8945d69a9a..22ecde3d9d 100755 --- a/.github/jobs/push_docker_image.sh +++ b/.github/jobs/push_docker_image.sh @@ -2,7 +2,7 @@ source ${GITHUB_WORKSPACE}/.github/jobs/bash_functions.sh -DOCKERHUB_TAG=`get_dockerhub_tag` +DOCKERHUB_TAG=$(get_dockerhub_tag) # skip docker push if credentials are not set if [ -z ${DOCKER_USERNAME+x} ] || [ -z ${DOCKER_PASSWORD+x} ]; then diff --git a/.github/jobs/run_diff_docker.sh b/.github/jobs/run_diff_docker.sh index 7e885dd3e1..a899e0a537 100755 --- a/.github/jobs/run_diff_docker.sh +++ b/.github/jobs/run_diff_docker.sh @@ -2,7 +2,7 @@ source ${GITHUB_WORKSPACE}/.github/jobs/bash_functions.sh -DOCKERHUB_TAG=`get_dockerhub_tag` +DOCKERHUB_TAG=$(get_dockerhub_tag) # Get truth output data ${GITHUB_WORKSPACE}/.github/jobs/get_test_truth_data.sh ${TRUTH_DATA_VERSION} diff --git a/.github/jobs/run_unit_docker.sh b/.github/jobs/run_unit_docker.sh index c983c10269..81308d43eb 100755 --- a/.github/jobs/run_unit_docker.sh +++ b/.github/jobs/run_unit_docker.sh @@ -2,7 +2,7 @@ source ${GITHUB_WORKSPACE}/.github/jobs/bash_functions.sh -DOCKERHUB_TAG=`get_dockerhub_tag` +DOCKERHUB_TAG=$(get_dockerhub_tag) # Pull MET Image from DockerHub ${GITHUB_WORKSPACE}/.github/jobs/pull_docker_image.sh ${DOCKERHUB_TAG} diff --git a/.github/jobs/test.sh b/.github/jobs/test.sh new file mode 100755 index 0000000000..77736cfb27 --- /dev/null +++ b/.github/jobs/test.sh @@ -0,0 +1,3 @@ +function myfunc() { + echo "hello world" | sed 's/o/0/g' +}