From 1f7e8ce5a2545be1186dda7f1fb1f5dc79b7c3e8 Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Mon, 22 Jul 2024 23:09:02 +0900 Subject: [PATCH] fix amd64 debian pkg build/test Signed-off-by: Hajime Tazaki --- .github/workflows/ci.yml | 2 +- pkg/pre-deploy-test-deb.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07ed950..6227432 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -290,7 +290,7 @@ jobs: PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} DISTRO_LIST: "ubuntu/focal ubuntu/jammy ubuntu/noble" - name: Test Released Debian package - if: runner.os == 'linux' && matrix.arch == 'amd64' + if: runner.os == 'linux' && matrix.arch == 'amd64' && gitHub.event_name == 'release' run: | sudo apt-get remove docker-runu #set -x diff --git a/pkg/pre-deploy-test-deb.sh b/pkg/pre-deploy-test-deb.sh index f39e7a2..003b16a 100644 --- a/pkg/pre-deploy-test-deb.sh +++ b/pkg/pre-deploy-test-deb.sh @@ -1,6 +1,7 @@ #!/bin/sh sudo apt-get install ./$PACKAGE_FILENAME -DOCKER_RUN_ARGS="run --rm -i -e RUMP_VERBOSE=1 -e DEBUG=1 --runtime=runu-dev --net=none $DOCKER_RUN_ARGS_ARCH" +sudo cat /etc/docker/daemon.json +DOCKER_RUN_ARGS="run --rm -i -e RUMP_VERBOSE=1 -e DEBUG=1 --runtime=runu --net=none $DOCKER_RUN_ARGS_ARCH" docker $DOCKER_RUN_ARGS $DOCKER_RUN_EXT_ARGS alpine uname -a