File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
.github/actions/common_setup Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 2828 run : |
2929 # to remove every leftovers
3030 sudo rm -fr "$TEMP_PATH" && mkdir -p "$TEMP_PATH"
31- # https://github.com/google/sanitizers/issues/856
32- - name : Tune vm.mmap_rnd_bits for sanitizers
33- shell : bash
34- run : |
35- sudo sysctl vm.mmap_rnd_bits
36- sudo sysctl vm.mmap_rnd_bits=28
37- - name : Tune kernel.task_delayacct=1 for OSIOWaitMicroseconds
38- shell : bash
39- run : |
40- sudo sysctl kernel.task_delayacct
41- sudo sysctl kernel.task_delayacct=1
42- - name : Avoid relying on internal AWS DNS
43- shell : bash
44- run : |
45- fqdn=$(hostname --fqdn)
46- echo "Current FQDN: $fqdn"
47- echo "127.0.0.1 $fqdn" | sudo tee -a /etc/hosts
48- resolvectl flush-caches
49- resolvectl query "$fqdn"
50- # Sometimes it tries to resolve the address using NSes:
51- #
52- # ip-172-31-33-98.ec2.internal has address 127.0.0.1
53- # Host ip-172-31-33-98.ec2.internal not found: 3(NXDOMAIN)
54- #
55- # So let's ignore the error
56- host "$fqdn" || true
You can’t perform that action at this time.
0 commit comments