Commit 74d59338 authored by Manuel Moos's avatar Manuel Moos
Browse files

Switch to dynamically using the latest images for testing

instead of hardcoding the last known values.
Have them pulled each time so we don't get stuck by accident.
(We can always freeze the version if we can no longer support true latest)
parent 59acd5ce
Pipeline #408675591 passed with stages
in 27 minutes and 9 seconds
......@@ -423,6 +423,9 @@ test.appimage_server_64_ubuntu_oldest: upload/$(APPIMAGE_SERVER_64)
test.appimage_client_64_ubuntu_latest: upload/$(APPIMAGE_CLIENT_64)
test.appimage_client_64_ubuntu_oldest: upload/$(APPIMAGE_CLIENT_64)
test.appimage_server_64_ubuntu_rolling: upload/$(APPIMAGE_SERVER_64)
test.appimage_client_64_ubuntu_rolling: upload/$(APPIMAGE_CLIENT_64)
test.appimage_client_64_ubuntu_latest_skewed: upload/$(APPIMAGE_CLIENT_64)
test.appimage_client_64_ubuntu_oldest_skewed: upload/$(APPIMAGE_CLIENT_64)
......@@ -447,7 +450,7 @@ test.%: context/tests/Dockerfile.%
cp $^ $@.dir
cd $@.dir; docker rmi $*:last || true
cd $@.dir; docker tag $*:latest $*:last || true
cd $@.dir; docker build . -f Dockerfile.* -t $*:latest
cd $@.dir; docker build . -f Dockerfile.* --pull -t $*:latest
cd $@.dir; docker rmi $*:last || true
echo > $@
......@@ -458,6 +461,8 @@ appimagetests.tag: \
test.appimage_client_64_ubuntu_oldest \
test.appimage_client_64_ubuntu_latest_skewed \
test.appimage_client_64_ubuntu_oldest_skewed \
test.appimage_server_64_ubuntu_rolling \
test.appimage_client_64_ubuntu_rolling \
test.appimage_server_64_fedora_latest \
test.appimage_server_64_fedora_oldest \
test.appimage_client_64_fedora_latest \
......
FROM i386/debian:10
FROM i386/debian:latest
RUN apt-get -y update && apt-get install \
mesa-utils \
......
FROM centos:8
FROM centos:latest
RUN yum -y install mesa-libGL && yum clean all
......
FROM fedora:32
FROM fedora:latest
RUN yum -y install mesa-libGL && yum clean all
......
FROM ubuntu:20.04
FROM ubuntu:latest
# latest = latest LTS
RUN apt-get -y update && apt-get install \
mesa-utils \
......
FROM ubuntu:20.04
FROM ubuntu:latest
# latest = latest LTS
# skewed installation: add some of our dependencies, most indirect ones
RUN apt-get -y update && apt-get install \
......
FROM ubuntu:rolling
# rolling = most recent
RUN apt-get -y update && apt-get install \
mesa-utils \
-y
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
RUN LD_DEBUG_APP=true ./*.AppImage --appimage-extract-and-run --version
FROM i386/debian:10
FROM i386/debian:latest
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
......
FROM centos:8
FROM centos:latest
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
......
FROM fedora:32
FROM fedora:latest
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
......
FROM ubuntu:20.04
FROM ubuntu:latest
# latest = latest LTS
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
......
FROM ubuntu:rolling
# rolling = most recent
COPY *.AppImage .
RUN ./*.AppImage --appimage-extract-and-run --version
RUN LD_DEBUG_APP=true ./*.AppImage --appimage-extract-and-run --version
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment