Skip to content

Commit

Permalink
fix amd64 debian pkg build/test
Browse files Browse the repository at this point in the history
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
  • Loading branch information
thehajime committed Jul 22, 2024
1 parent 61ae5c5 commit d08a1db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion pkg/pre-deploy-test-deb.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d08a1db

Please sign in to comment.