aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-21 18:32:15 -0800
committerGravatar MarkKoz <[email protected]>2020-02-21 22:38:04 -0800
commitf1d428785c5948cfb634e8b8c4783f4a26bc7039 (patch)
tree64a0c85e981b683b00dd3b102b637e47679ff162 /scripts
parentCI: compare variables against strings (diff)
CI: don't use output variables
It was initially used to enable access to variables across jobs, but the jobs will eventually be consolidated into one so output variables will no longer be needed.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_dockerfiles.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check_dockerfiles.sh b/scripts/check_dockerfiles.sh
index b3b5fe2..a0294b1 100755
--- a/scripts/check_dockerfiles.sh
+++ b/scripts/check_dockerfiles.sh
@@ -64,7 +64,7 @@ printf '%s\n' "Comparing HEAD (${head}) against ${prev_commit}."
if git diff --quiet "${prev_commit}" -- docker/base.Dockerfile; then
echo "No changes detected in docker/base.Dockerfile."
- echo "##vso[task.setvariable variable=BASE_CHANGED;isOutput=true]False"
+ echo "##vso[task.setvariable variable=BASE_CHANGED]False"
else
# Always rebuild the venv if the base changes.
echo "Changes detected in docker/base.Dockerfile; all images will be built."
@@ -73,7 +73,7 @@ fi
if git diff --quiet "${prev_commit}" -- docker/venv.Dockerfile Pipfile*; then
echo "No changes detected in docker/venv.Dockerfile or the Pipfiles."
- echo "##vso[task.setvariable variable=VENV_CHANGED;isOutput=true]False"
+ echo "##vso[task.setvariable variable=VENV_CHANGED]False"
else
echo \
"Changes detected in docker/venv.Dockerfile or the Pipfiles;" \
@@ -87,7 +87,7 @@ else
&& git diff --quiet "${master_commit}" -- docker/base.Dockerfile
then
echo "Can pull base image from Docker Hub; no changes since master."
- echo "##vso[task.setvariable variable=BASE_PULL;isOutput=true]True"
+ echo "##vso[task.setvariable variable=BASE_PULL]True"
else
echo \
"Cannot pull base image from Docker Hub due to detected changes;" \