From d08a1db4da2b9c4ef9585713db43eae1e33bd77d Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Mon, 22 Jul 2024 23:18:04 +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 | 4 +++- 2 files changed, 4 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..1e307a3 100644 --- a/pkg/pre-deploy-test-deb.sh +++ b/pkg/pre-deploy-test-deb.sh @@ -1,6 +1,8 @@ #!/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 systemctl restart docker +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