-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating ubuntu version to 24.04 for docker compat test
Signed-off-by: Shubharanshu Mahapatra <[email protected]>
- Loading branch information
1 parent
7cab42c
commit 40047c6
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,7 +258,7 @@ jobs: | |
run: GO_VERSION="$(echo ${{ matrix.go-version }} | sed -e s/.x//)" make artifacts | ||
|
||
test-integration-docker-compatibility: | ||
runs-on: ubuntu-22.04 # TODO: ubuntu-24.04 | ||
runs-on: ubuntu-24.04 | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -276,9 +276,6 @@ jobs: | |
sudo apt-get remove docker-* containerd.io | ||
# Enable BuildKit explicitly | ||
sudo apt-get install -y moreutils | ||
cat /etc/docker/daemon.json | ||
jq '.features.buildkit = true' </etc/docker/daemon.json | sudo sponge /etc/docker/daemon.json | ||
cat /etc/docker/daemon.json | ||
# Download Docker packages | ||
curl -OSL https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64/containerd.io_1.6.33-1_amd64.deb | ||
curl -OSL https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64/docker-ce_24.0.9-1~ubuntu.22.04~jammy_amd64.deb | ||
|
@@ -288,6 +285,11 @@ jobs: | |
# Install Docker | ||
sudo apt-get install -y ./*.deb | ||
rm -f ./*.deb | ||
# Enable Buildkit | ||
cat /etc/docker/daemon.json | ||
jq '.features.buildkit = true' </etc/docker/daemon.json | sudo sponge /etc/docker/daemon.json | ||
cat /etc/docker/daemon.json | ||
sudo systemctl restart docker | ||
# Print docker info | ||
docker info | ||
docker version | ||
|