-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use common CSM baseimage #271
base: main
Are you sure you want to change the base?
Changes from 4 commits
949ff18
e12b28e
b1382e9
a1997ad
68c42b3
257bf0c
fdbe502
922eb9c
f6dccb9
b9e5791
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,8 @@ function git_version { | |
|
||
|
||
function build_image { | ||
echo ${BASE_UBI_IMAGE} | ||
echo ${DEFAULT_GOIMAGE} | ||
bash build_ubi_micro.sh ${BASE_UBI_IMAGE} | ||
echo $BUILDCMD build ${NOCACHE} -t ${IMAGE_NAME}:${IMAGE_TAG} . | ||
(cd .. && $BUILDCMD build ${NOCACHE} -t ${IMAGE_NAME}:${IMAGE_TAG} --build-arg GOIMAGE=$DEFAULT_GOIMAGE --build-arg GOPROXY=$GOPROXY -f csi-unity/Dockerfile.podman . --format=docker) | ||
echo $BUILDCMD build ${NOCACHE} -t ${IMAGE_NAME}:${IMAGE_TAG} GOIMAGE=$DEFAULT_GOIMAGE BASEIMAGE=$CSM_BASEIMAGE . | ||
(cd .. && $BUILDCMD build --pull ${NOCACHE} -t ${IMAGE_NAME}:${IMAGE_TAG} --build-arg GOIMAGE=$DEFAULT_GOIMAGE --build-arg BASEIMAGE=$CSM_BASEIMAGE --build-arg GOPROXY=$GOPROXY -f csi-unity/Dockerfile.podman . --format=docker) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we get rid of this file altogether? Seems that it may have been part of some legacy build/test framework. Why not push things back into the Makefile? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. New cert-csi VolumeIO run also passed |
||
echo $BUILDCMD tag ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_REPO}/${IMAGE_REPO_NAMESPACE}/${IMAGE_NAME}:${IMAGE_TAG} | ||
$BUILDCMD tag ${IMAGE_NAME}:${IMAGE_TAG} ${IMAGE_REPO}/${IMAGE_REPO_NAMESPACE}/${IMAGE_NAME}:${IMAGE_TAG} | ||
} | ||
|
@@ -56,9 +53,9 @@ NOCACHE= | |
# Read options | ||
for param in $*; do | ||
case $param in | ||
"--baseubi") | ||
"--baseimage") | ||
shift | ||
BASE_UBI_IMAGE=$1 | ||
CSM_BASEIMAGE=$1 | ||
shift | ||
;; | ||
"--goimage") | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the go-build still needed since the build is being done in the Docker image build?