Merge pull request #12975 from rook/mergify/bp/release-1.12/pr-12971
ci: remove workaround for clean disk action (backport #12971)
This commit is contained in:
3 files changed
-32
No files matched your search
@@ -8,18 +8,12 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: manually remove gcloud
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh remove_gcloud_in_runner
|
||||
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
# this might remove tools that are actually needed,
|
||||
# if set to "true" but frees about 6 GB
|
||||
tool-cache: true
|
||||
large-packages: false
|
||||
|
||||
- name: setup golang
|
||||
uses: actions/setup-go@v2
|
||||
|
||||
@@ -11,18 +11,12 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: manually remove gcloud
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh remove_gcloud_in_runner
|
||||
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
# this might remove tools that are actually needed,
|
||||
# if set to "true" but frees about 6 GB
|
||||
tool-cache: true
|
||||
large-packages: false
|
||||
|
||||
- name: setup golang
|
||||
uses: actions/setup-go@v2
|
||||
|
||||
@@ -679,26 +679,6 @@ function test_csi_nfs_workload {
|
||||
kubectl exec -t pod/csinfs-demo-pod -- ls -alh /var/lib/www/html/
|
||||
}
|
||||
|
||||
function remove_gcloud_in_runner() {
|
||||
gcloud_sdk_root=$(gcloud info --format='value(installation.sdk_root)')
|
||||
gcloud_global_config=$(gcloud info --format='value(config.paths.global_config_dir)')
|
||||
|
||||
echo "will remove directory : $gcloud_sdk_root"
|
||||
echo "will remove directory : $gcloud_global_config"
|
||||
|
||||
sudo rm -fr "$gcloud_sdk_root"
|
||||
sudo rm -fr "$gcloud_global_config"
|
||||
|
||||
sudo apt-get remove -y '^dotnet-.*'
|
||||
sudo apt-get remove -y '^llvm-.*'
|
||||
sudo apt-get remove -y 'php.*'
|
||||
sudo apt-get remove -y '^mongodb-.*'
|
||||
sudo apt-get remove -y '^mysql-.*'
|
||||
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
|
||||
sudo apt-get autoremove -y
|
||||
sudo apt-get clean
|
||||
}
|
||||
|
||||
function install_minikube_with_none_driver() {
|
||||
CRICTL_VERSION="v1.28.0"
|
||||
MINIKUBE_VERSION="v1.31.2"
|
||||
|
||||
Reference in new issue
Block a user