Skip to content

Commit

Permalink
tmp commit to check docker installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-ctds committed Nov 7, 2024
1 parent a1cf282 commit ff84acc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 11 additions & 2 deletions .github/actions/tune-runner-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,18 @@ runs:
# enable docker experimental mode which is
# required for using "docker build --squash" / "-Ddocker.squash=true"
daemon_json="$(sudo cat /etc/docker/daemon.json | jq '.experimental = true')"
echo "$daemon_json" | sudo tee /etc/docker/daemon.json
echo "docker edit"
touch ~/daemon.json
dockerd --config-file ~/daemon.json
cat ~/daemon.json
daemon_json="$(sudo cat ~/daemon.json | jq '.experimental = true')"
echo "$daemon_json" | sudo tee ~/daemon.json
# restart docker daemon
# sudo groupadd docker
# sudo gpasswd -a $(whoami) docker
# systemctl --user start docker
# systemctl --user enable docker
# sudo loginctl enable-linger $(whoami)
sudo systemctl restart docker
echo '::endgroup::'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: setup Docker
uses: docker/setup-buildx-action@v3
with:
docker_channel: stable
- name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v3

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand Down

0 comments on commit ff84acc

Please sign in to comment.