Skip to content

Commit

Permalink
Move CI from old Ubuntu images to Debian
Browse files Browse the repository at this point in the history
Aktualizr CI builds are running on a very old version of Ubuntu. Bionic
was released in April 2018 and ended support May 2023. Xenial was
released in April 2016 and while it does have 10 years of support until
2026 it is stil ancient.

Instead use Debian (old)stable for the main test image. At the moment
we don't build cleanly on Debian Stable (Bookworm). I've got a set of
changes locally to fix that, but the first job is to get the CI clean,
then we can look at moving it forward.

Finally, this nukes the old codecov stuff. No-one ever looked at those
results, and if we want something that is low-cost to maintain we need
to simplify where possible.
  • Loading branch information
cajun-rat committed Jul 24, 2024
1 parent f88fb5f commit e2490a6
Show file tree
Hide file tree
Showing 14 changed files with 71 additions and 783 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
jobs:
coverage:
name: Coverage on Ubuntu Bionic
name: Build and Test on Debian Bullseye
runs-on: ubuntu-latest
env:
DOCKER_TAG: docker.pkg.github.com/uptane/aktualizr/aktualizr-ci:bionic-master
DOCKERFILE: docker/Dockerfile.ubuntu.bionic
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DOCKER_TAG: docker.pkg.github.com/uptane/aktualizr/aktualizr-ci:bullseye-master
DOCKERFILE: docker/Dockerfile.debian.bullseye
DARGS: >-
-eCCACHE_DIR
-eCODECOV_TOKEN
-eTEST_CMAKE_BUILD_TYPE=Valgrind
-eTEST_WITH_COVERAGE=1
-eTEST_WITH_P11=1
-eTEST_WITH_FAULT_INJECTION=1
-eTEST_TESTSUITE_EXCLUDE=credentials
Expand All @@ -38,10 +35,10 @@ jobs:
- uses: actions/cache@v1.1.0
with:
path: ${{ github.workspace }}/.ccache
key: ubuntu-bionic-${{ github.run_id }}
key: debian-bullseye-${{ github.run_id }}
restore-keys: |
ubuntu-bionic-${{ github.run_id }}
ubuntu-bionic-
debian-bullseye-${{ github.run_id }}
debian-bullseye-
- name: Test
run: docker run -v "$PWD:$PWD" -w "$PWD" $DARGS -t "$DOCKER_TAG" ./scripts/test.sh

Expand Down
Loading

0 comments on commit e2490a6

Please sign in to comment.