Skip to content

Commit

Permalink
fix docker configuration in GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-ctds committed Nov 7, 2024
1 parent a1cf282 commit 6717cc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .github/actions/tune-runner-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ runs:
# stop Azure Linux agent to save RAM
sudo systemctl stop walinuxagent.service || true
# 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
# restart docker daemon
sudo systemctl restart docker
echo '::endgroup::'
# show memory
echo "::group::Available Memory"
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ 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
with:
daemon-config: |
{
"debug": true,
"experimental": true
}
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand Down

0 comments on commit 6717cc2

Please sign in to comment.