Skip to content

Commit

Permalink
fixup! test: support testing multiple container engine backends
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Nov 24, 2024
1 parent c576b86 commit 78f5e03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
19 changes: 0 additions & 19 deletions test-images/debian-systemd-docker-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,3 @@ RUN apt-get update \
&& tedge config unset c8y.proxy.client.host \
&& tedge config unset mqtt.client.host \
&& tedge config unset http.client.host

#
# Copy artifacts used to test against
#
COPY output/*.apk /tmp/
RUN case ${TARGETPLATFORM} in \
"linux/386") PKG_ARCH=linux_386 ;; \
"linux/amd64") PKG_ARCH=linux_amd64 ;; \
"linux/arm64") PKG_ARCH=linux_arm64 ;; \
"linux/arm/v6") PKG_ARCH=linux_armv6 ;; \
"linux/arm/v7") PKG_ARCH=linux_armv7 ;; \
*) echo "Unsupported target platform: TARGETPLATFORM=$TARGETPLATFORM"; exit 1 ;; \
esac \
&& mkdir -p /build \
&& cp /tmp/*${PKG_ARCH}*.apk /build/ \
&& rm -f /tmp/*.apk

# Script is called on test setup
COPY ./test-images/common/container-bundle.sh /usr/bin/
19 changes: 0 additions & 19 deletions test-images/debian-systemd-podman-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,3 @@ ARG TARGETPLATFORM
RUN tedge config unset c8y.proxy.client.host \
&& tedge config unset mqtt.client.host \
&& tedge config unset http.client.host

#
# Copy artifacts used to test against
#
COPY output/*.apk /tmp/
RUN case ${TARGETPLATFORM} in \
"linux/386") PKG_ARCH=linux_386 ;; \
"linux/amd64") PKG_ARCH=linux_amd64 ;; \
"linux/arm64") PKG_ARCH=linux_arm64 ;; \
"linux/arm/v6") PKG_ARCH=linux_armv6 ;; \
"linux/arm/v7") PKG_ARCH=linux_armv7 ;; \
*) echo "Unsupported target platform: TARGETPLATFORM=$TARGETPLATFORM"; exit 1 ;; \
esac \
&& mkdir -p /build \
&& cp /tmp/*${PKG_ARCH}*.apk /build/ \
&& rm -f /tmp/*.apk

# Script is called on test setup
COPY ./test-images/common/container-bundle.sh /usr/bin/

0 comments on commit 78f5e03

Please sign in to comment.