Skip to content

Commit

Permalink
chore(CI): Replace CentOS 8 CI with AlmaLinux
Browse files Browse the repository at this point in the history
CentOS is EOL, and AlmaLinux seems like the closest successor
  • Loading branch information
anthonybilinski committed Feb 8, 2022
1 parent 65c42eb commit 90484a1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
name: "Build docker image"
with:
docker_image_name: debian_old
build-centos-docker:
name: Build centos docker image
build-almalinux-docker:
name: Build almalinux docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/build-docker-image
name: "Build docker image"
with:
docker_image_name: centos
docker_image_name: almalinux
build-fedora-docker:
name: Build fedora docker image
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,10 +90,10 @@ jobs:
name: "Build docker image"
with:
docker_image_name: windows_builder.i686
build-centos:
name: Centos
build-almalinux:
name: Almalinux
runs-on: ubuntu-latest
needs: build-centos-docker
needs: build-almalinux-docker
strategy:
matrix:
features: [full, minimal]
Expand All @@ -103,9 +103,9 @@ jobs:
- uses: ./.github/actions/load-docker-image
name: Load docker image
with:
docker_image_name: centos
docker_image_name: almalinux
- name: Run build
run: docker compose run --rm centos ./.travis/build-qtox-linux.sh --build-type ${{ matrix.build_type }} --${{ matrix.features }}
run: docker compose run --rm almalinux ./.travis/build-qtox-linux.sh --build-type ${{ matrix.build_type }} --${{ matrix.features }}
build-fedora:
name: Fedora
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

FROM centos:latest
FROM almalinux:latest

RUN dnf --nodocs -y install dnf-plugins-core && \
dnf config-manager --set-enabled powertools && \
dnf --nodocs -y install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %almalinux).noarch.rpm && \
dnf --nodocs -y install epel-release && \
dnf --nodocs -y install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm && \
dnf --nodocs -y install \
cmake \
make \
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ services:
context: ./buildscripts
dockerfile: docker/Dockerfile.flatpak_builder
<<: *shared_params
centos:
image: qtox_centos:latest
almalinux:
image: qtox_almalinux:latest
build:
context: ./buildscripts
dockerfile: docker/Dockerfile.centos
dockerfile: docker/Dockerfile.almalinux
<<: *shared_params
fedora:
image: qtox_fedora:latest
Expand Down

0 comments on commit 90484a1

Please sign in to comment.