Skip to content

Commit

Permalink
Merge pull request #233 from yuravk/master
Browse files Browse the repository at this point in the history
CI: Use ubuntu-24.04 runner instead of ubuntu-latest
  • Loading branch information
andrewlukoshko authored Dec 10, 2024
2 parents d19b075 + 95ba696 commit cbdc301
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# for more options https://github.com/marketplace/actions/shellcheck
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
Expand All @@ -30,7 +30,7 @@ jobs:
# Run bats tests for almalinux-deploy.sh script
bats:
name: Bats testing
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Setup Bats
run: sudo apt-get install bats
Expand All @@ -43,7 +43,7 @@ jobs:
Check:
# Do not run on push event
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
max-parallel: 4 # number of jobs that can run simultaneously
fail-fast: false # continue other jobs if some of them fail
Expand Down Expand Up @@ -147,9 +147,11 @@ jobs:
- name: Enable containerd image store on Docker Engine
run: |
# Use containerd image store
sudo jq '.features |= . + { "containerd-snapshotter": true }' /etc/docker/daemon.json > ./daemon.json.${{ env.date_stamp }} && \
sudo mv -f ./daemon.json.${{ env.date_stamp }} /etc/docker/daemon.json
# JQ file to switch into containerd image store
cat << EOF > containerd-snapshotter.jq
.features |= . + { "containerd-snapshotter": true }
EOF
sudo sh -c 'jq -n -f containerd-snapshotter.jq > /etc/docker/daemon.json'
sudo systemctl restart docker
docker info -f '{{ .DriverStatus }}'
Expand Down

0 comments on commit cbdc301

Please sign in to comment.