You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/25 14:32:20 UTC
[GitHub] [pulsar] merlimat opened a new pull request #7358: Use consistent command in CI disk clean task
merlimat opened a new pull request #7358:
URL: https://github.com/apache/pulsar/pull/7358
### Motivation
In the github actions we have 2 different sets of commands to clean the disks at the beginning of the job:
`sudo swapoff /swapfile` and `sudo swapoff -a`
The ones with `sudo swapoff /swapfile` are failing, so changing it to use the other form.
* https://github.com/apache/pulsar/pull/7356/checks?check_run_id=806117815
```
Run sudo swapoff /swapfile
sudo swapoff /swapfile
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
df -h
shell: /bin/bash -e {0}
env:
JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.252/x64
JAVA_HOME_8.0.252_x64: /opt/hostedtoolcache/jdk/8.0.252/x64
swapoff: /swapfile: swapoff failed: No such file or directory
##[error]Process completed with exit code 255.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] jerrypeng merged pull request #7358: Use consistent command in CI disk clean task
Posted by GitBox <gi...@apache.org>.
jerrypeng merged pull request #7358:
URL: https://github.com/apache/pulsar/pull/7358
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org