File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
cookbooks/aws-parallelcluster-awsbatch/recipes Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 38
38
fail-fast : false
39
39
steps :
40
40
- uses : actions/checkout@main
41
+ - name : Free disk space
42
+ id : free-disk-space
43
+ run : |
44
+ df -h /
45
+ echo "Removing tool cache"
46
+ # Ref https://github.com/orgs/community/discussions/25678
47
+ sudo rm -rf /opt/hostedtoolcache
48
+ echo "Removing docker images"
49
+ sudo docker image prune --all --force || true
50
+ echo "Removing large packages"
51
+ # Ref https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
52
+ sudo apt-get remove -y '^aspnetcore-.*'
53
+ sudo apt-get remove -y '^dotnet-.*' --fix-missing
54
+ sudo apt-get remove -y 'php.*' --fix-missing
55
+ sudo apt-get remove -y '^mongodb-.*' --fix-missing
56
+ sudo apt-get remove -y '^mysql-.*' --fix-missing
57
+ sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing
58
+ sudo apt-get autoremove -y
59
+ sudo apt-get clean
60
+ echo "Removing large directories"
61
+ rm -rf /usr/share/dotnet/
62
+ df -h /
41
63
- name : Get changed files
42
64
id : changed-files-excluding-tests
43
65
uses :
tj-actions/[email protected]
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
#
4
- # Cookbook:: aws-parallelcluster
5
4
# Recipe:: aws_batch
6
5
#
7
- # Copyright:: 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6
+ # Copyright:: 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
8
7
#
9
8
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the
10
9
# License. A copy of the License is located at
You can’t perform that action at this time.
0 commit comments