Skip to content

Commit

Permalink
Update current feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 25, 2024
1 parent e7049c4 commit 79b78b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/itest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: true
env:
CIUXCONFIG: /tmp/ciux.sh
CIUX_VERSION: dev
CIUX_VERSION: 8ebbda06
GHA_BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
MINIMAL: ${{ inputs.minimal }}
NOSCIENCE: ${{ inputs.noscience }}
Expand Down
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ while getopts hs: c ; do
done
shift `expr $OPTIND - 1`

image=$(ciux get image $PWD --suffix "$suffix")

# TODO use error code for anormal exit
# --check should return true or false
if image=$(ciux get image --check $PWD --suffix "$suffix")
then
echo "Build cancelled, image $image already exists with current source code"
Expand All @@ -66,5 +70,5 @@ else
fi

# Build image
docker image build --tag "$image" --build-arg spark_py_image="$ASTROLABSOFTWARE_FINK_SPARK_PY_IMAGE" "$DIR" --target $target
docker image build --tag "$IMAGE" --build-arg spark_py_image="$ASTROLABSOFTWARE_FINK_SPARK_PY_IMAGE" "$DIR" --target $target

0 comments on commit 79b78b4

Please sign in to comment.