aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2024-06-19 11:18:09 -0400
committerBrian P. Hinz <bphinz@users.sf.net>2024-06-19 11:18:09 -0400
commit792c4a09618a48fef0a8a778de543d9eb5cadcbd (patch)
tree72ab839d02256cc1f3df558482a925f404a4ddce /.github
parentdedf58757dcd7ed627bf79d46d08368605939f2d (diff)
downloadtigervnc-792c4a09618a48fef0a8a778de543d9eb5cadcbd.tar.gz
tigervnc-792c4a09618a48fef0a8a778de543d9eb5cadcbd.zip
Remove support for EoL operating systems
Diffstat (limited to '.github')
-rw-r--r--.github/containers/bionic/Dockerfile13
-rwxr-xr-x.github/containers/bionic/build.sh59
-rw-r--r--.github/containers/centos7/Dockerfile13
-rwxr-xr-x.github/containers/centos7/build.sh45
-rw-r--r--.github/workflows/build.yml2
5 files changed, 0 insertions, 132 deletions
diff --git a/.github/containers/bionic/Dockerfile b/.github/containers/bionic/Dockerfile
deleted file mode 100644
index b3908371..00000000
--- a/.github/containers/bionic/Dockerfile
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM ubuntu:bionic
-
-ARG DEBIAN_FRONTEND=noninteractive
-
-RUN apt-get update
-RUN apt-get -y install packaging-dev equivs
-
-RUN useradd -s /bin/bash -m deb
-RUN echo >> /etc/sudoers
-RUN echo "deb ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
-
-USER deb
-WORKDIR /home/deb
diff --git a/.github/containers/bionic/build.sh b/.github/containers/bionic/build.sh
deleted file mode 100755
index 63dcf9b7..00000000
--- a/.github/containers/bionic/build.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-## Basic variables
-
-CURDIR=$(dirname $(readlink -f $0))
-TOPDIR=$(git rev-parse --show-toplevel 2>/dev/null)
-
-DEBDIR=${TOPDIR}/contrib/packages/deb/ubuntu-bionic
-
-VERSION=$(grep '^set(VERSION ' ${TOPDIR}/CMakeLists.txt | sed 's@^set(VERSION \(.*\))@\1@')
-
-## Prepare the build directory
-
-rm -rf ${CURDIR}/build
-mkdir -p ${CURDIR}/build
-chmod a+w ${CURDIR}/build
-[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && chcon -Rt container_file_t ${CURDIR}/build
-
-## Copy over the source code
-
-(cd ${TOPDIR} && git archive --prefix tigervnc-${VERSION}/ HEAD) | xz > ${CURDIR}/build/tigervnc_${VERSION}.orig.tar.xz
-
-## Copy over the packaging files
-
-cp -r ${DEBDIR}/debian ${CURDIR}/build/debian
-
-chmod a+x ${CURDIR}/build/debian/rules
-
-# Assemble a fake changelog entry to get the correct version
-
-cat - > ${CURDIR}/build/debian/changelog << EOT
-tigervnc (${VERSION}-1ubuntu1) UNRELEASED; urgency=low
-
- * Automated build for TigerVNC
-
- -- Build bot <tigervncbot@tigervnc.org> $(date -R)
-
-EOT
-cat ${DEBDIR}/debian/changelog >> ${CURDIR}/build/debian/changelog
-
-## Start the build
-
-docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \
- bash -e -x -c "
- tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz
- cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian
- sudo apt-get update
- mk-build-deps ~/build/tigervnc-${VERSION}/debian/control
- sudo DEBIAN_FRONTEND=noninteractive \
- apt-get install -y ~/tigervnc-build-deps_*.deb
- cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage
- "
-
-mkdir -p ${CURDIR}/result
-cp -av ${CURDIR}/build/*.deb ${CURDIR}/result
-cp -av ${CURDIR}/build/*.ddeb ${CURDIR}/result
diff --git a/.github/containers/centos7/Dockerfile b/.github/containers/centos7/Dockerfile
deleted file mode 100644
index c27717ec..00000000
--- a/.github/containers/centos7/Dockerfile
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM centos:7
-
-RUN yum -y groupinstall 'Development Tools'
-RUN yum -y install centos-packager
-RUN yum -y install sudo
-RUN yum -y install epel-release
-
-RUN useradd -s /bin/bash -m rpm
-RUN echo >> /etc/sudoers
-RUN echo "rpm ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
-
-USER rpm
-WORKDIR /home/rpm
diff --git a/.github/containers/centos7/build.sh b/.github/containers/centos7/build.sh
deleted file mode 100755
index bc4f3828..00000000
--- a/.github/containers/centos7/build.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-## Basic variables
-
-CURDIR=$(dirname $(readlink -f $0))
-TOPDIR=$(git rev-parse --show-toplevel 2>/dev/null)
-
-RPMDIR=${TOPDIR}/contrib/packages/rpm/el7
-
-VERSION=$(grep '^set(VERSION ' ${TOPDIR}/CMakeLists.txt | sed 's@^set(VERSION \(.*\))@\1@')
-
-## Prepare the build directory
-
-rm -rf ${CURDIR}/rpmbuild
-mkdir -p ${CURDIR}/rpmbuild/{BUILD,BUILDROOT,SRPMS,SOURCES,SPECS,RPMS}
-chmod a+w ${CURDIR}/rpmbuild/{BUILD,BUILDROOT,SRPMS,RPMS}
-[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && chcon -Rt container_file_t ${CURDIR}/rpmbuild
-
-## Copy over the packaging files
-
-cp ${RPMDIR}/SOURCES/* ${CURDIR}/rpmbuild/SOURCES
-cp ${RPMDIR}/SPECS/tigervnc.spec ${CURDIR}/rpmbuild/SPECS
-sed -i "s/@VERSION@/${VERSION}/" ${CURDIR}/rpmbuild/SPECS/tigervnc.spec
-
-## Copy over the source code
-
-(cd ${TOPDIR} && git archive --prefix tigervnc-${VERSION}/ HEAD) | bzip2 > ${CURDIR}/rpmbuild/SOURCES/tigervnc-${VERSION}.tar.bz2
-
-## Start the build
-
-docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \
- bash -e -x -c "
- sudo yum install -y xorg-x11-server-devel
- sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec
- sudo chown 0.0 ~/rpmbuild/SOURCES/*
- sudo chown 0.0 ~/rpmbuild/SPECS/*
- rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec
- "
-
-mkdir -p ${CURDIR}/result
-cp -av ${CURDIR}/rpmbuild/RPMS ${CURDIR}/result
-cp -av ${CURDIR}/rpmbuild/SRPMS ${CURDIR}/result
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fd2ccaa9..c23cada9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -111,10 +111,8 @@ jobs:
strategy:
matrix:
target:
- - centos7
- rocky8
- rocky9
- - bionic
- focal
- jammy
- noble