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

PE-4572 modify localui customization dir #222

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,10 @@ build-uki-iso:
COPY --if-exists "$CLUSTERCONFIG" /overlay/opt/spectrocloud/clusterconfig/spc.tgz
END

COPY --if-exists ui.tar /overlay/opt/spectrocloud/emc/
RUN if [ -f /overlay/opt/spectrocloud/emc/ui.tar ]; then \
tar -xf /overlay/opt/spectrocloud/emc/ui.tar -C /overlay/opt/spectrocloud/emc && \
rm -f /overlay/opt/spectrocloud/emc/ui.tar; \
COPY --if-exists local-ui.tar /overlay/opt/spectrocloud/
RUN if [ -f /overlay/opt/spectrocloud/local-ui.tar ]; then \
tar -xf /overlay/opt/spectrocloud/local-ui.tar -C /overlay/opt/spectrocloud && \
rm -f /overlay/opt/spectrocloud/local-ui.tar; \
fi

WORKDIR /build
Expand Down Expand Up @@ -414,10 +414,10 @@ build-iso:
WORKDIR /build
COPY --platform=linux/${ARCH} --keep-own +iso-image-rootfs/rootfs /build/image

COPY --if-exists ui.tar /build/image/opt/spectrocloud/emc/
RUN if [ -f /build/image/opt/spectrocloud/emc/ui.tar ]; then \
tar -xf /build/image/opt/spectrocloud/emc/ui.tar -C /build/image/opt/spectrocloud/emc && \
rm -f /build/image/opt/spectrocloud/emc/ui.tar; \
COPY --if-exists local-ui.tar /build/image/opt/spectrocloud/
RUN if [ -f /build/image/opt/spectrocloud/local-ui.tar ]; then \
tar -xf /build/image/opt/spectrocloud/local-ui.tar -C /build/image/opt/spectrocloud && \
rm -f /build/image/opt/spectrocloud/local-ui.tar; \
fi

IF [ "$ARCH" = "arm64" ]
Expand Down